Rewrote AI calculations for moves that inflict a status problem

This commit is contained in:
Maruno17
2022-10-04 21:25:58 +01:00
parent 63ec037481
commit 2897476d1b
7 changed files with 264 additions and 176 deletions

View File

@@ -206,6 +206,7 @@ class Battle::AI::AIBattler
end
else
@battler.pbTypes(true).each_with_index do |defend_type, i|
# TODO: Need to check the move's pbCalcTypeModSingle.
type_mults[i] = effectiveness_of_type_against_single_battler_type(type, defend_type, user)
end
end