mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
More AI move effect calculation rewrites
This commit is contained in:
@@ -15,6 +15,7 @@ class Battle::Battler
|
||||
if amt > 0 && registerDamage
|
||||
@droppedBelowHalfHP = true if @hp < @totalhp / 2 && @hp + amt >= @totalhp / 2
|
||||
@tookDamageThisRound = true
|
||||
@tookMoveDamageThisRound = true
|
||||
end
|
||||
return amt
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user