Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic aEnigmatic/8980116.gl.py
Last active Oct 18, 2018

Embed
What would you like to do?
12 Weapons - 08 - Shaula - The Insects of Guile and Deceit - HARD
##
# Mission 'Chamber of Arms - The Insects of Guile and Deceit' (8980116)
# Enemy has first strike!
# BattleScript: 898011601
##
##
# Monster Info
##
#
# Monster Shaula (409001001)
# Race Fairy, Insect
# Level 99
# Actions 10-10
#
#
# Stats
# HP 8000000
# MP 4000
# ATK 1000
# DEF 300
# MAG 1100
# SPR 300
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind -100%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 300%
#
#
# 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 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Poisonous Hex (185770) [Physical]
#
# Inflict Poison (100%) on one enemy
# Physical damage (4x, ATK) to one enemy
# Reduce DEF by 30% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kodoku (185780) [Magic]
#
# Inflict Poison (100%) on one enemy
# Magic damage (4x, MAG) to one enemy
# Reduce SPR by 30% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Venomous Fog (185790) [Magic]
#
# Inflict Paralyze (100%) on all enemies
# Magic damage (5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Oppressive Rain (185800) [Physical]
#
# Inflict Poison (100%) on all enemies
# Physical damage (5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Petro Stinger (185810) [Physical]
#
# Inflict Petrify (100%) on one enemy
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blood Feed (185820) [Magic]
#
# Magic damage (10x, MAG) as HP drain (100%) to one enemy
# Magic damage (0.8x, MAG) as MP drain (80%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Eye of Seduction (185830) [None]
#
# Inflict Charm (100%) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dual Pierce (185840) [Hybrid]
#
# Hybrid damage (6x, ATK & MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Crimson Flap (185850) [Physical]
#
# Physical damage (8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blue Flap (185860) [Magic]
#
# Magic damage (8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dim Eye (185870) [None]
#
# Reduce ATK and MAG by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mystical Scales (185880) [None]
#
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Powder Wall (185890) [None]
#
# Increase DEF and SPR by 100% for 3 turns to all allies
# Set Wind resistance to 100% and Fire resistance to -100% for 999 turns to all allies (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Eye of Seduction (185900) [None]
#
# Inflict Charm (100%) on one enemy for 2 turns
# Summon ally #0 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(1, 'random') # Poisonous Hex (185770): Inflict Poison (100%) on one enemy, Physical damage (4x, ATK) to one enemy, Reduce DEF by 30% for 3 turns to one enemy
elif once():
useSkill(2, 'random') # Kodoku (185780): Inflict Poison (100%) on one enemy, Magic damage (4x, MAG) to one enemy, Reduce SPR by 30% for 3 turns to one enemy
apple = True # reset next turn
elif self.HP < 0.5 and currentAction.timesExecuted() < 2:
useSkill(14, 'random') # Eye of Seduction (185900): Inflict Charm (100%) on one enemy for 2 turns, Summon ally #0 (100%)
honey = True # persistent
elif self.HP < 0.5 and once():
useSkill(10, 'random') # Blue Flap (185860): Magic damage (8x, MAG) to all enemies
elif self.HP < 0.5 and once():
useSkill(13, 'random') # Powder Wall (185890): Increase DEF and SPR by 100% for 3 turns to all allies, Set Wind resistance to 100% and Fire resistance to -100% for 999 turns to all allies (can not be removed)
apple = True # reset next turn
elif honey == True and isTurnMod(3) and berry == False:
useSkill(9, 'random') # Crimson Flap (185850): Physical damage (8x, ATK) to all enemies
berry = True # reset next turn
elif honey == True and isTurnMod(3) and peach == False:
useSkill(10, 'random') # Blue Flap (185860): Magic damage (8x, MAG) to all enemies
peach = True # reset next turn
elif honey == True and isTurnMod(2) and olive == False:
useSkill(11, 'random') # Dim Eye (185870): Reduce ATK and MAG by 50% for 3 turns to all enemies
olive = True # reset next turn
elif honey == True and self.HP < 0.3 and mango == False:
useSkill(12, 'random') # Mystical Scales (185880): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
mango = True # reset next turn
elif honey == True and self.HP < 0.3 and guava == False:
useSkill(8, 'random') # Dual Pierce (185840): Hybrid damage (6x, ATK & MAG) to one enemy
guava = True # reset next turn
elif honey == True and lemon == False:
useSkill(8, 'random') # Dual Pierce (185840): Hybrid damage (6x, ATK & MAG) to one enemy
lemon = True # reset next turn
elif honey == True and grape == False:
useSkill(8, 'random') # Dual Pierce (185840): Hybrid damage (6x, ATK & MAG) to one enemy
grape = True # reset next turn
elif honey == False and berry == False:
useSkill(1, 'random') # Poisonous Hex (185770): Inflict Poison (100%) on one enemy, Physical damage (4x, ATK) to one enemy, Reduce DEF by 30% for 3 turns to one enemy
berry = True # reset next turn
elif honey == False and peach == False:
useSkill(1, 'random') # Poisonous Hex (185770): Inflict Poison (100%) on one enemy, Physical damage (4x, ATK) to one enemy, Reduce DEF by 30% for 3 turns to one enemy
peach = True # reset next turn
elif honey == False and olive == False:
useSkill(2, 'random') # Kodoku (185780): Inflict Poison (100%) on one enemy, Magic damage (4x, MAG) to one enemy, Reduce SPR by 30% for 3 turns to one enemy
olive = True # reset next turn
elif honey == False and isTurnMod(2) and mango == False:
useSkill(1, 'random') # Poisonous Hex (185770): Inflict Poison (100%) on one enemy, Physical damage (4x, ATK) to one enemy, Reduce DEF by 30% for 3 turns to one enemy
mango = True # reset next turn
elif honey == False and isTurnMod(3) and lemon == False:
useSkill(3, 'random') # Venomous Fog (185790): Inflict Paralyze (100%) on all enemies, Magic damage (5x, MAG) to all enemies
lemon = True # reset next turn
elif honey == False and isTurnMod(4) and grape == False:
useSkill(4, 'random') # Oppressive Rain (185800): Inflict Poison (100%) on all enemies, Physical damage (5x, ATK) to all enemies
grape = True # reset next turn
elif honey == False and lemon == False:
useSkill(5, 'random') # Petro Stinger (185810): Inflict Petrify (100%) on one enemy, Physical damage (4x, ATK) to one enemy
lemon = True # reset next turn
elif honey == False and isTurnMod(10) and melon == False:
useSkill(6, 'random') # Blood Feed (185820): Magic damage (10x, MAG) as HP drain (100%) to one enemy, Magic damage (0.8x, MAG) as MP drain (80%) to one enemy
melon = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Shaula's Right Arm (409003000)
# Race Fairy, Insect
# Level 99
# Actions 1-1
#
#
# Stats
# HP 2000000
# MP 4000
# ATK 700
# DEF 300
# MAG 800
# SPR 300
#
#
# 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 300%
#
#
# 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
###
#
# Piercing Sorcery (185920) [Magic]
#
# Magic damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if True:
useRandomSkill('random')
##
# Monster Info
##
#
# Monster Shaula's Left Arm (409004000)
# Race Fairy, Insect
# Level 99
# Actions 1-1
#
#
# Stats
# HP 2000000
# MP 4000
# ATK 700
# DEF 300
# MAG 800
# SPR 300
#
#
# 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 300%
#
#
# 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
###
#
# Needle Tresse (185910) [Physical]
#
# Physical damage (4x * 1.33 = 5.33x, ATK) to one enemy (ignore cover)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if True:
useRandomSkill('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.