Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active March 2, 2018 08:59
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/f9e37307b82c1f8d84ce24099e52bf84 to your computer and use it in GitHub Desktop.
Save aEnigmatic/f9e37307b82c1f8d84ce24099e52bf84 to your computer and use it in GitHub Desktop.
Aranea - GL
##
# Mission 'Fort Vaullerey - Battle with Aranea' (7670101)
##
##
# Monster Info
##
#
# Monster Aranea (205761000)
# Race Human
# Level 99
# Actions 10-10
#
#
# Stats
# HP 10000000
# MP 50000
# ATK 400
# DEF 250
# MAG 25
# SPR 250
#
#
# 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
###
#
# Forward Lunge (Physical)
#
# Physical damage (3.3x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dash Thrust (Physical)
#
# Physical damage (3.8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Brandish (Physical)
#
# Physical damage (3x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Smash (Physical)
#
# Physical damage (4x, ATK) to one enemy
# Reduce DEF by 50% for 2 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Swooping Blow (Physical)
#
# Physical damage (4x, ATK) to one enemy
# Reduce ATK by 50% for 2 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Highwind (Physical)
#
# Physical damage (7.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Highwind (Physical)
#
# Physical damage (2x, ATK) to all enemies
# Reduce DEF by 50% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Highwind (Physical)
#
# Physical damage (4.8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Roundhouse Kick (Physical)
#
# Physical damage (3.4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spectral Flight (None)
#
# Dodge 2 physical attacks for 5 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Radical Belief (Physical)
#
# Physical damage (2x, ATK) to one enemy
# Increase ATK by 40% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Reader (None)
#
# Increase ATK by 50% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Overclock (Physical)
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Overclock (Physical)
#
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Overclock (Physical)
#
# Physical damage (8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Overclock (Physical)
#
# Physical damage (16x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Brandish (Physical)
#
# Physical damage (3.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if self.HP > 0.3 and isTurnMod(4) and honey == False and apple == False:
useSkill(12, 'random') # Wind Reader (175060): Increase ATK by 50% for 3 turns to caster
apple = True # reset next turn
honey = True # persistent
elif unit('player_any').usedLbLastTurn() and apple == False and honey == True:
useSkill(7, 'random') # Highwind (175010): Physical damage (2x, ATK) to all enemies, Reduce DEF by 50% for 3 turns to caster
honey = False # persistent
elif apple == False and honey == True:
useSkill(6, 'random') # Highwind (175000): Physical damage (7.5x, ATK) to all enemies
honey = False # persistent
elif self.HP < 0.6 and isTurnMod(3) and berry == False:
useSkill(10, 'random') # Spectral Flight (175040): Dodge 2 physical attacks for 5 turns to caster
berry = True # reset next turn
elif ramen == False and green > 3:
useSkill(13, 'random') # Overclock (175070): Physical damage (2x, ATK) to one enemy
ramen = True # persistent
green = 0
elif ramen == True and sushi == False and green > 3:
useSkill(14, 'random') # Overclock (175080): Physical damage (4x, ATK) to one enemy
sushi = True # persistent
green = 0
elif sushi == True and bacon == False and green > 3:
useSkill(15, 'random') # Overclock (175090): Physical damage (8x, ATK) to one enemy
bacon = True # persistent
green = 0
elif bacon == True and peach == False and green > 3:
useSkill(16, 'random') # Overclock (175100): Physical damage (16x, ATK) to one enemy
peach = True # reset next turn
green = 0
elif self.HP < 0.5 and olive == False:
useSkill(11, 'random') # Radical Belief (175050): Physical damage (2x, ATK) to one enemy, Increase ATK by 40% for one turn to caster
olive = True # reset next turn
elif random() <= 0.15 and self.HP < 0.3 and mango == False:
useSkill(8, 'random') # Highwind (175020): Physical damage (4.8x, ATK) to all enemies
mango = True # reset next turn
elif random() <= 0.25 and self.HP < 0.5:
useSkill(2, 'random') # Dash Thrust (174960): Physical damage (3.8x, ATK) to all enemies
green += 1
elif random() <= 0.15 and self.HP < 0.5:
useSkill(17, 'random') # Brandish (174971): Physical damage (3.5x, ATK) to all enemies
elif random() <= 0.30 and self.HP < 0.5:
useSkill(4, 'random') # Smash (174980): Physical damage (4x, ATK) to one enemy, Reduce DEF by 50% for 2 turns to one enemy
elif random() <= 0.40 and self.HP < 0.5:
useSkill(5, 'random') # Swooping Blow (174990): Physical damage (4x, ATK) to one enemy, Reduce ATK by 50% for 2 turns to one enemy
elif random() <= 0.20 and self.HP > 0.5:
useSkill(1, 'random') # Forward Lunge (174950): Physical damage (3.3x, ATK) to all enemies
green += 1
elif random() <= 0.25 and self.HP > 0.5:
useSkill(2, 'random') # Dash Thrust (174960): Physical damage (3.8x, ATK) to all enemies
green += 1
elif random() <= 0.30 and self.HP > 0.5:
useSkill(3, 'random') # Brandish (174970): Physical damage (3x, ATK) to all enemies
elif random() <= 0.15 and self.HP > 0.5:
useSkill(9, 'random') # Roundhouse Kick (175030): Physical damage (3.4x, 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