mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Merge pull request #100 from KamilaBorowska/fix-aromatherapy-bug
Make Aromatherapy work when user is not statused
This commit is contained in:
@@ -394,12 +394,10 @@ class PokeBattle_Move_019 < PokeBattle_Move
|
|||||||
failed = false
|
failed = false
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
if !failed
|
@battle.pbParty(user.index).each do |pkmn|
|
||||||
@battle.pbParty(user.index).each do |pkmn|
|
next if !pkmn || !pkmn.able? || pkmn.status == :NONE
|
||||||
next if !pkmn || !pkmn.able? || pkmn.status == :NONE
|
failed = false
|
||||||
failed = false
|
break
|
||||||
break
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
if failed
|
if failed
|
||||||
@battle.pbDisplay(_INTL("But it failed!"))
|
@battle.pbDisplay(_INTL("But it failed!"))
|
||||||
|
|||||||
Reference in New Issue
Block a user