Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created February 28, 2019 11:25
Show Gist options
  • Save aEnigmatic/8bb453ab9c9401b761ecf9dbc1d3fb17 to your computer and use it in GitHub Desktop.
Save aEnigmatic/8bb453ab9c9401b761ecf9dbc1d3fb17 to your computer and use it in GitHub Desktop.
Emperor Emperor
##
# Mission 'こうてい' (9091104)
# BattleScript: 909110401
#
# Battles
# * こうてい
##
##
# Monster Info
##
#
# Monster こうてい (405191000)
# Race Human
# Level 99
# Actions 20-20
#
#
# 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
###
#
# フレアー (216343) [Magic]
#
# Magic fire damage (13.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ファイガ (216344) [Magic]
#
# Magic fire damage (13x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# メルトン (216345) [Magic]
#
# Magic fire damage (10x * 1.33 = 13.33x, MAG) to all enemies (ignore reflect)
# Magic fire damage (9.5x, SPR) per turn to all enemies for 3 turns
# Unused parameters: [0,0,5]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# エリクシャー (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 -
#
##
#
# カーズ (216347) [None]
#
# Reduce DEF and SPR by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# いんせき (216348) [None]
#
# Magic* damage (14x, MAG) to one enemy
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 流星 (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 -
#
##
#
# 流星 (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 -
#
##
#
# 流星 (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 -
#
##
#
# 流星 (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 -
#
##
#
# フェイス (216353) [Magic]
#
# Increase MAG by 15% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# 時よ止まれ (216354) [None]
#
# Inflict Stop (100%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 地獄の業火 (216355) [Magic]
#
# Magic fire damage (14x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 地獄の大業火 (216356) [None]
#
# Magic* fire damage (26x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# バリアー (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 -
#
##
#
# デスペル (216363) [Magic]
#
# Remove all buffs from one enemy
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 杖が輝き始めた! (216358) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# わたしは死なん! (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 -
#
##
#
# デスペガ (216364) [Magic]
#
# Remove all buffs from all enemies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 周囲の熱が高まる…… (216360) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 周囲の熱が更に高まる…… (216361) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 周囲が地獄の熱で包まれた! (216362) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# デスペル (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') # デスペル (216398): Remove all buffs and debuffs from caster
steak = True # persistent
elif steak == True and once():
useSkill(18, 'random') # わたしは死なん! (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') # デスペガ (216364): Remove all buffs from all enemies
honey = True # persistent
elif steak == True and once():
useSkill(11, 'random') # フェイス (216353): Increase MAG by 15% for 3 turns to caster
elif steak == True and once():
useSkill(15, 'random') # バリアー (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') # わたしは死なん! (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') # 杖が輝き始めた! (216358): No effect
honey = True # persistent
elif steak == True and var_67 == False:
useSkill(4, 'random') # エリクシャー (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') # 地獄の大業火 (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') # 地獄の大業火 (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') # 地獄の大業火 (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') # 周囲が地獄の熱で包まれた! (216362): No effect
elif self.HP < 0.3 and steak == False and once():
useSkill(19, 'random') # デスペガ (216364): Remove all buffs from all enemies
elif self.HP < 0.3 and steak == False and once():
useSkill(18, 'random') # わたしは死なん! (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') # 周囲の熱が更に高まる…… (216361): No effect
elif sushi == False and steak == False and self.HP < 0.5 and once():
useSkill(19, 'random') # デスペガ (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') # 周囲の熱が高まる…… (216360): No effect
elif ramen == False and steak == False and self.HP < 0.8 and once():
useSkill(19, 'random') # デスペガ (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') # 地獄の大業火 (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') # 地獄の大業火 (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') # 地獄の大業火 (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') # 地獄の大業火 (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') # 杖が輝き始めた! (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') # デスペル (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') # バリアー (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') # フェイス (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') # 流星 (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') # 杖が輝き始めた! (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') # バリアー (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') # フェイス (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') # 流星 (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') # 杖が輝き始めた! (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') # バリアー (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') # フェイス (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') # 流星 (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') # 杖が輝き始めた! (216358): No effect
white += 1
green += 1
berry = True # reset next turn
elif green >= 12 and white >= 1 and peach == False:
useSkill(15, 'random') # バリアー (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') # 流星 (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') # エリクシャー (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') # フレアー (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') # いんせき (216348): Magic* damage (14x, MAG) to one enemy
green += 1
mango = True # reset next turn
elif sushi == True and mango == False:
useSkill(13, 'random') # 地獄の業火 (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') # フレアー (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') # いんせき (216348): Magic* damage (14x, MAG) to one enemy
green += 1
lemon = True # reset next turn
elif lemon == False:
useSkill(13, 'random') # 地獄の業火 (216355): Magic fire damage (14x, MAG) to one enemy
green += 1
lemon = True # reset next turn
elif var_61 == False:
useSkill(6, 'random') # いんせき (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') # いんせき (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') # いんせき (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') # ファイガ (216344): Magic fire damage (13x, MAG) to all enemies
green += 1
grape = True # reset next turn
elif grape == False:
useSkill(3, 'random') # メルトン (216345): Magic fire damage (10x * 1.33 = 13.33x, MAG) to all enemies (ignore reflect), Magic fire damage (9.5x, SPR) per turn to all enemies for 3 turns
green += 1
grape = True # reset next turn
elif isTurnMod(2) and melon == False:
useSkill(5, 'random') # カーズ (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') # 時よ止まれ (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