Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created August 17, 2019 11:28
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/760ac74418d253c2be5964ee76cf8144 to your computer and use it in GitHub Desktop.
Save aEnigmatic/760ac74418d253c2be5964ee76cf8144 to your computer and use it in GitHub Desktop.
Demon Parade - LGD
##
# Mission 'Demon Parade - LGD' (9790105)
#
# Battles
# * Red Elemental, Red Elemental, Red Elemental, Red Elemental, Red Elemental, Red Elemental
# * Obake Lantern
##
##
# Monster Info
##
#
# Monster Obake Lantern (900010660, 900010656)
# Race Demon, Fairy
# Level 99
# Actions 10-10
#
#
# Stats
# HP 10000000
# MP 100000
# ATK 500
# DEF 200
# MAG 500
# SPR 2000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 80%
# Ice 80%
# Lightning 80%
# Water -20%
# Wind 80%
# Earth 80%
# Light 80%
# Dark 80%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 60%
# Blind 60%
# Sleep 60%
# Silence 60%
# Paralyze 60%
# Confusion 60%
# Disease 60%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Melting Candle (900363) [Physical]
#
# Physical damage (3x, ATK) to all enemies
# Physical damage (3x, ATK) per turn to all enemies for 10 turns
# Unused parameters: [0,0,900363]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light It Up (900364) [Physical]
#
# Physical fire damage (5x, ATK) to all enemies
# Physical fire damage (5x, ATK) per turn to all enemies for 5 turns
# Unused parameters: [0,0,900364]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ghastly Flames (900365) [Magic]
#
# Magic fire damage (3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paper Thin (900366) [Physical]
#
# Physical damage (1x, ATK) to all enemies
# Reduce resistance to Fire by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mesmerizing Blaze (900367) [Physical]
#
# Physical damage (2x, ATK) to one enemy
# Inflict Confusion (50%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stunning Blaze (900368) [Physical]
#
# Physical damage (2x, ATK) to one enemy
# Inflict Paralyze (50%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immobilizing Blaze (900369) [Physical]
#
# Physical damage (2x, ATK) to one enemy
# Inflict Petrify (50%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Calming Blaze (900370) [Physical]
#
# Physical damage (2x, ATK) to one enemy
# Inflict Silence (50%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Staying Alight (900371) [None]
#
# Cure all status effects for caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dispersing Smoke (900372) [None]
#
# Increase break resistance to DEF and SPR by 100% for one turn to caster
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if honey == True:
endTurn()
honey = False # persistent
elif once():
useSkill(1, 'random') # Melting Candle (900363): Physical damage (3x, ATK) to all enemies, Physical damage (3x, ATK) per turn to all enemies for 10 turns
elif once():
useSkill(10, 'random') # Dispersing Smoke (900372): Increase break resistance to DEF and SPR by 100% for one turn to caster
honey = True # persistent
elif self.hasStatus('any') and apple == False:
useSkill(9, 'random') # Staying Alight (900371): Cure all status effects for caster
apple = True # reset next turn
elif apple == False and berry == False:
useSkill(10, 'random') # Dispersing Smoke (900372): Increase break resistance to DEF and SPR by 100% for one turn to caster
berry = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and peach == False:
useSkill(4, 'random') # Paper Thin (900366): Physical damage (1x, ATK) to all enemies, Reduce resistance to Fire by 200% for 3 turns to all enemies
peach = True # reset next turn
elif self.HP < 0.3 and once():
useSkill(4, 'random') # Paper Thin (900366): Physical damage (1x, ATK) to all enemies, Reduce resistance to Fire by 200% for 3 turns to all enemies
elif random() <= 0.50 and self.HP < 0.5 and olive == False:
useSkill(5, 'highest ATK') # Mesmerizing Blaze (900367): Physical damage (2x, ATK) to one enemy, Inflict Confusion (50%) on one enemy
olive = True # reset next turn
elif random() <= 0.50 and self.HP < 0.5 and mango == False:
useSkill(6, 'highest SPR') # Stunning Blaze (900368): Physical damage (2x, ATK) to one enemy, Inflict Paralyze (50%) on one enemy
mango = True # reset next turn
elif random() <= 0.50 and self.HP < 0.5 and lemon == False:
useSkill(7, 'highest DEF') # Immobilizing Blaze (900369): Physical damage (2x, ATK) to one enemy, Inflict Petrify (50%) on one enemy
lemon = True # reset next turn
elif random() <= 0.50 and self.HP < 0.5 and grape == False:
useSkill(8, 'highest MAG') # Calming Blaze (900370): Physical damage (2x, ATK) to one enemy, Inflict Silence (50%) on one enemy
grape = True # reset next turn
elif random() <= 0.20:
useSkill(2, 'random') # Light It Up (900364): Physical fire damage (5x, ATK) to all enemies, Physical fire damage (5x, ATK) per turn to all enemies for 5 turns
elif random() <= 0.40:
useSkill(3, 'random') # Ghastly Flames (900365): Magic fire damage (3x, MAG) to all enemies
else:
attack('random')
##
# Monster Info
##
#
# Monster Red Elemental (900010699, 5)
# Race Fairy
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# 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 (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire (120010) [Magic]
#
# Magic fire damage (1.2x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if random() <= 0.70:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Red Elemental (900010700, 5)
# Race Fairy
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# 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 (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire (120010) [Magic]
#
# Magic fire damage (1.2x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if random() <= 0.70:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Red Elemental (900010698, 5)
# Race Fairy
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# 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 (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire (120010) [Magic]
#
# Magic fire damage (1.2x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if random() <= 0.70:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Red Elemental (900010690, 5)
# Race Fairy
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# 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 (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire (120010) [Magic]
#
# Magic fire damage (1.2x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if random() <= 0.70:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Red Elemental (900010691, 5)
# Race Fairy
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# 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 (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire (120010) [Magic]
#
# Magic fire damage (1.2x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if random() <= 0.70:
useRandomSkill('random')
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment