mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Fixed various bugs found when generating Battle Frontier challenge lists
This commit is contained in:
@@ -346,7 +346,7 @@ class Battle
|
||||
count = 0
|
||||
eachInTeamFromBattlerIndex(idxBattler) do |pkmn, i|
|
||||
next if !pkmn || !pkmn.able?
|
||||
next if inBattleIndices.include?(idxParty)
|
||||
next if inBattleIndices.include?(i)
|
||||
count += 1
|
||||
end
|
||||
return count
|
||||
|
||||
Reference in New Issue
Block a user