mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Rewrote AI calculations for moves that inflict a status problem
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user