rankup work in progress

This commit is contained in:
Pawel Orzech 2019-08-07 22:29:16 +01:00
parent 0ac56cf32a
commit d5e5c40934
4 changed files with 15 additions and 9 deletions

View file

@ -25,12 +25,12 @@ Just grab a copy of master repo and go on.
Feel free to add feature requests. I'm gonna try and add as much as I can with my spare time. Bot already can do pretty much anything.
- Sell only Hercules
- *Hercule Punch*
- **Hercule Punch - done**
- SBR,
- RankUp,
- Transfer but better,
- *BossRush*
- *EzaPLUS (up to 50lvl)* - done
- **BossRush - done**
- **EzaPLUS (up to 50lvl) - done**
# Installation

Binary file not shown.

View file

@ -2015,10 +2015,17 @@ def rank_up():
else:
url = 'http://ishin-production.aktsk.jp/user'
r = requests.get(url, headers=headers)
user = r.json()
current_rank = r.json()['user']['rank']
print('Your current rank is: ' +str(current_rank))
goal_rank = int(input('What rank would you like to achieve? \n'))
print('Ok, farming till rank: ' +(goal_rank))
levels_to_farm = (goal_rank) - (current_rank)
print('Levels to farm: ' +str(levels_to_farm))
print('Your current rank is: ' + str(user['user']['rank']))
print('What rank would you like to achieve?')
####################################################################
@ -2650,8 +2657,8 @@ def user_command_executor(command):
medal_calculator()
elif command == 'ezaplus':
complete_unfinished_zbattles_plus()
elif command == 'rankup':
rank_up()
# elif command == 'rankup':
# rank_up()
elif command == 'lrpan':
lr_pan()
elif command == 'bossrush':

View file

@ -21,7 +21,6 @@ To stop a command from executing, hold ctrl + c
'info' -> Print out account information.
'medalcal' -> Does free LR's
'bossrush' -> Does Boss Rush
'rankup' -> Farms to get your rank up
'lrpan' -> Farms LR Pan level
'punchmachine' -> Does Punch Machine
'items' -> Provides a GUI to view user items.