Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created February 24, 2018 18:11
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/b43260793c9eef5d2c71ea1c4024998b to your computer and use it in GitHub Desktop.
Save aEnigmatic/b43260793c9eef5d2c71ea1c4024998b to your computer and use it in GitHub Desktop.
Imperial Infiltration - ELT
##
# Mission 'Imperial Infiltration - ELT' (7660104)
##
##
# Monster Info
##
#
# Monster MA-X Maniple (406121003)
# Race Machina
# Level 99
# Actions 5-5
#
#
# Stats
# HP 4000000
# MP 10000
# ATK 380
# DEF 50
# MAG 25
# SPR 50
#
#
# 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 (+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 0%
# Berserk? 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Trample (Physical)
#
# Physical damage (2.5x, ATK) to one enemy
# Reduce DEF by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Manipulate Scissors (Physical)
#
# Physical damage (2.5x, ATK) to one enemy
# Reduce ATK by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Turret (Physical)
#
# Physical damage (2.4x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Missile Drop (Physical)
#
# Physical damage (2x, ATK) to one enemy
# Inflict Blind, Paralyze and Confusion (30%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spear Shock (Physical)
#
# Physical lightning damage (2.81x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shrapnel (Physical)
#
# Physical damage (2.9x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Self-Destruct (Physical)
#
# Physical damage (7x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.05 and self.HP < 0.5 and once():
useSkill(7, 'random') # Self-Destruct (174940): Physical damage (7x, ATK) to all enemies
elif isTurnMod(3) and apple == False:
useSkill(6, 'random') # Shrapnel (174930): Physical damage (2.9x, ATK) to all enemies
apple = True # reset next turn
elif random() <= 0.15 and berry == False:
useSkill(3, 'random') # Turret (174900): Physical damage (2.4x, ATK) to all enemies
berry = True # reset next turn
elif random() <= 0.20:
useSkill(1, 'random') # Trample (174880): Physical damage (2.5x, ATK) to one enemy, Reduce DEF by 50% for 3 turns to one enemy
elif random() <= 0.25:
useSkill(2, 'random') # Manipulate Scissors (174890): Physical damage (2.5x, ATK) to one enemy, Reduce ATK by 50% for 3 turns to one enemy
elif random() <= 0.30:
useSkill(4, 'random') # Missile Drop (174910): Physical damage (2x, ATK) to one enemy, Inflict Blind, Paralyze and Confusion (30%) on one enemy
elif random() <= 0.35:
useSkill(5, 'random') # Spear Shock (174920): Physical lightning damage (2.81x, 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