made max level for pokemon buddy level 100
This commit is contained in:
parent
906e58bdb5
commit
3bb66909e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue