Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active July 13, 2019 23:26
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/467e48828b28e2c2c0dba7572aa0bfcb to your computer and use it in GitHub Desktop.
Save aEnigmatic/467e48828b28e2c2c0dba7572aa0bfcb to your computer and use it in GitHub Desktop.
Battle Before the Guardian - ELT
##
# Mission 'Battle Before the Guardian - ELT' (8390104)
# BattleScript: 751010102
#
# Battles
# * Rapps
##
##
# Monster Info
##
#
# Monster Rapps (407231003)
# Race Dragon
# Level 99
# Actions 5-5
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 4000000
# MP 10000
# ATK 360
# DEF 50
# MAG 340
# SPR 50
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 50%
# Earth -50%
# 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 +
#
###
###
# Skills
###
#
# Scorpion's Tail (206390) [Physical]
#
# Physical damage (2.55x, ATK) to one enemy
# Inflict Poison (50%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Aero3 (206400) [Magic]
#
# Magic wind damage (2.55x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Bite (206410) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralyzing Bite (206420) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
# Inflict Paralyze (20%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Howling Wind (206430) [None]
#
# Increase ATK and MAG by 30% for 3 turns to one ally
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Poison Storm (206440) [Magic]
#
# Magic wind damage (3x, MAG) to all enemies
# Inflict Poison (50%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Apparition (206450) [None]
#
# Dodge 3 physical attacks for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if honey == True:
endTurn()
honey = False # persistent
elif self.HP < 0.5 and once() and berry == False:
useSkill(5, 'random') # Howling Wind (206430): Increase ATK and MAG by 30% for 3 turns to one ally
berry = True # reset next turn
ramen = True # persistent
elif ramen == True and once() and peach == False:
useSkill(6, 'random') # Poison Storm (206440): Magic wind damage (3x, MAG) to all enemies, Inflict Poison (50%) on all enemies
peach = True # reset next turn
elif ramen == True and once() and olive == False:
useSkill(4, 'random') # Paralyzing Bite (206420): Physical damage (2.5x, ATK) to one enemy, Inflict Paralyze (20%) on one enemy
olive = True # reset next turn
elif ramen == True and once() and mango == False:
useSkill(7, 'random') # Apparition (206450): Dodge 3 physical attacks for 3 turns to caster
mango = True # reset next turn
honey = True # persistent
elif self.HP < 0.3 and once() and apple == False:
useSkill(7, 'random') # Apparition (206450): Dodge 3 physical attacks for 3 turns to caster
apple = True # reset next turn
elif self.HP < 0.7 and once() and apple == False:
useSkill(7, 'random') # Apparition (206450): Dodge 3 physical attacks for 3 turns to caster
apple = True # reset next turn
elif isTurnMod(2) and lemon == False:
useSkill(2, 'random') # Aero3 (206400): Magic wind damage (2.55x, MAG) to all enemies
lemon = True # reset next turn
elif isTurnMod(2) and grape == False:
useSkill(4, 'random') # Paralyzing Bite (206420): Physical damage (2.5x, ATK) to one enemy, Inflict Paralyze (20%) on one enemy
grape = True # reset next turn
elif random() <= 0.50 and melon == False:
useSkill(1, 'random') # Scorpion's Tail (206390): Physical damage (2.55x, ATK) to one enemy, Inflict Poison (50%) on one enemy
melon = True # reset next turn
elif melon == False:
useSkill(3, 'random') # Bite (206410): Physical damage (2.5x, ATK) to one enemy
melon = True # reset next turn
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment