Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created February 19, 2021 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aEnigmatic/c1c147937c82443c22498190591aea32 to your computer and use it in GitHub Desktop.
Save aEnigmatic/c1c147937c82443c22498190591aea32 to your computer and use it in GitHub Desktop.
真降臨アモン・
##
# Mission '真降臨アモン・中級' (8998401)
# Enemy has first strike!
#
# Battles
# * アモン
##
##
# Monster Info
##
#
# Monster アモン (412121000)
# Race Reaper
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 3000000000
# MP 10000
# ATK 2250
# DEF 4000
# MAG 2250
# SPR 20000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 300%
# Ice 300%
# Lightning 300%
# Water 300%
# Wind 300%
# Earth 300%
# Light 300%
# Dark 300%
# 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 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Skills
###
#
# ゾンビ化の呪法 (221611) [None]
#
# Inflict Zombie (100%) to all enemies
# Unused parameters: [[0,0,0,0,0,0,0,1]]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ケアルジャ (221612) [Magic]
#
# Restore 5-7% HP to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# アレイズ (221613) [Magic]
#
# Revive one enemy from KO (100% HP)
# Instant KO to Reaper one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# リジェネ (221614) [Magic]
#
# Restore 400000 (+1,200x, Heal) HP split over 3 turns to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# トルネド (221615) [Magic]
#
# Magic wind damage (3x, MAG) to all enemies
# Reduce resistance to Wind by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# クエイク (221616) [Magic]
#
# Magic earth damage (3x, MAG) to all enemies
# Reduce resistance to Earth by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# フレア (221617) [Magic]
#
# Magic fire damage (3x, MAG) to one enemy
# Reduce resistance to Water by 100% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# フラッド (221618) [Magic]
#
# Magic water damage (3x, MAG) to all enemies
# Reduce resistance to Water by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アモンはあざ笑っている (221619) [None]
#
# Reduce ATK and MAG by 85% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アモンのマント (221620) [Magic]
#
# Reflect 5 spell(s) for 3 turns to caster
# Dodge 5 physical attacks for 3 turns to caster
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# デス (221621) [Magic]
#
# [Death]
# Instant KO (60%) to one enemy
# Unknown parameters: [1,0]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# 消失の石化呪法 (221622) [None]
#
# Remove all buffs from all enemies
# Inflict Petrify (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# メテオ (221623) [Magic]
#
# Magic damage (2.4x * 1.33 = 3.2x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アルテマ (221624) [Magic]
#
# Magic damage (3.5x * 1.67 = 5.83x, MAG) to all enemies (ignore reflect)
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 火耐減の呪法 (221625) [None]
#
# Reduce resistance to Fire by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '167': [5041409]
# Unknown active effect type '166': [1,5041410,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 水耐減の呪法 (221626) [None]
#
# Reduce resistance to Water by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '167': [5041410]
# Unknown active effect type '166': [1,5041408,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 風耐減の呪法 (221627) [None]
#
# Reduce resistance to Wind by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '167': [5041408]
# Unknown active effect type '166': [1,5041407,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 土耐減の呪法 (221628) [None]
#
# Reduce resistance to Earth by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '167': [5041407]
# Unknown active effect type '166': [1,5041409,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 火耐減の呪法 (221629) [None]
#
# Reduce resistance to Fire by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '166': [1,5041410,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif isTurn(1) and once():
useSkill(1, 'random') # ゾンビ化の呪法 (221611): Inflict Zombie (100%) to all enemies
elif isTurn(1) and once():
useSkill(4, 'random') # リジェネ (221614): Restore 400000 (+1,200x, Heal) HP split over 3 turns to one enemy
elif isTurn(1) and once():
useSkill(19, 'random') # 火耐減の呪法 (221629): Reduce resistance to Fire by 400% for 3 turns to caster, Unknown active effect type '166': [1,5041410,3,0]
apple = True # reset next turn
honey = True # persistent
elif azure == 2 and gourd == False and honey == True:
useSkill(16, 'random') # 水耐減の呪法 (221626): Reduce resistance to Water by 400% for 3 turns to caster, Unknown active effect type '167': [5041410], Unknown active effect type '166': [1,5041408,3,0]
azure = 0
gourd = True # reset next turn
ramen = True # persistent
honey = False # persistent
elif azure == 2 and gourd == False and ramen == True:
useSkill(17, 'random') # 風耐減の呪法 (221627): Reduce resistance to Wind by 400% for 3 turns to caster, Unknown active effect type '167': [5041408], Unknown active effect type '166': [1,5041407,3,0]
azure = 0
gourd = True # reset next turn
sushi = True # persistent
ramen = False # persistent
elif azure == 2 and gourd == False and sushi == True:
useSkill(18, 'random') # 土耐減の呪法 (221628): Reduce resistance to Earth by 400% for 3 turns to caster, Unknown active effect type '167': [5041407], Unknown active effect type '166': [1,5041409,3,0]
azure = 0
gourd = True # reset next turn
bacon = True # persistent
sushi = False # persistent
elif azure == 2 and gourd == False and bacon == True:
useSkill(15, 'random') # 火耐減の呪法 (221625): Reduce resistance to Fire by 400% for 3 turns to caster, Unknown active effect type '167': [5041409], Unknown active effect type '166': [1,5041410,3,0]
azure = 0
gourd = True # reset next turn
bacon = False # persistent
honey = True # persistent
elif gourd == False:
wait() # No action
azure += 1
gourd = True # reset next turn
elif berry == False:
useSkill(1, 'random') # ゾンビ化の呪法 (221611): Inflict Zombie (100%) to all enemies
berry = True # reset next turn
elif green == 2 and peach == False:
wait() # No action
green = 0
peach = True # reset next turn
elif random() <= 0.45 and peach == False:
useSkill(2, 'random') # ケアルジャ (221612): Restore 5-7% HP to all enemies
green += 1
elif random() <= 0.55 and peach == False:
useSkill(3, 'random') # アレイズ (221613): Revive one enemy from KO (100% HP), Instant KO to Reaper one enemy
green += 1
elif peach == False:
useSkill(4, 'random') # リジェネ (221614): Restore 400000 (+1,200x, Heal) HP split over 3 turns to one enemy
green += 1
elif random() <= 0.35 and olive == False:
useSkill(5, 'random') # トルネド (221615): Magic wind damage (3x, MAG) to all enemies, Reduce resistance to Wind by 100% for 3 turns to all enemies
olive = True # reset next turn
elif random() <= 0.45 and olive == False:
useSkill(6, 'random') # クエイク (221616): Magic earth damage (3x, MAG) to all enemies, Reduce resistance to Earth by 100% for 3 turns to all enemies
olive = True # reset next turn
elif random() <= 0.55 and olive == False:
useSkill(7, 'random') # フレア (221617): Magic fire damage (3x, MAG) to one enemy, Reduce resistance to Water by 100% for 3 turns to one enemy
olive = True # reset next turn
elif olive == False:
useSkill(8, 'random') # フラッド (221618): Magic water damage (3x, MAG) to all enemies, Reduce resistance to Water by 100% for 3 turns to all enemies
olive = True # reset next turn
elif self.damageTakenLastTurn() > 1000000000 and white == 1 and mango == False:
wait() # No action
white = 0
mango = True # reset next turn
elif white == 1 and mango == False:
useSkill(9, 'random') # アモンはあざ笑っている (221619): Reduce ATK and MAG by 85% for 3 turns to all enemies
white = 0
mango = True # reset next turn
elif mango == False:
wait() # No action
white += 1
mango = True # reset next turn
elif black == 2 and lemon == False:
useSkill(10, 'random') # アモンのマント (221620): Reflect 5 spell(s) for 3 turns to caster, Dodge 5 physical attacks for 3 turns to caster
black = 0
lemon = True # reset next turn
elif lemon == False:
wait() # No action
black += 1
lemon = True # reset next turn
elif mauve == 3 and grape == False:
useSkill(3, 'random') # アレイズ (221613): Revive one enemy from KO (100% HP), Instant KO to Reaper one enemy
mauve = 0
grape = True # reset next turn
elif grape == False:
wait() # No action
mauve += 1
grape = True # reset next turn
elif self.HP < 0.75 and once():
useSkill(11, 'random') # デス (221621): [Death], Instant KO (60%) to one enemy
elif self.HP < 0.5 and once():
useSkill(12, 'random') # 消失の石化呪法 (221622): Remove all buffs from all enemies, Inflict Petrify (100%) on all enemies
elif self.HP < 0.5 and melon == False:
useSkill(13, 'random') # メテオ (221623): Magic damage (2.4x * 1.33 = 3.2x, MAG) to all enemies (ignore reflect)
melon = True # reset next turn
elif self.HP < 0.25 and guava == False:
useSkill(14, 'random') # アルテマ (221624): Magic damage (3.5x * 1.67 = 5.83x, MAG) to all enemies (ignore reflect)
guava = True # reset next turn
else:
wait() # No action
green = 0
apple = True # reset next turn
##
# Mission '真降臨アモン・上級' (8998402)
# Enemy has first strike!
#
# Battles
# * アモン
##
##
# Monster Info
##
#
# Monster アモン (412121001, 412121000)
# Race Reaper
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 3000000000
# MP 10000
# ATK 6000
# DEF 120000
# MAG 6000
# SPR 200000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 300%
# Ice 300%
# Lightning 300%
# Water 300%
# Wind 300%
# Earth 300%
# Light 300%
# Dark 300%
# 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 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Skills
###
#
# ゾンビ化の呪法 (221611) [None]
#
# Inflict Zombie (100%) to all enemies
# Unused parameters: [[0,0,0,0,0,0,0,1]]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ケアルジャ (221612) [Magic]
#
# Restore 5-7% HP to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# アレイズ (221613) [Magic]
#
# Revive one enemy from KO (100% HP)
# Instant KO to Reaper one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# リジェネ (221614) [Magic]
#
# Restore 400000 (+1,200x, Heal) HP split over 3 turns to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# トルネド (221615) [Magic]
#
# Magic wind damage (3x, MAG) to all enemies
# Reduce resistance to Wind by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# クエイク (221616) [Magic]
#
# Magic earth damage (3x, MAG) to all enemies
# Reduce resistance to Earth by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# フレア (221617) [Magic]
#
# Magic fire damage (3x, MAG) to one enemy
# Reduce resistance to Water by 100% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# フラッド (221618) [Magic]
#
# Magic water damage (3x, MAG) to all enemies
# Reduce resistance to Water by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アモンはあざ笑っている (221619) [None]
#
# Reduce ATK and MAG by 85% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アモンのマント (221620) [Magic]
#
# Reflect 5 spell(s) for 3 turns to caster
# Dodge 5 physical attacks for 3 turns to caster
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# デス (221621) [Magic]
#
# [Death]
# Instant KO (60%) to one enemy
# Unknown parameters: [1,0]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# 消失の石化呪法 (221622) [None]
#
# Remove all buffs from all enemies
# Inflict Petrify (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# メテオ (221623) [Magic]
#
# Magic damage (2.4x * 1.33 = 3.2x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アルテマ (221624) [Magic]
#
# Magic damage (3.5x * 1.67 = 5.83x, MAG) to all enemies (ignore reflect)
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 火耐減の呪法 (221625) [None]
#
# Reduce resistance to Fire by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '167': [5041409]
# Unknown active effect type '166': [1,5041410,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 水耐減の呪法 (221626) [None]
#
# Reduce resistance to Water by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '167': [5041410]
# Unknown active effect type '166': [1,5041408,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 風耐減の呪法 (221627) [None]
#
# Reduce resistance to Wind by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '167': [5041408]
# Unknown active effect type '166': [1,5041407,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 土耐減の呪法 (221628) [None]
#
# Reduce resistance to Earth by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '167': [5041407]
# Unknown active effect type '166': [1,5041409,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 火耐減の呪法 (221629) [None]
#
# Reduce resistance to Fire by 400% for 3 turns to caster
# Unused parameters: [1]
# Unknown active effect type '166': [1,5041410,3,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif isTurn(1) and once():
useSkill(1, 'random') # ゾンビ化の呪法 (221611): Inflict Zombie (100%) to all enemies
elif isTurn(1) and once():
useSkill(4, 'random') # リジェネ (221614): Restore 400000 (+1,200x, Heal) HP split over 3 turns to one enemy
elif isTurn(1) and once():
useSkill(19, 'random') # 火耐減の呪法 (221629): Reduce resistance to Fire by 400% for 3 turns to caster, Unknown active effect type '166': [1,5041410,3,0]
apple = True # reset next turn
honey = True # persistent
elif azure == 2 and gourd == False and honey == True:
useSkill(16, 'random') # 水耐減の呪法 (221626): Reduce resistance to Water by 400% for 3 turns to caster, Unknown active effect type '167': [5041410], Unknown active effect type '166': [1,5041408,3,0]
azure = 0
gourd = True # reset next turn
ramen = True # persistent
honey = False # persistent
elif azure == 2 and gourd == False and ramen == True:
useSkill(17, 'random') # 風耐減の呪法 (221627): Reduce resistance to Wind by 400% for 3 turns to caster, Unknown active effect type '167': [5041408], Unknown active effect type '166': [1,5041407,3,0]
azure = 0
gourd = True # reset next turn
sushi = True # persistent
ramen = False # persistent
elif azure == 2 and gourd == False and sushi == True:
useSkill(18, 'random') # 土耐減の呪法 (221628): Reduce resistance to Earth by 400% for 3 turns to caster, Unknown active effect type '167': [5041407], Unknown active effect type '166': [1,5041409,3,0]
azure = 0
gourd = True # reset next turn
bacon = True # persistent
sushi = False # persistent
elif azure == 2 and gourd == False and bacon == True:
useSkill(15, 'random') # 火耐減の呪法 (221625): Reduce resistance to Fire by 400% for 3 turns to caster, Unknown active effect type '167': [5041409], Unknown active effect type '166': [1,5041410,3,0]
azure = 0
gourd = True # reset next turn
bacon = False # persistent
honey = True # persistent
elif gourd == False:
wait() # No action
azure += 1
gourd = True # reset next turn
elif berry == False:
useSkill(1, 'random') # ゾンビ化の呪法 (221611): Inflict Zombie (100%) to all enemies
berry = True # reset next turn
elif green == 2 and peach == False:
wait() # No action
green = 0
peach = True # reset next turn
elif random() <= 0.45 and peach == False:
useSkill(2, 'random') # ケアルジャ (221612): Restore 5-7% HP to all enemies
green += 1
elif random() <= 0.55 and peach == False:
useSkill(3, 'random') # アレイズ (221613): Revive one enemy from KO (100% HP), Instant KO to Reaper one enemy
green += 1
elif peach == False:
useSkill(4, 'random') # リジェネ (221614): Restore 400000 (+1,200x, Heal) HP split over 3 turns to one enemy
green += 1
elif random() <= 0.35 and olive == False:
useSkill(5, 'random') # トルネド (221615): Magic wind damage (3x, MAG) to all enemies, Reduce resistance to Wind by 100% for 3 turns to all enemies
olive = True # reset next turn
elif random() <= 0.45 and olive == False:
useSkill(6, 'random') # クエイク (221616): Magic earth damage (3x, MAG) to all enemies, Reduce resistance to Earth by 100% for 3 turns to all enemies
olive = True # reset next turn
elif random() <= 0.55 and olive == False:
useSkill(7, 'random') # フレア (221617): Magic fire damage (3x, MAG) to one enemy, Reduce resistance to Water by 100% for 3 turns to one enemy
olive = True # reset next turn
elif olive == False:
useSkill(8, 'random') # フラッド (221618): Magic water damage (3x, MAG) to all enemies, Reduce resistance to Water by 100% for 3 turns to all enemies
olive = True # reset next turn
elif self.damageTakenLastTurn() > 1000000000 and white == 1 and mango == False:
wait() # No action
white = 0
mango = True # reset next turn
elif white == 1 and mango == False:
useSkill(9, 'random') # アモンはあざ笑っている (221619): Reduce ATK and MAG by 85% for 3 turns to all enemies
white = 0
mango = True # reset next turn
elif mango == False:
wait() # No action
white += 1
mango = True # reset next turn
elif black == 2 and lemon == False:
useSkill(10, 'random') # アモンのマント (221620): Reflect 5 spell(s) for 3 turns to caster, Dodge 5 physical attacks for 3 turns to caster
black = 0
lemon = True # reset next turn
elif lemon == False:
wait() # No action
black += 1
lemon = True # reset next turn
elif mauve == 3 and grape == False:
useSkill(3, 'random') # アレイズ (221613): Revive one enemy from KO (100% HP), Instant KO to Reaper one enemy
mauve = 0
grape = True # reset next turn
elif grape == False:
wait() # No action
mauve += 1
grape = True # reset next turn
elif self.HP < 0.75 and once():
useSkill(11, 'random') # デス (221621): [Death], Instant KO (60%) to one enemy
elif self.HP < 0.5 and once():
useSkill(12, 'random') # 消失の石化呪法 (221622): Remove all buffs from all enemies, Inflict Petrify (100%) on all enemies
elif self.HP < 0.5 and melon == False:
useSkill(13, 'random') # メテオ (221623): Magic damage (2.4x * 1.33 = 3.2x, MAG) to all enemies (ignore reflect)
melon = True # reset next turn
elif self.HP < 0.25 and guava == False:
useSkill(14, 'random') # アルテマ (221624): Magic damage (3.5x * 1.67 = 5.83x, MAG) to all enemies (ignore reflect)
guava = True # reset next turn
else:
wait() # No action
green = 0
apple = True # reset next turn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment