Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created January 22, 2018 21:37
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/0f4f32f6afbc39ec5a370fa87e946784 to your computer and use it in GitHub Desktop.
Save aEnigmatic/0f4f32f6afbc39ec5a370fa87e946784 to your computer and use it in GitHub Desktop.
Beasts of the Dark - ELT - GL
##
# Mission 'Beasts of the Dark ELT' (8991107)
# Enemy has first strike!
##
##
# Monster Info
##
#
# Monster Dark Siren (202008000)
# Race Avian
# Level 100
# Actions 4-4
#
#
# Stats
# HP 700000
# MP 2000
# ATK 450
# DEF 275
# MAG 455
# SPR 205
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 200%
# Lightning 0%
# Water 200%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 200%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 50%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Cura (Magic)
#
# Restore 100000 HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Curaja (Magic)
#
# Restore 9999999 HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Hero's Song (Magic)
#
# Increase ATK, DEF, MAG and SPR by 50% for 5 turns to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Siren Song (Magic)
#
# Inflict Confusion (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Restore (None)
#
# Cure Poison, Blind, Sleep, Silence, Paralyze and Confusion for caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Water (Magic)
#
# Magic water and dark damage (2x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Darker Waterga (Magic)
#
# Magic water and dark damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Raging Hellfire (Magic)
#
# Magic fire, water and dark damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Overflowing Hellfire (Magic)
#
# Magic fire, water and dark damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's trying to recompose itself! (Magic)
#
# Remove all effects from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It deflected the flames with its wings! (Magic)
#
# Magic fire and wind damage (6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's anger boosted its MAG! (Magic)
#
# Increase MAG by 50% for one turn to caster
# Cure Poison, Blind, Sleep, Silence, Paralyze and Confusion for caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Lunatic Voice (Magic)
#
# Magic water and dark damage (4x, MAG) to all enemies
# Inflict Sleep (70%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Voice (Magic)
#
# Magic water and dark damage (5x, MAG) to all enemies
# Inflict Sleep and Silence (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Ifrit has passed its chagrin! (Magic)
#
# Increase ATK and MAG by 100% for 999 turns to caster
# Increase resistance to Fire by 300% for 999 turns to caster
# Restore 9999999 HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It seems to be humming (Magic)
#
# Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ultimate Voice (Magic)
#
# Magic fire, water and dark damage (8x, MAG) to all enemies
# Inflict Sleep (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Osmose (Magic)
#
# Magic damage (0.3x) as MP drain (30%) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if apple == True:
end_turn()
elif once():
useSkill(3, 'random') # Hero's Song (159170): Increase ATK, DEF, MAG and SPR by 50% for 5 turns to all allies
apple = True # reset next turn
elif unit('party_any').isDead() and once():
useSkill(15, 'random') # Dark Ifrit has passed its chagrin! (159290): Increase ATK and MAG by 100% for 999 turns to caster, Increase resistance to Fire by 300% for 999 turns to caster, Restore 9999999 HP to caster
apple = True # reset next turn
ramen = True # persistent
elif sushi == True and berry == False and peach == False:
useSkill(12, 'random') # It's anger boosted its MAG! (159260): Increase MAG by 50% for one turn to caster, Cure Poison, Blind, Sleep, Silence, Paralyze and Confusion for caster
berry = True # reset next turn
elif sushi == True and peach == False:
useSkill(14, 'random') # Chaotic Voice (159280): Magic water and dark damage (5x, MAG) to all enemies, Inflict Sleep and Silence (100%) on all enemies
apple = True # reset next turn
sushi = False # persistent
elif self.hasStatus('Blind') and peach == False:
attack('random')
peach = True # reset next turn
sushi = True # persistent
elif honey == True and mango == False and olive == False and self.sufferedDamageLastTurn('fire', 'phys'):
useSkill(11, 'random') # It deflected the flames with its wings! (159250): Magic fire and wind damage (6x, MAG) to all enemies
olive = True # reset next turn
apple = True # reset next turn
honey = False # persistent
elif honey == True and mango == False and olive == False and self.sufferedDamageLastTurn('fire', 'mag'):
useSkill(11, 'random') # It deflected the flames with its wings! (159250): Magic fire and wind damage (6x, MAG) to all enemies
olive = True # reset next turn
apple = True # reset next turn
honey = False # persistent
elif honey == True and mango == False and olive == False and self.sufferedDamageLastTurn('water', 'phys'):
useSkill(10, 'random') # It's trying to recompose itself! (159240): Remove all effects from caster
olive = True # reset next turn
elif honey == True and mango == False and olive == False and self.sufferedDamageLastTurn('water', 'mag'):
useSkill(10, 'random') # It's trying to recompose itself! (159240): Remove all effects from caster
olive = True # reset next turn
elif honey == True and ramen == True and mango == False:
useSkill(17, 'random') # Ultimate Voice (159310): Magic fire, water and dark damage (8x, MAG) to all enemies, Inflict Sleep (100%) on all enemies
apple = True # reset next turn
honey = False # persistent
elif honey == True and ramen == False and mango == False:
useSkill(13, 'random') # Dark Lunatic Voice (159270): Magic water and dark damage (4x, MAG) to all enemies, Inflict Sleep (70%) on all enemies
apple = True # reset next turn
honey = False # persistent
elif steak == False and lemon == False and self.HP < 0.5:
useSkill(1, 'random') # Cura (159150): Restore 100000 HP to all allies
lemon = True # reset next turn
elif fries == False and lemon == False and self.HP < 0.3:
useSkill(2, 'random') # Curaja (159160): Restore 9999999 HP to all allies
lemon = True # reset next turn
elif unit('party_all').HP < 0.5 and unit('party_all').isAlive() and sushi == False and once():
attack('random')
elif unit('party_all').HP < 0.5 and unit('party_all').isAlive() and sushi == False and once():
attack('random')
elif unit('party_all').HP < 0.5 and unit('party_all').isAlive() and sushi == False and once():
attack('random')
elif unit('party_all').HP < 0.5 and unit('party_all').isAlive() and sushi == False and once():
attack('random')
elif ramen == False and honey == False and self.HP < 0.7 and once():
useSkill(16, 'random') # It seems to be humming (159300): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
mango = True # reset next turn
apple = True # reset next turn
honey = True # persistent
steak = True # persistent
elif ramen == False and honey == False and self.HP < 0.5 and once():
useSkill(16, 'random') # It seems to be humming (159300): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
mango = True # reset next turn
apple = True # reset next turn
honey = True # persistent
fries = True # persistent
elif ramen == False and honey == False and self.HP < 0.3 and once():
useSkill(16, 'random') # It seems to be humming (159300): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
salad = 1
mango = True # reset next turn
apple = True # reset next turn
honey = True # persistent
elif ramen == True and honey == False and self.HP < 0.7 and once():
useSkill(16, 'random') # It seems to be humming (159300): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
mango = True # reset next turn
apple = True # reset next turn
honey = True # persistent
steak = True # persistent
elif ramen == True and honey == False and self.HP < 0.5 and once():
useSkill(16, 'random') # It seems to be humming (159300): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
mango = True # reset next turn
apple = True # reset next turn
honey = True # persistent
fries = True # persistent
elif ramen == True and honey == False and self.HP < 0.3 and once():
useSkill(16, 'random') # It seems to be humming (159300): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
salad = 1
mango = True # reset next turn
apple = True # reset next turn
honey = True # persistent
elif random() <= 0.50 and ramen == False and grape == False and isTurnMod(3):
useSkill(18, 'random') # Osmose (120180): Magic damage (0.3x) as MP drain (30%) to one enemy
grape = True # reset next turn
elif random() <= 0.50 and ramen == False and grape == False and isTurnMod(2):
useSkill(4, 'random') # Siren Song (159180): Inflict Confusion (100%) on one enemy
grape = True # reset next turn
elif random() <= 0.30 and ramen == False and melon == False:
useSkill(7, 'random') # Darker Waterga (159210): Magic water and dark damage (2x, MAG) to all enemies
melon = True # reset next turn
elif random() <= 0.30 and ramen == False:
useSkill(6, 'random') # Dark Water (159200): Magic water and dark damage (2x, MAG) to one enemy
elif ramen == True and grape == False:
useSkill(18, 'random') # Osmose (120180): Magic damage (0.3x) as MP drain (30%) to one enemy
grape = True # reset next turn
elif random() <= 0.50 and ramen == True and melon == False:
useSkill(9, 'random') # Overflowing Hellfire (159230): Magic fire, water and dark damage (4x, MAG) to all enemies
melon = True # reset next turn
elif random() <= 0.40 and ramen == True:
useSkill(8, 'random') # Raging Hellfire (159220): Magic fire, water and dark damage (4x, MAG) to one enemy
else:
attack('random')
##
# Monster Info
##
#
# Monster Dark Ifrit (301028000)
# Race Beast
# Level 100
# Actions 4-4
#
#
# Stats
# HP 700000
# MP 2000
# ATK 705
# DEF 275
# MAG 455
# SPR 205
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 200%
# Ice -50%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 200%
#
#
# 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%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Dark Mist (Magic)
#
# Reduce resistance to Dark by 10% for 5 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Claw (Physical)
#
# Physical damage (1.7x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heat Collection (Physical)
#
# Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Ball (Magic)
#
# Magic fire and dark damage (2x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hellflame (Magic)
#
# Magic fire and dark damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Flames of Purgatory (Magic)
#
# Magic fire and dark damage (3.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Anger Claw (Physical)
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Hell Ball (Magic)
#
# Magic fire, water and dark damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Hellflame (Magic)
#
# Magic fire, water and dark damage (4.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Aqua Blaze (Magic)
#
# Magic fire, water and dark damage (8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hellfire Requiem (Magic)
#
# Magic fire, water and dark damage (9.99x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's trying to recompose itself! (Magic)
#
# Remove all effects from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's flames are growing! (Magic)
#
# Increase MAG by 100% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's damaged and it's going crazy with anger! (Physical)
#
# Physical damage (9.99x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Siren has passed its chagrin! (Magic)
#
# Increase DEF and SPR by 100% for 999 turns to caster
# Increase resistance to Water by 300% for 999 turns to caster
# Restore 9999999 HP to caster
# Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Siren is putting it all on the line! (Magic)
#
# Increase ATK and MAG by 50% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
end_turn()
elif once():
useSkill(1, 'random') # Dark Mist (158990): Reduce resistance to Dark by 10% for 5 turns to all enemies
apple = True # reset next turn
elif unit('party_any').isDead() and once():
useSkill(15, 'random') # Dark Siren has passed its chagrin! (159130): Increase DEF and SPR by 100% for 999 turns to caster, Increase resistance to Water by 300% for 999 turns to caster, Restore 9999999 HP to caster, Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to all enemies
apple = True # reset next turn
ramen = True # persistent
elif lemon == False and self.hasDebuff('DEF'):
useSkill(16, 'random') # Dark Siren is putting it all on the line! (159140): Increase ATK and MAG by 50% for one turn to caster
lemon = True # reset next turn
elif lemon == False and self.hasDebuff('SPR'):
useSkill(16, 'random') # Dark Siren is putting it all on the line! (159140): Increase ATK and MAG by 50% for one turn to caster
lemon = True # reset next turn
elif unit('party_all').HP < 0.5 and unit('party_all').isAlive() and sushi == False and self.HP < 0.5 and once():
useSkill(11, 'random') # Hellfire Requiem (159090): Magic fire, water and dark damage (9.99x, MAG) to all enemies
apple = True # reset next turn
elif honey == True and grape == False and self.sufferedDamageLastTurn('fire', 'phys'):
useSkill(13, 'random') # It's flames are growing! (159110): Increase MAG by 100% for one turn to caster
grape = True # reset next turn
elif honey == True and grape == False and self.sufferedDamageLastTurn('fire', 'mag'):
useSkill(13, 'random') # It's flames are growing! (159110): Increase MAG by 100% for one turn to caster
grape = True # reset next turn
elif honey == True and grape == False and self.sufferedDamageLastTurn('water', 'phys'):
useSkill(12, 'random') # It's trying to recompose itself! (159100): Remove all effects from caster
grape = True # reset next turn
elif honey == True and grape == False and self.sufferedDamageLastTurn('water', 'mag'):
useSkill(12, 'random') # It's trying to recompose itself! (159100): Remove all effects from caster
grape = True # reset next turn
elif honey == True and ramen == True:
useSkill(10, 'random') # Aqua Blaze (159080): Magic fire, water and dark damage (8x, MAG) to all enemies
apple = True # reset next turn
honey = False # persistent
elif honey == True and ramen == False:
useSkill(6, 'random') # Flames of Purgatory (159040): Magic fire and dark damage (3.8x, MAG) to all enemies
apple = True # reset next turn
honey = False # persistent
elif bacon == False and berry == False and self.HP < 0.5 and once():
useSkill(14, 'random') # It's damaged and it's going crazy with anger! (159120): Physical damage (9.99x, ATK) to all enemies
berry = True # reset next turn
elif bacon == False and peach == False and self.HP < 0.5 and once():
useSkill(14, 'random') # It's damaged and it's going crazy with anger! (159120): Physical damage (9.99x, ATK) to all enemies
peach = True # reset next turn
elif bacon == False and olive == False and self.HP < 0.5 and once():
useSkill(14, 'random') # It's damaged and it's going crazy with anger! (159120): Physical damage (9.99x, ATK) to all enemies
olive = True # reset next turn
elif bacon == False and mango == False and self.HP < 0.5 and once():
useSkill(14, 'random') # It's damaged and it's going crazy with anger! (159120): Physical damage (9.99x, ATK) to all enemies
mango = True # reset next turn
elif sushi == False and berry == False and self.HP < 0.3 and once():
useSkill(14, 'random') # It's damaged and it's going crazy with anger! (159120): Physical damage (9.99x, ATK) to all enemies
berry = True # reset next turn
elif salad == False and peach == False and self.HP < 0.3 and once():
useSkill(14, 'random') # It's damaged and it's going crazy with anger! (159120): Physical damage (9.99x, ATK) to all enemies
peach = True # reset next turn
elif salad == False and olive == False and self.HP < 0.3 and once():
useSkill(14, 'random') # It's damaged and it's going crazy with anger! (159120): Physical damage (9.99x, ATK) to all enemies
olive = True # reset next turn
elif salad == False and mango == False and self.HP < 0.3 and once():
useSkill(14, 'random') # It's damaged and it's going crazy with anger! (159120): Physical damage (9.99x, ATK) to all enemies
mango = True # reset next turn
elif ramen == False and honey == False and self.HP < 0.7 and once():
useSkill(3, 'random') # Heat Collection (159010): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
apple = True # reset next turn
honey = True # persistent
bacon = True # persistent
elif ramen == False and honey == False and self.HP < 0.5 and once():
useSkill(3, 'random') # Heat Collection (159010): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
apple = True # reset next turn
honey = True # persistent
sushi = True # persistent
salad = True # persistent
elif ramen == False and honey == False and self.HP < 0.3 and once():
useSkill(3, 'random') # Heat Collection (159010): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
steak = 1
apple = True # reset next turn
honey = True # persistent
elif ramen == True and honey == False and self.HP < 0.7 and once():
useSkill(3, 'random') # Heat Collection (159010): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
apple = True # reset next turn
honey = True # persistent
bacon = True # persistent
elif ramen == True and honey == False and self.HP < 0.5 and once():
useSkill(3, 'random') # Heat Collection (159010): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
apple = True # reset next turn
honey = True # persistent
sushi = True # persistent
salad = True # persistent
elif ramen == True and honey == False and self.HP < 0.3 and once():
useSkill(3, 'random') # Heat Collection (159010): Increase DEF and SPR by 100% and ATK and MAG by 50% for one turn to caster
steak = 1
apple = True # reset next turn
honey = True # persistent
elif random() <= 0.30 and ramen == False and melon == False and isTurnMod(3):
useSkill(5, 'random') # Hellflame (159030): Magic fire and dark damage (2x, MAG) to all enemies
melon = True # reset next turn
elif random() <= 0.30 and ramen == False:
useSkill(4, 'random') # Hell Ball (159020): Magic fire and dark damage (2x, MAG) to one enemy
elif random() <= 0.30 and ramen == False:
useSkill(2, 'random') # Claw (159000): Physical damage (1.7x, ATK) to one enemy
elif random() <= 0.60 and ramen == True and melon == False:
useSkill(9, 'random') # Super Hellflame (159070): Magic fire, water and dark damage (4.5x, MAG) to all enemies
melon = True # reset next turn
elif random() <= 0.50 and ramen == True:
useSkill(8, 'random') # Super Hell Ball (159060): Magic fire, water and dark damage (5x, MAG) to one enemy
elif random() <= 0.50 and ramen == True:
useSkill(7, 'random') # Anger Claw (159050): Physical damage (3x, ATK) to one enemy
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment