Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created August 30, 2018 13:33
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/223d7d62e835e522bbc7c98b1b9c2859 to your computer and use it in GitHub Desktop.
Save aEnigmatic/223d7d62e835e522bbc7c98b1b9c2859 to your computer and use it in GitHub Desktop.
Twelve Weapons - 06 - Vindemiatrix - HARD
##
# Mission 'Chamber of Arms - The Peaceful Mage of Purity' (8980112)
# Enemy has first strike!
# BattleScript: 898011201
##
##
# Monster Info
##
#
# Monster Vindemiatrix (408031001)
# Race Beast, Reaper
# Level 99
# Actions 9-9
#
#
# Stats
# HP 8000000
# MP 4000
# ATK 1000
# DEF 340
# MAG 1000
# SPR 240
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 300%
# Dark 0%
# 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 +
# Unknown (7) +
#
###
###
# Skills
###
#
# Gravestone Refusal (180780) [None]
#
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mourning Refusal (180790) [None]
#
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ecstatic Gloom (180800) [None]
#
# Set Fire, Ice, Lightning and Water resistance to 300% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strength of Rage (180810) [None]
#
# Increase ATK by 20% for one turn to caster
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Killer Intent (180820) [None]
#
# Increase MAG by 20% for one turn to caster
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Confession (180830) [None]
#
# Fixed damage (0.15x) as MP drain (15%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# With My People (180840) [Magic]
#
# Magic damage (21x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
# Inflict Sleep (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cradle of Souls (180850) [None]
#
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
# Inflict Sleep (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spell of Refusal (180860) [Magic]
#
# Magic damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tears of Grief (180870) [Magic]
#
# Magic damage (5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bitter Scream (180880) [Magic]
#
# Fixed* damage (6666) to one enemy
# Reduce SPR by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scream of Despair (180890) [Magic]
#
# 99% HP damage to all enemies
# Unused parameters: [99,100]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Life Snatch Embrace (180900) [Magic]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Breath of Regret (180910) [Magic]
#
# Magic wind damage (15x, MAG) to all enemies
# Reduce resistance to Wind by 100% for 5 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blessed Burial (180920) [Physical]
#
# Physical damage (2x, ATK) to all enemies (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shackles of Despair (180930) [None]
#
# Remove all buffs and debuffs from all enemies
# Inflict Paralyze (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Loitering Dead (180940) [Physical]
#
# Physical damage (6x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(1, 'random') # Gravestone Refusal (180780): Reduce physical damage taken by 100% to caster for one turn (can not be removed)
elif once():
useSkill(8, 'random') # Cradle of Souls (180850): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies, Inflict Sleep (100%) on all enemies
apple = True # reset next turn
elif self.HP < 0.5 and once():
useSkill(16, 'random') # Shackles of Despair (180930): Remove all buffs and debuffs from all enemies, Inflict Paralyze (100%) on all enemies
elif self.HP < 0.5 and once():
useSkill(12, 'random') # Scream of Despair (180890): 99% HP damage to all enemies
elif self.HP < 0.5 and once():
useSkill(13, 'mind_max') # Life Snatch Embrace (180900): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
honey = True # persistent
elif honey == True and self.HP < 0.4 and once():
useSkill(14, 'random') # Breath of Regret (180910): Magic wind damage (15x, MAG) to all enemies, Reduce resistance to Wind by 100% for 5 turns to all enemies
elif honey == True and self.HP < 0.4 and once():
useSkill(14, 'random') # Breath of Regret (180910): Magic wind damage (15x, MAG) to all enemies, Reduce resistance to Wind by 100% for 5 turns to all enemies
apple = True # reset next turn
elif honey == True and self.HP < 0.2 and once():
useSkill(15, 'random') # Blessed Burial (180920): Physical damage (2x, ATK) to all enemies (+200% accuracy)
elif honey == True and self.HP < 0.2 and once():
useSkill(12, 'random') # Scream of Despair (180890): 99% HP damage to all enemies
elif honey == True and self.HP < 0.2 and once():
useSkill(16, 'random') # Shackles of Despair (180930): Remove all buffs and debuffs from all enemies, Inflict Paralyze (100%) on all enemies
apple = True # reset next turn
elif honey == True and isTurnMod(3) and berry == False:
useSkill(13, 'random') # Life Snatch Embrace (180900): [Death], Instant KO (100%) to one enemy
berry = True # reset next turn
elif honey == True and isTurnMod(2) and peach == False:
useSkill(14, 'random') # Breath of Regret (180910): Magic wind damage (15x, MAG) to all enemies, Reduce resistance to Wind by 100% for 5 turns to all enemies
peach = True # reset next turn
elif honey == True and self.HP < 0.2 and olive == False:
useSkill(14, 'random') # Breath of Regret (180910): Magic wind damage (15x, MAG) to all enemies, Reduce resistance to Wind by 100% for 5 turns to all enemies
olive = True # reset next turn
elif honey == True and self.HP < 0.4 and mango == False:
useSkill(17, 'random') # Loitering Dead (180940): Physical damage (6x, ATK) to one enemy
mango = True # reset next turn
elif random() <= 0.15 and honey == True:
useSkill(17, 'random') # Loitering Dead (180940): Physical damage (6x, ATK) to one enemy
elif honey == False and self.HP < 0.9 and once():
useSkill(2, 'random') # Mourning Refusal (180790): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
green += 1
elif honey == False and self.HP < 0.9 and once():
useSkill(10, 'random') # Tears of Grief (180870): Magic damage (5x, MAG) to all enemies
elif honey == False and self.HP < 0.9 and once():
useSkill(10, 'random') # Tears of Grief (180870): Magic damage (5x, MAG) to all enemies
apple = True # reset next turn
elif honey == False and self.HP < 0.8 and once():
useSkill(3, 'random') # Ecstatic Gloom (180800): Set Fire, Ice, Lightning and Water resistance to 300% for one turn to caster
green += 1
elif honey == False and self.HP < 0.8 and once():
useSkill(10, 'random') # Tears of Grief (180870): Magic damage (5x, MAG) to all enemies
elif honey == False and self.HP < 0.8 and once():
useSkill(10, 'random') # Tears of Grief (180870): Magic damage (5x, MAG) to all enemies
apple = True # reset next turn
elif honey == False and self.HP < 0.7 and once():
useSkill(4, 'random') # Strength of Rage (180810): Increase ATK by 20% for one turn to caster, Reduce physical damage taken by 100% to caster for one turn (can not be removed)
green += 1
elif honey == False and self.HP < 0.7 and once():
useSkill(7, 'random') # With My People (180840): Magic damage (21x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies, Inflict Sleep (100%) on all enemies
apple = True # reset next turn
elif honey == False and self.HP < 0.6 and once():
useSkill(5, 'random') # Killer Intent (180820): Increase MAG by 20% for one turn to caster, Reduce magic damage taken by 100% to caster for one turn (can not be removed)
green += 1
elif honey == False and self.HP < 0.6 and once():
useSkill(7, 'random') # With My People (180840): Magic damage (21x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies, Inflict Sleep (100%) on all enemies
apple = True # reset next turn
elif honey == False and green == 4 and berry == False:
useSkill(5, 'random') # Killer Intent (180820): Increase MAG by 20% for one turn to caster, Reduce magic damage taken by 100% to caster for one turn (can not be removed)
berry = True # reset next turn
elif honey == False and green == 3 and berry == False:
useSkill(4, 'random') # Strength of Rage (180810): Increase ATK by 20% for one turn to caster, Reduce physical damage taken by 100% to caster for one turn (can not be removed)
berry = True # reset next turn
elif honey == False and green == 2 and berry == False:
useSkill(3, 'random') # Ecstatic Gloom (180800): Set Fire, Ice, Lightning and Water resistance to 300% for one turn to caster
berry = True # reset next turn
elif honey == False and green == 1 and berry == False:
useSkill(2, 'random') # Mourning Refusal (180790): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
berry = True # reset next turn
elif honey == False and green == 0 and berry == False:
useSkill(1, 'random') # Gravestone Refusal (180780): Reduce physical damage taken by 100% to caster for one turn (can not be removed)
berry = True # reset next turn
elif honey == False and isTurnMod(4) and peach == False:
useSkill(6, 'random') # Confession (180830): Fixed damage (0.15x) as MP drain (15%) to all enemies
peach = True # reset next turn
elif honey == False and isTurnMod(3) and olive == False:
useSkill(10, 'random') # Tears of Grief (180870): Magic damage (5x, MAG) to all enemies
olive = True # reset next turn
elif honey == False and self.HP < 0.7 and mango == False:
useSkill(9, 'random') # Spell of Refusal (180860): Magic damage (5x, MAG) to one enemy
mango = True # reset next turn
elif honey == False and lemon == False:
useSkill(9, 'random') # Spell of Refusal (180860): Magic damage (5x, MAG) to one enemy
lemon = True # reset next turn
elif honey == False and grape == False:
useSkill(9, 'random') # Spell of Refusal (180860): Magic damage (5x, MAG) to one enemy
grape = 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