Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active October 5, 2018 16:52
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/e9fb927fbd44e626bd9f2aa7336cb4cf to your computer and use it in GitHub Desktop.
Save aEnigmatic/e9fb927fbd44e626bd9f2aa7336cb4cf to your computer and use it in GitHub Desktop.
GL Unit Contest Raid - Hasiko's Revenge - ELT
##
# Mission 'Hasiko's Revenge - ELT' (9410101)
# Enemy has first strike!
##
##
# Monster Info
##
#
# Monster Hasiko (900010477)
# Race Demon
# Level 99
# Actions 7-7
#
#
# Stats
# HP 15000000
# MP 10000
# ATK 350
# DEF 780
# MAG 250
# SPR 93
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice 50%
# Lightning 50%
# Water 50%
# Wind 50%
# Earth 50%
# Light 0%
# Dark 50%
# 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 +
#
###
###
# Skills
###
#
# Spirit Burn (900182) [None]
#
# Magic* damage (6x, MAG) to all enemies
# Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies
# Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Intimidating Gaze (900183) [Magic]
#
# Magic dark damage (3x, MAG) to all enemies
# Inflict Petrify (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Maniacal Slash (900184) [Physical]
#
# Physical damage (3x, ATK) to all enemies
# Physical damage (1x, ATK) as HP drain (150%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Thrust (900185) [None]
#
# Physical* damage (9x, ATK) to one enemy
# Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cursed Mind (900186) [Magic]
#
# Magic damage (9x, MAG) to one enemy
# Inflict berserk (+0% ATK) on one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Growl (900187) [Hybrid]
#
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
useSkill(1, 'random') # Spirit Burn (900182): Magic* damage (6x, MAG) to all enemies, Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
elif once():
useSkill(5, 'highest SPR') # Cursed Mind (900186): Magic damage (9x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for 3 turns
elif once():
useSkill(2, 'random') # Intimidating Gaze (900183): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (100%) on all enemies
elif once():
endTurn()
elif apple == False and isTurnMod(3):
useSkill(6, 'random') # Growl (900187): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
apple = True # reset next turn
elif self..HP < 0.3 and once():
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.10 and self..HP < 0.3:
useSkill(5, 'random') # Cursed Mind (900186): Magic damage (9x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for 3 turns
elif random() <= 0.15 and self..HP < 0.3:
useSkill(2, 'random') # Intimidating Gaze (900183): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (100%) on all enemies
elif random() <= 0.20 and self..HP < 0.3 and berry == False:
useSkill(1, 'random') # Spirit Burn (900182): Magic* damage (6x, MAG) to all enemies, Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
berry = True # reset next turn
elif random() <= 0.40 and self..HP < 0.3:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif self..HP < 0.3:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self..HP < 0.5 and once():
useSkill(5, 'highest SPR') # Cursed Mind (900186): Magic damage (9x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for 3 turns
elif random() <= 0.10 and self..HP < 0.5:
useSkill(5, 'random') # Cursed Mind (900186): Magic damage (9x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for 3 turns
elif random() <= 0.15 and self..HP < 0.5 and berry == False:
useSkill(1, 'random') # Spirit Burn (900182): Magic* damage (6x, MAG) to all enemies, Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20 and self..HP < 0.5:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.20 and self..HP < 0.5:
useSkill(2, 'random') # Intimidating Gaze (900183): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (100%) on all enemies
elif random() <= 0.30 and self..HP < 0.5:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self..HP < 0.5:
attack('random')
elif random() <= 0.15 and berry == False:
useSkill(1, 'random') # Spirit Burn (900182): Magic* damage (6x, MAG) to all enemies, Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20:
useSkill(2, 'random') # Intimidating Gaze (900183): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (100%) on all enemies
elif random() <= 0.40:
useSkill(4, 'random') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment