manny405 / sapai

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

#53 #54 #55 #59 and added an unfreeze function to player #61

Closed jimkaal closed 2 years ago

jimkaal commented 2 years ago

53

TransferStats looked for "percentage" in effects["to"], it's actually in effects itself effect["from"]["kind"] is not a boolean it was trying to write on pet.attack instead of pet._attack Also added a Crab test, since it was related and wanted to make sure that still worked.

54 + #59

Added cost to the food items from data.py (default 3 if missing) On init ShopSlot, made sure if Food/ShopSlot/str is entered it takes the correct cost of the food item. On Roll, every non-frozen item now takes the cost from the new food item.

Added the missing unfreeze function in player

jimkaal commented 2 years ago

55

added references to shop's levelup() when pets level up added tests from combining pets and from a pet's ability