manny405 / sapai

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

Caterpillar -> Butterfly not working #46

Closed jimkaal closed 2 years ago

jimkaal commented 2 years ago

lvl 3 should be StartOfBattle (i think?) instead of StartOfTurn but when i quickly change that in data.py, it's not recognized:

    def test_caterpillar_evolve(self):
        caterpillar = Pet("caterpillar", shop=Shop(), team=Team(), player=Player())
        caterpillar.level = 3
        print(caterpillar.ability)
        activated_bool, targets, possible = caterpillar.sob_trigger(Team([Pet("fish")]))
        print(activated_bool)
sapai-main\sapai\effects.py", line 139, in get_target
    raise Exception("Target not found")
Exception: Target not found