You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enemy faints appear to be triggering the faint abilities of sharks and flies. Below test causes a zombie fly to spawn after enemy otter faints:
from sapai.pets import Pet
from sapai.teams import Team
from sapai.battle import Battle
team0 = Team(["fly"])
team1 = Team(["otter", "shark"])
battle = Battle(team0,team1)
winner = battle.battle()
for key, value in battle.battle_history.items():
print(f'{key}')
print(f'{value}')
print(winner)
This test causes an error as sharks try to apply feint triggers
from sapai.pets import Pet
from sapai.teams import Team
from sapai.battle import Battle
team0 = Team(["shark"])
team1 = Team(["shark"])
battle = Battle(team0,team1)
winner = battle.battle()
The text was updated successfully, but these errors were encountered:
Enemy faints appear to be triggering the faint abilities of sharks and flies. Below test causes a zombie fly to spawn after enemy otter faints:
This test causes an error as sharks try to apply feint triggers
The text was updated successfully, but these errors were encountered: