Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created August 1, 2018 18:01
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/3e347e8e8e184589dc0f6b4b542bcd71 to your computer and use it in GitHub Desktop.
Save aEnigmatic/3e347e8e8e184589dc0f6b4b542bcd71 to your computer and use it in GitHub Desktop.
Titan 3* - New Trial of the Giant - GL
##
# Mission 'New Trial of the Giant' (1515007)
##
##
# Monster Info
##
#
# Monster Titan (405031002)
# Race Human
# Level 99
# Actions 9-9
#
#
# Stats
# HP 100000000
# MP 100000
# ATK 800
# DEF 100
# MAG 550
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind -100%
# 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 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk? 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Gaia's Wrath (181670) [Physical]
#
# Physical earth damage (2.5x, ATK) to all enemies
# Inflict Petrify (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rock Deposition (181680) [None]
#
# Add Earth element to physical attacks for 3 turn(s) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stone Rapture (181690) [None]
#
# Remove one enemy from the fight
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rock Slide (181700) [None]
#
# Reduce DEF and SPR by 99% for 2 turns to one enemy
# Reduce resistance to Earth by 100% for 2 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gigantic Feast (181710) [Magic]
#
# Magic damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Severe Earthquake (181720) [Physical]
#
# Magic* damage (4x, MAG) to all enemies
# Inflict Paralyze (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gigantic Growth (181730) [None]
#
# Increase ATK, DEF, MAG and SPR by 100% for 999 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Giant Crusher (181740) [Magic]
#
# Magic damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Scramble (181750) [Magic]
#
# Magic damage (1.5x, MAG) to all enemies
# Reduce DEF and SPR by 30% for 2 turns to all enemies
# Inflict Silence and Confusion (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
end_turn()
elif once():
useSkill(2, 'random') # Rock Deposition (181680): Add Earth element to physical attacks for 3 turn(s) to all enemies
elif once():
useSkill(4, 'mind_max') # Rock Slide (181700): Reduce DEF and SPR by 99% for 2 turns to one enemy, Reduce resistance to Earth by 100% for 2 turns to one enemy
elif self.HP < 0.8 and once():
useSkill(4, 'mind_max') # Rock Slide (181700): Reduce DEF and SPR by 99% for 2 turns to one enemy, Reduce resistance to Earth by 100% for 2 turns to one enemy
elif self.HP < 0.8 and once():
useSkill(1, 'random') # Gaia's Wrath (181670): Physical earth damage (2.5x, ATK) to all enemies, Inflict Petrify (100%) on all enemies
elif self.HP < 0.8 and once():
useSkill(2, 'random') # Rock Deposition (181680): Add Earth element to physical attacks for 3 turn(s) to all enemies
apple = True # reset next turn
elif self.HP < 0.5 and once():
useSkill(4, 'mind_max') # Rock Slide (181700): Reduce DEF and SPR by 99% for 2 turns to one enemy, Reduce resistance to Earth by 100% for 2 turns to one enemy
elif self.HP < 0.5 and once():
useSkill(1, 'random') # Gaia's Wrath (181670): Physical earth damage (2.5x, ATK) to all enemies, Inflict Petrify (100%) on all enemies
elif self.HP < 0.5 and once():
useSkill(2, 'random') # Rock Deposition (181680): Add Earth element to physical attacks for 3 turn(s) to all enemies
elif self.HP < 0.5 and once():
useSkill(7, 'random') # Gigantic Growth (181730): Increase ATK, DEF, MAG and SPR by 100% for 999 turns to caster
apple = True # reset next turn
honey = True # persistent
elif honey == True and once():
useSkill(3, 'random') # Stone Rapture (181690): Remove one enemy from the fight
elif honey == True and isTurnMod(2) and berry == False:
useSkill(9, 'random') # Earth Scramble (181750): Magic damage (1.5x, MAG) to all enemies, Reduce DEF and SPR by 30% for 2 turns to all enemies, Inflict Silence and Confusion (100%) on all enemies
berry = True # reset next turn
elif honey == True and peach == False:
useSkill(8, 'random') # Giant Crusher (181740): Magic damage (4x, MAG) to all enemies
peach = True # reset next turn
elif mango == False:
useSkill(6, 'random') # Severe Earthquake (181720): Magic* damage (4x, MAG) to all enemies, Inflict Paralyze (100%) on all enemies
mango = True # reset next turn
elif lemon == False:
useSkill(4, 'random') # Rock Slide (181700): Reduce DEF and SPR by 99% for 2 turns to one enemy, Reduce resistance to Earth by 100% for 2 turns to one enemy
lemon = True # reset next turn
elif random() <= 0.15 and honey == False:
useSkill(5, 'random') # Gigantic Feast (181710): Magic damage (4x, MAG) to one enemy
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment