Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created April 26, 2019 13:10
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/82ef6065ea07d90c73921468668bb559 to your computer and use it in GitHub Desktop.
Save aEnigmatic/82ef6065ea07d90c73921468668bb559 to your computer and use it in GitHub Desktop.
Eggstinction Trial - Armeggeddon - ELT
##
# Mission 'Armeggeddon - ELT' (9620101)
# BattleScript: 900000025
#
# Battles
# * World Eggsterminator
##
##
# Monster Info
##
#
# Monster World Eggsterminator (900010628)
# Race Stone
# Level 99
# Actions 10-10
#
#
# Stats
# HP 15000000
# MP 10000
# ATK 800
# DEF 3000
# MAG 1100
# SPR 5000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 120%
# Ice 120%
# Lightning 0%
# Water 120%
# Wind 120%
# Earth 120%
# Light 120%
# Dark 120%
# Non-Elemental 120%
#
#
# Status resist (+10% / 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
###
#
# Regeneggration (900240) [Hybrid]
#
# Restore 20% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shattering Earth (900243) [Magic]
#
# Magic earth damage (5x, MAG) to all enemies
# Reduce resistance to Earth by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shaking Earth (900246) [Magic]
#
# Magic damage (3x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 70% for 5 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rockslide (900249) [Physical]
#
# Physical damage (4x, ATK) to all enemies
# Inflict Petrify (70%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scramble (900252) [Physical]
#
# Physical damage (5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Eggsecution (900255) [Physical]
#
# Fixed* damage (99999) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell cracked! (900258) [Hybrid]
#
# Reduce DEF by 90% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hard Boiled (900260) [Hybrid]
#
# Reduce physical damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == False:
useSkill(2, 'random') # Shattering Earth (900243): Magic earth damage (5x, MAG) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
apple = True # reset next turn
elif random() <= 0.30 and honey == True:
useSkill(1, 'random') # Regeneggration (900240): Restore 20% HP to caster
honey = False # persistent
elif self.HP < 0.5 and once():
useSkill(3, 'random') # Shaking Earth (900246): Magic damage (3x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 70% for 5 turns to all enemies
elif random() <= 0.30 and self.HP < 0.5:
useSkill(6, 'random') # Eggsecution (900255): Fixed* damage (99999) to one enemy
elif self.HP < 0.5 and once():
useSkill(8, 'random') # Hard Boiled (900260): Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Reduce magic damage taken by 100% to caster for 2 turns (can not be removed)
honey = True # persistent
elif self.HP < 0.5 and self.sufferedDamageLastTurn('physical', 'thunder') and peach == False:
useSkill(7, 'random') # Its shell cracked! (900258): Reduce DEF by 90% for 3 turns to caster
peach = True # reset next turn
elif self.HP < 0.8 and once():
useSkill(3, 'random') # Shaking Earth (900246): Magic damage (3x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 70% for 5 turns to all enemies
elif self.HP < 0.8 and once():
useSkill(8, 'random') # Hard Boiled (900260): Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Reduce magic damage taken by 100% to caster for 2 turns (can not be removed)
elif random() <= 0.30 and self.HP < 0.8:
useSkill(4, 'random') # Rockslide (900249): Physical damage (4x, ATK) to all enemies, Inflict Petrify (70%) on all enemies
elif unit('5:enemy:any').healedByLastTurn('magic_heal') and olive == False:
useSkill(1, 'random') # Regeneggration (900240): Restore 20% HP to caster
olive = True # reset next turn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment