manny405 / sapai

Super auto pets engine built with reinforment learning training in mind
MIT License
67 stars 21 forks source link

Zombie fly location #66

Closed jimkaal closed 2 years ago

jimkaal commented 2 years ago

Zombie fly spawns in front of fly, not at the fainted target location

    def test_zombie_fly_location(self):
        player = Player(shop=["sleeping-pill"], team=["fish", "fish", "fish", "fish", "fly"])
        player.buy_food(0, 0)
        print(player.team)
        self.assertEqual(player.team[0].pet.name, "zombie-fly")