Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created July 13, 2019 23:25
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/e1c3891589d0e8295592523eb0a8df0b to your computer and use it in GitHub Desktop.
Save aEnigmatic/e1c3891589d0e8295592523eb0a8df0b to your computer and use it in GitHub Desktop.
Dr. Eggman ELT
##
# Mission 'Armeggeddon - ELT' (9630102)
#
# Battles
# * Eggsterminator Eggstraordinaire
##
##
# Monster Info
##
#
# Monster Eggsterminator Eggstraordinaire (900010631, 900010629)
# Race Stone
# Level 99
# Actions 13-13
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 26000000
# MP 100000
# ATK 600
# DEF 2000
# MAG 800
# SPR 5000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 80%
# Ice 80%
# Lightning 0%
# Water 80%
# Wind 80%
# Earth 80%
# Light 80%
# Dark 80%
# Non-Elemental 0%
#
#
# 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 (900241) [Hybrid]
#
# Restore 30% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shattering Earth (900244) [Magic]
#
# Magic earth damage (5x, MAG) to all enemies
# Reduce resistance to Earth by 200% for 3 turns to all enemies
# Unused parameters: [1]
# Inflict Paralyze (50%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shaking Earth (900247) [Magic]
#
# Magic damage (5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rockslide (900250) [Physical]
#
# Physical damage (5x, ATK) to all enemies
# Inflict Petrify (100%) 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 (900256) [Physical]
#
# Fixed* damage (99999) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell cracked! (900259) [Hybrid]
#
# Reduce DEF by 90% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hard Boiled (900261) [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]
# Increase ATK and MAG by 100% for 5 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Destroyer's Shell (900262) [Hybrid]
#
# Reduce ATK, DEF, MAG and SPR by 99% for 5 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.50 and apple == False:
useSkill(2, 'random') # Shattering Earth (900244): Magic earth damage (5x, MAG) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies, Inflict Paralyze (50%) on all enemies
apple = True # reset next turn
elif random() <= 0.50 and berry == False:
useSkill(5, 'random') # Scramble (900252): Physical damage (5x, ATK) to one enemy
berry = True # reset next turn
elif honey == True:
useSkill(9, 'random') # Destroyer's Shell (900262): Reduce ATK, DEF, MAG and SPR by 99% for 5 turns to all enemies
honey = False # persistent
elif random() <= 0.30 and self.HP < 0.5:
useSkill(3, 'random') # Shaking Earth (900247): Magic damage (5x, MAG) to all enemies
elif random() <= 0.30 and self.HP < 0.5:
useSkill(6, 'random') # Eggsecution (900256): Fixed* damage (99999) to one enemy
elif random() <= 0.30 and self.HP < 0.5:
useSkill(4, 'random') # Rockslide (900250): Physical damage (5x, ATK) to all enemies, Inflict Petrify (100%) on all enemies
elif random() <= 0.10 and self.HP < 0.5:
useSkill(8, 'random') # Hard Boiled (900261): 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), Increase ATK and MAG by 100% for 5 turns to caster
honey = True # persistent
elif self.HP < 0.5 and self.sufferedDamageLastTurn('physical', 'thunder') and peach == False:
useSkill(7, 'random') # Its shell cracked! (900259): 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 (900247): Magic damage (5x, MAG) to all enemies
elif self.HP < 0.8 and once():
useSkill(8, 'random') # Hard Boiled (900261): 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), Increase ATK and MAG by 100% for 5 turns to caster
elif random() <= 0.30 and self.HP < 0.8:
useSkill(4, 'random') # Rockslide (900250): Physical damage (5x, ATK) to all enemies, Inflict Petrify (100%) on all enemies
elif unit('5:enemy:any').healedByLastTurn('magic_heal') and olive == False:
useSkill(1, 'random') # Regeneggration (900241): Restore 30% HP to caster
olive = 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