added boss rush
This commit is contained in:
parent
08d3872257
commit
0ac56cf32a
3 changed files with 75 additions and 6 deletions
|
|
@ -25,11 +25,11 @@ 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.
|
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
|
- Sell only Hercules
|
||||||
- Hercule Punch
|
- *Hercule Punch*
|
||||||
- SBR,
|
- SBR,
|
||||||
- RankUp,
|
- RankUp,
|
||||||
- Transfer,
|
- Transfer but better,
|
||||||
- BossRush
|
- *BossRush*
|
||||||
- *EzaPLUS (up to 50lvl)* - done
|
- *EzaPLUS (up to 50lvl)* - done
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
|
||||||
68
commands.py
68
commands.py
|
|
@ -1963,6 +1963,66 @@ def increase_capacity():
|
||||||
print(Fore.GREEN + Style.BRIGHT + 'Card capacity +5')
|
print(Fore.GREEN + Style.BRIGHT + 'Card capacity +5')
|
||||||
####################################################################
|
####################################################################
|
||||||
|
|
||||||
|
def lr_pan():
|
||||||
|
#LR Pan event
|
||||||
|
# Even More Secret Adventures 177001 Difficulties: [1] AreaID: 177
|
||||||
|
print('Going to slay Pan event (LR)')
|
||||||
|
complete_stage('177001',1)
|
||||||
|
accept_gifts()
|
||||||
|
accept_missions()
|
||||||
|
|
||||||
|
####################################################################
|
||||||
|
def bossrush():
|
||||||
|
print('Attempting to do Boss Rush...')
|
||||||
|
complete_stage('701001',3)
|
||||||
|
complete_stage('701001',4)
|
||||||
|
complete_stage('701002',4)
|
||||||
|
complete_stage('701002',5)
|
||||||
|
complete_stage('701003',5)
|
||||||
|
complete_stage('701004',5)
|
||||||
|
complete_stage('701005',5)
|
||||||
|
complete_stage('701006',5)
|
||||||
|
complete_stage('701007',5)
|
||||||
|
print('Boss Rush - it is done.')
|
||||||
|
#Dokkan Event Boss Rush 1 701001 Difficulties: [3, 4] AreaID: 701
|
||||||
|
#Dokkan Event Boss Rush 2 701002 Difficulties: [4, 5] AreaID: 701
|
||||||
|
#Dokkan Event Boss Rush 3 701003 Difficulties: [5] AreaID: 701
|
||||||
|
#Dokkan Event Boss Rush 4 701004 Difficulties: [5] AreaID: 701
|
||||||
|
#Dokkan Event Boss Rush 5 701005 Difficulties: [5] AreaID: 701
|
||||||
|
#Dokkan Event Boss Rush 6 701006 Difficulties: [5] AreaID: 701
|
||||||
|
#Dokkan Event Boss Rush 7 701007 Difficulties: [5] AreaID: 701
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
####################################################################
|
||||||
|
|
||||||
|
def rank_up():
|
||||||
|
|
||||||
|
# ## Returns User Info, we will use rank later on
|
||||||
|
|
||||||
|
headers = {
|
||||||
|
'User-Agent': 'Mozilla/5.0 (Android 4.4; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0',
|
||||||
|
'Accept': '*/*',
|
||||||
|
'Authorization': packet.mac('GET', '/user'),
|
||||||
|
'Content-type': 'application/json',
|
||||||
|
'X-Platform': config.platform,
|
||||||
|
'X-AssetVersion': '////',
|
||||||
|
'X-DatabaseVersion': '////',
|
||||||
|
'X-ClientVersion': '////',
|
||||||
|
}
|
||||||
|
if config.client == 'global':
|
||||||
|
url = 'https://ishin-global.aktsk.com/user'
|
||||||
|
else:
|
||||||
|
url = 'http://ishin-production.aktsk.jp/user'
|
||||||
|
r = requests.get(url, headers=headers)
|
||||||
|
user = r.json()
|
||||||
|
|
||||||
|
print('Your current rank is: ' + str(user['user']['rank']))
|
||||||
|
print('What rank would you like to achieve?')
|
||||||
|
|
||||||
|
####################################################################
|
||||||
|
|
||||||
|
|
||||||
def get_user_info():
|
def get_user_info():
|
||||||
|
|
||||||
# ## Returns User dictionary and info
|
# ## Returns User dictionary and info
|
||||||
|
|
@ -2586,10 +2646,16 @@ def user_command_executor(command):
|
||||||
accept_missions()
|
accept_missions()
|
||||||
elif command == 'potara':
|
elif command == 'potara':
|
||||||
potara()
|
potara()
|
||||||
elif command =='medalcal': ##Source: https://github.com/mvxindra/Open-Source-Battle-Bot
|
elif command == 'medalcal': ##Source: https://github.com/mvxindra/Open-Source-Battle-Bot
|
||||||
medal_calculator()
|
medal_calculator()
|
||||||
elif command == 'ezaplus':
|
elif command == 'ezaplus':
|
||||||
complete_unfinished_zbattles_plus()
|
complete_unfinished_zbattles_plus()
|
||||||
|
elif command == 'rankup':
|
||||||
|
rank_up()
|
||||||
|
elif command == 'lrpan':
|
||||||
|
lr_pan()
|
||||||
|
elif command == 'bossrush':
|
||||||
|
bossrush()
|
||||||
elif command == 'omegafarm':
|
elif command == 'omegafarm':
|
||||||
print('This will do all daily, potential, unfinished stages, events, zbattles and clash...')
|
print('This will do all daily, potential, unfinished stages, events, zbattles and clash...')
|
||||||
complete_stage('130001', 0)
|
complete_stage('130001', 0)
|
||||||
|
|
|
||||||
7
help.txt
7
help.txt
|
|
@ -17,13 +17,16 @@ To stop a command from executing, hold ctrl + c
|
||||||
'summon' -> Provides a GUI to choose what banner to summon.
|
'summon' -> Provides a GUI to choose what banner to summon.
|
||||||
'listsummons' -> Prints a list of all currently available summons.
|
'listsummons' -> Prints a list of all currently available summons.
|
||||||
'dragonballs' -> Collects Dragonballs and makes wishes.
|
'dragonballs' -> Collects Dragonballs and makes wishes.
|
||||||
'omegafarm' -> Completes everything (story, events, zbattle, daily, accepts gifts and missions)
|
'omegafarm' -> Completes everything it can do
|
||||||
'info' -> Print out account information.
|
'info' -> Print out account information.
|
||||||
'medalcal' -> Does free LR's
|
'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
|
'punchmachine' -> Does Punch Machine
|
||||||
'items' -> Provides a GUI to view user items.
|
'items' -> Provides a GUI to view user items.
|
||||||
'medals' -> Provides a GUI to view and sell medals.
|
'medals' -> Provides a GUI to view and sell medals.
|
||||||
'potara' -> One command to do all potara events (it's not automated, you have to do stuff manualy as well!)
|
'potara' -> One command to do all potara events
|
||||||
'sell' -> Provides a GUI to sell cards.
|
'sell' -> Provides a GUI to sell cards.
|
||||||
'team' -> Change composition of a deck.
|
'team' -> Change composition of a deck.
|
||||||
'supporter' -> Change your support Unit.
|
'supporter' -> Change your support Unit.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue