-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
When the ox is placed behind an animal with faint abilities, such as an ant, only one of the faint abilities triggers.
def test_ox_after_ant(self):
test_team = Team([Pet("ant")], battle=True)
pet = Pet("ox", shop=Shop(), team=test_team.copy(), player=Player())
friend_ahead = pet.team.get_ahead(pet)[0]
te_idx = [0, pet.team.index(friend_ahead)]
activated_bool, targets, possible = pet.faint_trigger(friend_ahead, te_idx)
self.assertEqual(pet.team[1].attack, 5)
self.assertEqual(pet.team[1].health, 5)
self.assertEqual(pet.team[1].pet.status, "status-melon-armor")
Metadata
Metadata
Assignees
Labels
No labels