From 3bb66909e2bc453626bb5667858c62e83a1bf409 Mon Sep 17 00:00:00 2001 From: phixxy Date: Tue, 9 Jan 2024 12:12:05 -0800 Subject: [PATCH] made max level for pokemon buddy level 100 --- sparkytron3000.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index 8dc4eee..367e1f4 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -1723,7 +1723,7 @@ async def pokemon(ctx, arg1=None, arg2=None, arg3=None, arg4=None): async def calc_pkmn_buddy_level(pkmn_json): #this uses the 'fast' xp rate buddy_xp = pkmn_json['buddy_xp'] - return math.floor(((5*buddy_xp)/4)**(1/3)) + return min(math.floor(((5*buddy_xp)/4)**(1/3)),100) async def make_pmkn_embed(pkmn_dict): if pkmn_dict['nickname']: