Created
October 10, 2019 13:07
-
-
Save aEnigmatic/0210b7795a3f903ca0545910a85cd88c to your computer and use it in GitHub Desktop.
SSB - Emperor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Mission 'Emperor' (9091104) | |
# BattleScript: 909110401 | |
# | |
# Battles | |
# * Emperor | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Emperor (405191000) | |
# Race Human | |
# Level 99 | |
# Actions 20-20 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 270000000 | |
# MP 150000 | |
# ATK 1200 | |
# DEF 1350 | |
# MAG 870 | |
# SPR 1280 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 0% | |
# Ice 0% | |
# Lightning 0% | |
# Water 0% | |
# Wind 0% | |
# Earth 0% | |
# Light 0% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 100% | |
# MAG 0% | |
# SPR 100% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Flare (216343) [Magic] | |
# | |
# Magic fire damage (13.5x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Firaga (216344) [Magic] | |
# | |
# Magic fire damage (13x, MAG) to all enemies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Meltdown (216345) [Magic] | |
# | |
# Magic fire damage (10x * 1.33 = 13.33x, MAG) to all enemies (ignore reflect) | |
# Magic fire damage (9.5x, MAG) per turn to all enemies for 3 turns | |
# Unused parameters: [0,0,5] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elixir (216346) [None] | |
# | |
# Restore 25000000 HP to caster | |
# Increase DEF and SPR by 30% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Curse (216347) [None] | |
# | |
# Reduce DEF and SPR by 30% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Starfall (216348) [None] | |
# | |
# Magic* damage (14x, MAG) to one enemy | |
# Unknown parameters: [0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Shooting Star (216349) [None] | |
# | |
# Magic* damage (11x * 2 = 22x, MAG) to all enemies (ignore reflect) | |
# Reduce resistance to Fire by 60% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Shooting Star (216350) [None] | |
# | |
# Magic* damage (11x * 2 = 22x, MAG) to all enemies (ignore reflect) | |
# Reduce resistance to Fire by 90% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Shooting Star (216351) [None] | |
# | |
# Magic* damage (11x * 2 = 22x, MAG) to all enemies (ignore reflect) | |
# Reduce resistance to Fire by 110% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Shooting Star (216352) [None] | |
# | |
# Magic* damage (11x * 2 = 22x, MAG) to all enemies (ignore reflect) | |
# Reduce resistance to Fire by 130% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Faith (216353) [Magic] | |
# | |
# Increase MAG by 15% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Time Stopper (216354) [None] | |
# | |
# Inflict Stop (100%) for 3 turns on one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fire From Below (216355) [Magic] | |
# | |
# Magic fire damage (14x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Inferno From Below (216356) [None] | |
# | |
# Magic* fire damage (26x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Barrier (216357) [None] | |
# | |
# Increase DEF and SPR by 30% for 3 turns to caster (can not be removed) | |
# Unused parameters: [1] | |
# Reduce physical damage taken by 50% to caster for one turn (can not be removed) | |
# Unused parameters: [1] | |
# Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dispel (216363) [Magic] | |
# | |
# Remove all buffs from one enemy | |
# | |
# Sealable + Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# The staff is starting to glow! (216358) [None] | |
# | |
# No effect | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# I'll never die! (216359) [None] | |
# | |
# Auto-revive (30% HP) for 99999 turns to caster | |
# Reduce physical damage taken by 50% to caster for one turn (can not be removed) | |
# Unused parameters: [1] | |
# Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dispelga (216364) [Magic] | |
# | |
# Remove all buffs from all enemies | |
# | |
# Sealable + Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Temperature in the surrounding area is rising... (216360) [None] | |
# | |
# No effect | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Temperature in the surrounding area is rising even more... (216361) [None] | |
# | |
# No effect | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# The surrounding area is engulfed in the heat of hell! (216362) [None] | |
# | |
# No effect | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dispel (216398) [Magic] | |
# | |
# Remove all buffs and debuffs from caster | |
# | |
# Sealable + Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if honey == True: | |
endTurn() | |
honey = False # persistent | |
elif self.HP < 0.1 and once(): | |
useSkill(23, 'random') # Dispel (216398): Remove all buffs and debuffs from caster | |
steak = True # persistent | |
elif steak == True and once(): | |
useSkill(18, 'random') # I'll never die! (216359): Auto-revive (30% HP) for 99999 turns to caster, Reduce physical damage taken by 50% to caster for one turn (can not be removed), Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
elif steak == True and once(): | |
useSkill(19, 'random') # Dispelga (216364): Remove all buffs from all enemies | |
honey = True # persistent | |
elif steak == True and once(): | |
useSkill(11, 'random') # Faith (216353): Increase MAG by 15% for 3 turns to caster | |
elif steak == True and once(): | |
useSkill(15, 'random') # Barrier (216357): Increase DEF and SPR by 30% for 3 turns to caster (can not be removed), Reduce physical damage taken by 50% to caster for one turn (can not be removed), Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
elif steak == True and once(): | |
useSkill(18, 'random') # I'll never die! (216359): Auto-revive (30% HP) for 99999 turns to caster, Reduce physical damage taken by 50% to caster for one turn (can not be removed), Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
elif steak == True and once(): | |
useSkill(17, 'random') # The staff is starting to glow! (216358): No effect | |
honey = True # persistent | |
elif steak == True and var_67 == False: | |
useSkill(4, 'random') # Elixir (216346): Restore 25000000 HP to caster, Increase DEF and SPR by 30% for 3 turns to caster | |
var_67 = True # unknown flag type | |
elif steak == True and var_64 == False: | |
useSkill(14, 'random') # Inferno From Below (216356): Magic* fire damage (26x, MAG) to all enemies | |
var_64 = True # unknown flag type | |
elif steak == True and var_65 == False: | |
useSkill(14, 'random') # Inferno From Below (216356): Magic* fire damage (26x, MAG) to all enemies | |
var_65 = True # unknown flag type | |
elif steak == True and var_66 == False: | |
useSkill(14, 'random') # Inferno From Below (216356): Magic* fire damage (26x, MAG) to all enemies | |
var_66 = True # unknown flag type | |
honey = True # persistent | |
elif self.HP < 0.3 and steak == False and once(): | |
useSkill(22, 'random') # The surrounding area is engulfed in the heat of hell! (216362): No effect | |
elif self.HP < 0.3 and steak == False and once(): | |
useSkill(19, 'random') # Dispelga (216364): Remove all buffs from all enemies | |
elif self.HP < 0.3 and steak == False and once(): | |
useSkill(18, 'random') # I'll never die! (216359): Auto-revive (30% HP) for 99999 turns to caster, Reduce physical damage taken by 50% to caster for one turn (can not be removed), Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
white = 0 | |
bacon = True # persistent | |
sushi = True # persistent | |
ramen = True # persistent | |
honey = True # persistent | |
elif sushi == False and steak == False and self.HP < 0.5 and once(): | |
useSkill(21, 'random') # Temperature in the surrounding area is rising even more... (216361): No effect | |
elif sushi == False and steak == False and self.HP < 0.5 and once(): | |
useSkill(19, 'random') # Dispelga (216364): Remove all buffs from all enemies | |
white = 0 | |
sushi = True # persistent | |
ramen = True # persistent | |
honey = True # persistent | |
elif ramen == False and steak == False and self.HP < 0.8 and once(): | |
useSkill(20, 'random') # Temperature in the surrounding area is rising... (216360): No effect | |
elif ramen == False and steak == False and self.HP < 0.8 and once(): | |
useSkill(19, 'random') # Dispelga (216364): Remove all buffs from all enemies | |
white = 0 | |
ramen = True # persistent | |
honey = True # persistent | |
elif green >= 14: | |
wait() # No action | |
green = 0 | |
honey = True # persistent | |
elif bacon == True and white >= 2 and apple == False: | |
useSkill(14, 'random') # Inferno From Below (216356): Magic* fire damage (26x, MAG) to all enemies | |
white = 0 | |
green += 1 | |
apple = True # reset next turn | |
elif sushi == True and white >= 2 and apple == False: | |
useSkill(14, 'random') # Inferno From Below (216356): Magic* fire damage (26x, MAG) to all enemies | |
white = 0 | |
green += 1 | |
apple = True # reset next turn | |
elif ramen == True and white >= 2 and apple == False: | |
useSkill(14, 'random') # Inferno From Below (216356): Magic* fire damage (26x, MAG) to all enemies | |
white = 0 | |
green += 1 | |
apple = True # reset next turn | |
elif white >= 2 and apple == False: | |
useSkill(14, 'random') # Inferno From Below (216356): Magic* fire damage (26x, MAG) to all enemies | |
white = 0 | |
green += 1 | |
apple = True # reset next turn | |
elif bacon == True and green >= 13 and white >= 1 and berry == False: | |
useSkill(17, 'random') # The staff is starting to glow! (216358): No effect | |
white += 1 | |
green += 1 | |
berry = True # reset next turn | |
elif bacon == True and green >= 12 and white >= 1 and olive == False: | |
useSkill(16, 'random') # Dispel (216363): Remove all buffs from one enemy | |
green += 1 | |
olive = True # reset next turn | |
elif bacon == True and green >= 11 and white >= 1 and peach == False: | |
useSkill(15, 'random') # Barrier (216357): Increase DEF and SPR by 30% for 3 turns to caster (can not be removed), Reduce physical damage taken by 50% to caster for one turn (can not be removed), Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
green += 1 | |
peach = True # reset next turn | |
elif bacon == True and green >= 10 and white >= 1 and var_68 == False: | |
useSkill(11, 'random') # Faith (216353): Increase MAG by 15% for 3 turns to caster | |
var_68 = True # unknown flag type | |
green += 1 | |
elif bacon == True and white >= 1 and apple == False: | |
useSkill(10, 'random') # Shooting Star (216352): Magic* damage (11x * 2 = 22x, MAG) to all enemies (ignore reflect), Reduce resistance to Fire by 130% for 3 turns to all enemies | |
green += 1 | |
apple = True # reset next turn | |
elif sushi == True and green >= 13 and white >= 1 and berry == False: | |
useSkill(17, 'random') # The staff is starting to glow! (216358): No effect | |
white += 1 | |
green += 1 | |
berry = True # reset next turn | |
elif sushi == True and green >= 12 and white >= 1 and peach == False: | |
useSkill(15, 'random') # Barrier (216357): Increase DEF and SPR by 30% for 3 turns to caster (can not be removed), Reduce physical damage taken by 50% to caster for one turn (can not be removed), Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
green += 1 | |
peach = True # reset next turn | |
elif sushi == True and green >= 11 and white >= 1 and var_68 == False: | |
useSkill(11, 'random') # Faith (216353): Increase MAG by 15% for 3 turns to caster | |
var_68 = True # unknown flag type | |
green += 1 | |
elif sushi == True and white >= 1 and apple == False: | |
useSkill(9, 'random') # Shooting Star (216351): Magic* damage (11x * 2 = 22x, MAG) to all enemies (ignore reflect), Reduce resistance to Fire by 110% for 3 turns to all enemies | |
green += 1 | |
apple = True # reset next turn | |
elif ramen == True and green >= 13 and white >= 1 and berry == False: | |
useSkill(17, 'random') # The staff is starting to glow! (216358): No effect | |
white += 1 | |
green += 1 | |
berry = True # reset next turn | |
elif ramen == True and green >= 12 and white >= 1 and peach == False: | |
useSkill(15, 'random') # Barrier (216357): Increase DEF and SPR by 30% for 3 turns to caster (can not be removed), Reduce physical damage taken by 50% to caster for one turn (can not be removed), Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
green += 1 | |
peach = True # reset next turn | |
elif ramen == True and green >= 11 and white >= 1 and var_68 == False: | |
useSkill(11, 'random') # Faith (216353): Increase MAG by 15% for 3 turns to caster | |
var_68 = True # unknown flag type | |
green += 1 | |
elif ramen == True and white >= 1 and apple == False: | |
useSkill(8, 'random') # Shooting Star (216350): Magic* damage (11x * 2 = 22x, MAG) to all enemies (ignore reflect), Reduce resistance to Fire by 90% for 3 turns to all enemies | |
green += 1 | |
apple = True # reset next turn | |
elif green >= 13 and white >= 1 and berry == False: | |
useSkill(17, 'random') # The staff is starting to glow! (216358): No effect | |
white += 1 | |
green += 1 | |
berry = True # reset next turn | |
elif green >= 12 and white >= 1 and peach == False: | |
useSkill(15, 'random') # Barrier (216357): Increase DEF and SPR by 30% for 3 turns to caster (can not be removed), Reduce physical damage taken by 50% to caster for one turn (can not be removed), Reduce magic damage taken by 50% to caster for one turn (can not be removed) | |
green += 1 | |
peach = True # reset next turn | |
elif white >= 1 and apple == False: | |
useSkill(7, 'random') # Shooting Star (216349): Magic* damage (11x * 2 = 22x, MAG) to all enemies (ignore reflect), Reduce resistance to Fire by 60% for 3 turns to all enemies | |
green += 1 | |
apple = True # reset next turn | |
elif white < 1 and apple == False: | |
useSkill(4, 'random') # Elixir (216346): Restore 25000000 HP to caster, Increase DEF and SPR by 30% for 3 turns to caster | |
var_68 = True # unknown flag type | |
white += 1 | |
green += 1 | |
olive = True # reset next turn | |
peach = True # reset next turn | |
berry = True # reset next turn | |
apple = True # reset next turn | |
elif random() <= 0.33 and sushi == True and mango == False: | |
useSkill(1, 'random') # Flare (216343): Magic fire damage (13.5x, MAG) to one enemy | |
green += 1 | |
mango = True # reset next turn | |
elif random() <= 0.50 and sushi == True and mango == False: | |
useSkill(6, 'random') # Starfall (216348): Magic* damage (14x, MAG) to one enemy | |
green += 1 | |
mango = True # reset next turn | |
elif sushi == True and mango == False: | |
useSkill(13, 'random') # Fire From Below (216355): Magic fire damage (14x, MAG) to one enemy | |
green += 1 | |
mango = True # reset next turn | |
elif random() <= 0.33 and lemon == False: | |
useSkill(1, 'random') # Flare (216343): Magic fire damage (13.5x, MAG) to one enemy | |
green += 1 | |
lemon = True # reset next turn | |
elif random() <= 0.50 and lemon == False: | |
useSkill(6, 'random') # Starfall (216348): Magic* damage (14x, MAG) to one enemy | |
green += 1 | |
lemon = True # reset next turn | |
elif lemon == False: | |
useSkill(13, 'random') # Fire From Below (216355): Magic fire damage (14x, MAG) to one enemy | |
green += 1 | |
lemon = True # reset next turn | |
elif var_61 == False: | |
useSkill(6, 'random') # Starfall (216348): Magic* damage (14x, MAG) to one enemy | |
var_61 = True # unknown flag type | |
green += 1 | |
elif bacon == True and var_62 == False: | |
useSkill(6, 'random') # Starfall (216348): Magic* damage (14x, MAG) to one enemy | |
var_62 = True # unknown flag type | |
green += 1 | |
elif sushi == True and var_63 == False: | |
useSkill(6, 'random') # Starfall (216348): Magic* damage (14x, MAG) to one enemy | |
var_63 = True # unknown flag type | |
green += 1 | |
elif random() <= 0.50 and grape == False: | |
useSkill(2, 'random') # Firaga (216344): Magic fire damage (13x, MAG) to all enemies | |
green += 1 | |
grape = True # reset next turn | |
elif grape == False: | |
useSkill(3, 'random') # Meltdown (216345): Magic fire damage (10x * 1.33 = 13.33x, MAG) to all enemies (ignore reflect), Magic fire damage (9.5x, MAG) per turn to all enemies for 3 turns | |
green += 1 | |
grape = True # reset next turn | |
elif isTurnMod(2) and melon == False: | |
useSkill(5, 'random') # Curse (216347): Reduce DEF and SPR by 30% for 3 turns to one enemy | |
green += 1 | |
melon = True # reset next turn | |
elif random() <= 0.03 and guava == False: | |
useSkill(12, 'random') # Time Stopper (216354): Inflict Stop (100%) for 3 turns on one enemy | |
green += 1 | |
guava = True # reset next turn | |
else: | |
attack('random') | |
green += 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment