Writing moves.txt now calls power "Power" instead of "BaseDamage", other minor tidying

This commit is contained in:
Maruno17
2022-06-13 20:17:16 +01:00
parent aec0215442
commit 732c167ad5
4 changed files with 4 additions and 10 deletions

View File

@@ -195,7 +195,7 @@ module Compiler
f.write("Type = #{move.type}\r\n")
category = GameData::Move::SCHEMA["Category"][2][move.category]
f.write("Category = #{category}\r\n")
f.write("BaseDamage = #{move.base_damage}\r\n") if move.base_damage > 0
f.write("Power = #{move.base_damage}\r\n") if move.base_damage > 0
f.write("Accuracy = #{move.accuracy}\r\n")
f.write("TotalPP = #{move.total_pp}\r\n")
f.write("Target = #{move.target}\r\n")