Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tiamat
##
# Mission 'ティアマット 真降臨' (8997001)
# Enemy has first strike!
#
# Battles
# * ティアマット
##
##
# Monster Info
##
#
# Monster ティアマット (407281000)
# Race Dragon
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 480000000
# MP 100000
# ATK 1700
# DEF 2900
# MAG 1750
# SPR 1900
#
#
# 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 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
#
# 火属性吸収 (100003) [Passive]
#
# Absorb Fire elemental attacks
#
##
#
# 氷属性吸収 (100004) [Passive]
#
# Absorb Ice elemental attacks
#
##
#
# 雷属性吸収 (100005) [Passive]
#
# Absorb Lightning elemental attacks
#
##
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
###
# Skills
###
#
# 喰らう (216700) [Physical]
#
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# むさぼり喰らう (216701) [None]
#
# Physical* damage (2.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ヴェノムファング (216702) [Physical]
#
# Physical damage (2x, ATK) to one enemy (+100% accuracy)
# Inflict Poison (100%) on one enemy
# Unknown parameters: [1]
# Physical damage (3x, ATK) per turn to one enemy for 2 turns
# Unused parameters: [0,0,1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 炎傷のブレス (216703) [Magic]
#
# Magic fire damage (17x, MAG) to all enemies
# Reduce resistance to Ice by 90% for 3 turns to all enemies
# Unused parameters: [1]
# Reduce ATK by 15% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 氷傷のブレス (216704) [Magic]
#
# Magic ice damage (17x, MAG) to all enemies
# Reduce resistance to Lightning by 90% for 3 turns to all enemies
# Unused parameters: [1]
# Reduce SPR by 15% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 雷傷のブレス (216705) [Magic]
#
# Magic lightning damage (17x, MAG) to all enemies
# Reduce resistance to Fire by 90% for 3 turns to all enemies
# Unused parameters: [1]
# Reduce DEF by 15% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# インフェルノブラスト (216706) [None]
#
# Magic* fire damage (13.5x * 1.18 = 15.88x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ホリッドロア (216707) [None]
#
# Unknown active effect type '141': [[1,2,3,4,25,9,10,11,16],999]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ホリッドロア・エコー (216708) [None]
#
# Unknown active effect type '141': [[1,2,3,4,25,9,10,11,16],999]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ポイズンダウン (216709) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
# Reduce resistance to Dark by 30% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 瘴気のブレス (216710) [None]
#
# Magic* dark damage (8x, MAG) to all enemies
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
# Magic* dark damage (2.3x, SPR) per turn to all enemies for 3 turns
# Unused parameters: [0,0,2]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 風をまとった (216711) [None]
#
# Increase DEF and SPR by 15% and ATK and MAG by 10% for 3 turns to caster (can not be removed)
# Unused parameters: [1]
# Set Wind resistance to 300% for 3 turns to caster (can not be removed)
# Unused parameters: [1]
# Dodge 5 physical attacks for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 風の力が失われた (216712) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 風の力で引き戻された! (216713) [None]
#
# Force all enemies to return to the battle field
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# エアロガ (216714) [Magic]
#
# Magic wind damage (6.5x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# 火の魔力が集中する! (216715) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if var_90 == True:
endTurn()
elif once():
useSkill(12, 'random') # 風をまとった (216711): Increase DEF and SPR by 15% and ATK and MAG by 10% for 3 turns to caster (can not be removed), Set Wind resistance to 300% for 3 turns to caster (can not be removed), Dodge 5 physical attacks for 3 turns to caster
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(10, 'random') # ポイズンダウン (216709): Remove resistances to Poison from all enemies for 3 turns, Reduce resistance to Dark by 30% for 3 turns to all enemies
var_90 = True # unknown flag type
fries = True # persistent
elif conditionNotImplemented('outside_field:0') and honey == False and gourd == False:
useSkill(14, 'random') # 風の力で引き戻された! (216713): Force all enemies to return to the battle field
elif green >= 12 and var_67 == False and fries == True:
useSkill(11, 'random') # 瘴気のブレス (216710): Magic* dark damage (8x, MAG) to all enemies, Inflict Poison (100%) on all enemies, Magic* dark damage (2.3x, SPR) per turn to all enemies for 3 turns
var_67 = True # unknown flag type
fries = False # persistent
elif self.HP > 0.4 and green >= 12 and var_67 == False and isTurnMod(3) and fries == False:
useSkill(10, 'random') # ポイズンダウン (216709): Remove resistances to Poison from all enemies for 3 turns, Reduce resistance to Dark by 30% for 3 turns to all enemies
var_67 = True # unknown flag type
fries = True # persistent
elif self.HP < 0.4 and green >= 12 and var_67 == False and isTurnMod(2) and fries == False:
useSkill(10, 'random') # ポイズンダウン (216709): Remove resistances to Poison from all enemies for 3 turns, Reduce resistance to Dark by 30% for 3 turns to all enemies
var_67 = True # unknown flag type
fries = True # persistent
elif var_66 == False and green >= 12:
wait() # No action
var_66 = True # unknown flag type
elif self.HP < 0.2 and once() and green >= 12 and salad == True and var_65 == False:
useSkill(7, 'random') # インフェルノブラスト (216706): Magic* fire damage (13.5x * 1.18 = 15.88x, MAG) to all enemies (ignore reflect)
mouse = True # reset next turn
sugar = True # persistent
elif self.HP < 0.2 and once() and green >= 12 and salad == True and var_65 == False:
wait() # No action
elif self.HP < 0.2 and once() and green >= 12 and salad == True and var_65 == False:
wait() # No action
elif self.HP < 0.4 and once() and green >= 12 and salad == True and var_65 == False:
useSkill(7, 'random') # インフェルノブラスト (216706): Magic* fire damage (13.5x * 1.18 = 15.88x, MAG) to all enemies (ignore reflect)
tiger = True # reset next turn
sugar = True # persistent
elif self.HP < 0.4 and once() and green >= 12 and salad == True and var_65 == False:
wait() # No action
elif self.HP < 0.4 and once() and green >= 12 and salad == True and var_65 == False:
wait() # No action
elif self.HP < 0.6 and once() and green >= 12 and salad == True and var_65 == False:
useSkill(7, 'random') # インフェルノブラスト (216706): Magic* fire damage (13.5x * 1.18 = 15.88x, MAG) to all enemies (ignore reflect)
otter = True # reset next turn
sugar = True # persistent
elif self.HP < 0.6 and once() and green >= 12 and salad == True and var_65 == False:
wait() # No action
elif self.HP < 0.6 and once() and green >= 12 and salad == True and var_65 == False:
wait() # No action
elif self.HP < 0.8 and once() and green >= 12 and salad == True and var_65 == False:
useSkill(7, 'random') # インフェルノブラスト (216706): Magic* fire damage (13.5x * 1.18 = 15.88x, MAG) to all enemies (ignore reflect)
sugar = True # persistent
elif self.HP < 0.8 and once() and green >= 12 and salad == True and var_65 == False:
wait() # No action
elif self.HP < 0.8 and once() and green >= 12 and salad == True and var_65 == False:
wait() # No action
elif green >= 12 and sugar == True and mango == False:
useSkill(9, 'random') # ホリッドロア・エコー (216708): Unknown active effect type '141': [[1,2,3,4,25,9,10,11,16],999]
mango = True # reset next turn
elif green >= 12 and sugar == True and lemon == False:
wait() # No action
lemon = True # reset next turn
elif green >= 12 and sugar == True and grape == False:
wait() # No action
grape = True # reset next turn
sugar = False # persistent
salad = False # persistent
elif green >= 12 and var_63 == False and honey == False:
wait() # No action
var_63 = True # unknown flag type
white += 1
elif green >= 12 and var_63 == False and honey == True:
wait() # No action
var_63 = True # unknown flag type
white += 1
elif green >= 12 and white == 3 and var_64 == False and honey == False:
useSkill(15, 'random') # エアロガ (216714): Magic wind damage (6.5x, MAG) to all enemies
var_64 = True # unknown flag type
elif green >= 12 and white == 3 and guava == False and honey == False:
useSkill(13, 'random') # 風の力が失われた (216712): No effect
white = 0
guava = True # reset next turn
honey = True # persistent
elif green >= 12 and white == 4 and gourd == False and honey == True:
useSkill(12, 'random') # 風をまとった (216711): Increase DEF and SPR by 15% and ATK and MAG by 10% for 3 turns to caster (can not be removed), Set Wind resistance to 300% for 3 turns to caster (can not be removed), Dodge 5 physical attacks for 3 turns to caster
white = 0
gourd = True # reset next turn
honey = False # persistent
elif self.HP < 0.8 and once() and green >= 12 and salad == False:
wait() # No action
var_65 = True # unknown flag type
elif self.HP < 0.8 and once() and green >= 12 and salad == False:
wait() # No action
elif self.HP < 0.8 and once() and green >= 12 and salad == False:
useSkill(16, 'random') # 火の魔力が集中する! (216715): No effect
salad = True # persistent
elif self.HP < 0.6 and once() and green >= 12 and salad == False and otter == False:
wait() # No action
var_65 = True # unknown flag type
elif self.HP < 0.6 and once() and green >= 12 and salad == False and otter == False:
wait() # No action
elif self.HP < 0.6 and once() and green >= 12 and salad == False and otter == False:
useSkill(16, 'random') # 火の魔力が集中する! (216715): No effect
salad = True # persistent
elif self.HP < 0.4 and once() and green >= 12 and salad == False and tiger == False:
wait() # No action
var_65 = True # unknown flag type
elif self.HP < 0.4 and once() and green >= 12 and salad == False and tiger == False:
wait() # No action
elif self.HP < 0.4 and once() and green >= 12 and salad == False and tiger == False:
useSkill(16, 'random') # 火の魔力が集中する! (216715): No effect
salad = True # persistent
elif self.HP < 0.2 and once() and green >= 12 and salad == False and mouse == False:
wait() # No action
var_65 = True # unknown flag type
elif self.HP < 0.2 and once() and green >= 12 and salad == False and mouse == False:
wait() # No action
elif self.HP < 0.2 and once() and green >= 12 and salad == False and mouse == False:
useSkill(16, 'random') # 火の魔力が集中する! (216715): No effect
salad = True # persistent
elif green >= 12:
endTurn()
green = 0
elif green <= 2:
useSkill(1, 'random') # 喰らう (216700): Physical damage (4x, ATK) to one enemy
green += 1
elif self.HP > 0.7 and apple == False and isTurnMod(4):
useSkill(8, 'random') # ホリッドロア (216707): Unknown active effect type '141': [[1,2,3,4,25,9,10,11,16],999]
apple = True # reset next turn
elif self.HP < 0.7 and apple == False and isTurnMod(3):
useSkill(8, 'random') # ホリッドロア (216707): Unknown active effect type '141': [[1,2,3,4,25,9,10,11,16],999]
apple = True # reset next turn
elif green <= 4 and isTurnMod(2):
useSkill(3, 'random') # ヴェノムファング (216702): Physical damage (2x, ATK) to one enemy (+100% accuracy), Inflict Poison (100%) on one enemy, Physical damage (3x, ATK) per turn to one enemy for 2 turns
green += 1
elif green <= 4:
useSkill(1, 'random') # 喰らう (216700): Physical damage (4x, ATK) to one enemy
green += 1
elif self.HP > 0.7 and berry == False and isTurnMod(3):
useSkill(2, 'random') # むさぼり喰らう (216701): Physical* damage (2.5x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif self.HP < 0.7 and berry == False and isTurnMod(2):
useSkill(2, 'random') # むさぼり喰らう (216701): Physical* damage (2.5x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif self.HP > 0.5 and peach == False and pizza == False and pasta == False:
useSkill(4, 'random') # 炎傷のブレス (216703): Magic fire damage (17x, MAG) to all enemies, Reduce resistance to Ice by 90% for 3 turns to all enemies, Reduce ATK by 15% for 3 turns to all enemies
green += 1
peach = True # reset next turn
pizza = True # persistent
elif self.HP < 0.5 and peach == False and pizza == False and pasta == False:
useSkill(4, 'random') # 炎傷のブレス (216703): Magic fire damage (17x, MAG) to all enemies, Reduce resistance to Ice by 90% for 3 turns to all enemies, Reduce ATK by 15% for 3 turns to all enemies
peach = True # reset next turn
elif self.HP < 0.5 and var_61 == False and pizza == False and pasta == False:
wait() # No action
var_61 = True # unknown flag type
elif self.HP < 0.5 and var_62 == False and pizza == False and pasta == False:
wait() # No action
var_62 = True # unknown flag type
elif self.HP < 0.5 and olive == False and pizza == False and pasta == False:
useSkill(4, 'random') # 炎傷のブレス (216703): Magic fire damage (17x, MAG) to all enemies, Reduce resistance to Ice by 90% for 3 turns to all enemies, Reduce ATK by 15% for 3 turns to all enemies
green += 1
olive = True # reset next turn
pizza = True # persistent
elif self.HP > 0.5 and peach == False and pizza == True:
useSkill(5, 'random') # 氷傷のブレス (216704): Magic ice damage (17x, MAG) to all enemies, Reduce resistance to Lightning by 90% for 3 turns to all enemies, Reduce SPR by 15% for 3 turns to all enemies
green += 1
peach = True # reset next turn
pasta = True # persistent
pizza = False # persistent
elif self.HP < 0.5 and peach == False and pizza == True:
useSkill(5, 'random') # 氷傷のブレス (216704): Magic ice damage (17x, MAG) to all enemies, Reduce resistance to Lightning by 90% for 3 turns to all enemies, Reduce SPR by 15% for 3 turns to all enemies
peach = True # reset next turn
elif self.HP < 0.5 and var_61 == False and pizza == True:
wait() # No action
var_61 = True # unknown flag type
elif self.HP < 0.5 and var_62 == False and pizza == True:
wait() # No action
var_62 = True # unknown flag type
elif self.HP < 0.5 and olive == False and pizza == True:
useSkill(5, 'random') # 氷傷のブレス (216704): Magic ice damage (17x, MAG) to all enemies, Reduce resistance to Lightning by 90% for 3 turns to all enemies, Reduce SPR by 15% for 3 turns to all enemies
green += 1
olive = True # reset next turn
pasta = True # persistent
pizza = False # persistent
elif self.HP > 0.5 and peach == False and pasta == True:
useSkill(6, 'random') # 雷傷のブレス (216705): Magic lightning damage (17x, MAG) to all enemies, Reduce resistance to Fire by 90% for 3 turns to all enemies, Reduce DEF by 15% for 3 turns to all enemies
green += 1
peach = True # reset next turn
pasta = False # persistent
elif self.HP < 0.5 and peach == False and pasta == True:
useSkill(6, 'random') # 雷傷のブレス (216705): Magic lightning damage (17x, MAG) to all enemies, Reduce resistance to Fire by 90% for 3 turns to all enemies, Reduce DEF by 15% for 3 turns to all enemies
peach = True # reset next turn
elif self.HP < 0.5 and var_61 == False and pasta == True:
wait() # No action
var_61 = True # unknown flag type
elif self.HP < 0.5 and var_62 == False and pasta == True:
wait() # No action
var_62 = True # unknown flag type
elif self.HP < 0.5 and olive == False and pasta == True:
useSkill(6, 'random') # 雷傷のブレス (216705): Magic lightning damage (17x, MAG) to all enemies, Reduce resistance to Fire by 90% for 3 turns to all enemies, Reduce DEF by 15% for 3 turns to all enemies
green += 1
olive = True # reset next turn
pasta = False # persistent
else:
attack('random')
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.