mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
More Rubocop changes
This commit is contained in:
@@ -1748,7 +1748,7 @@ class Battle::AI
|
||||
score -= 40
|
||||
if skill >= PBTrainerAI.highSkill
|
||||
score -= 100 if !target.lastRegularMoveUsed ||
|
||||
!GameData::Move.get(target.lastRegularMoveUsed).flags.any? { |f| f[/^CanMirrorMove$/i] }
|
||||
GameData::Move.get(target.lastRegularMoveUsed).flags.none? { |f| f[/^CanMirrorMove$/i] }
|
||||
end
|
||||
#---------------------------------------------------------------------------
|
||||
when "UseLastMoveUsed"
|
||||
|
||||
Reference in New Issue
Block a user