Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created November 28, 2018 08:02
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/59f0de00e3458efd902c25fe1eb60f47 to your computer and use it in GitHub Desktop.
Save aEnigmatic/59f0de00e3458efd902c25fe1eb60f47 to your computer and use it in GitHub Desktop.
12 Weapons - 10 - Dabih - HARD / Chamber of Arms - The Ambulant Patriotic Hero
##
# Mission 'Chamber of Arms - The Ambulant Patriotic Hero' (8980120)
# Enemy has first strike!
# BattleScript: 898012001
#
# Battles
# * Dabih [+ Dabih Cultist, Dabih Shaman, Dabih Cultist (max 999), Dabih Shaman, Dabih Cultist (max 999)]
##
##
# Monster Info
##
#
# Monster Dabih (305331001)
# Race Human, Reaper
# Level 99
# Actions 10-10
#
#
# Stats
# HP 9000000
# MP 4000
# ATK 800
# DEF 200
# MAG 950
# SPR 200
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice -100%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -100%
# Dark 0%
# Non-Elemental 99%
#
#
# 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) +
#
###
###
# Passives
###
#
# 火属性吸収 (100003) [Passive]
#
# Absorb Fire elemental attacks
#
##
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
###
# Skills
###
#
# Dabih is standing still. (190200) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heretics have gathered around Dabih. (190210) [None]
#
# Summon ally #2
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heretics have gathered around Dabih. (190220) [None]
#
# Summon ally #3
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heretics have gathered around Dabih. (190390) [None]
#
# Summon ally #4
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heretics have gathered around Dabih. (190400) [None]
#
# Summon ally #5
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wrapped in darkness. (190420) [None]
#
# Add Dark element (100%) to physical attacks for 3 turns to all enemies
# Inflict Blind and Silence (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Break I (190430) [Physical]
#
# Physical damage (4x, ATK) to one enemy
# Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Break II (190440) [Physical]
#
# Physical damage (7x, ATK) to one enemy
# Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Confinement (190450) [Magic]
#
# Magic damage (15x, MAG) to all enemies
# Inflict Blind, Silence and Petrify (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heretics have gathered around Dabih. (190410) [None]
#
# Summon random ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif self.HP < 0.5 and once():
useSkill(4, 'random') # Heretics have gathered around Dabih. (190390): Summon Dabih Cultist (305332100)
honey = True # persistent
elif honey == True and once():
useSkill(5, 'random') # Heretics have gathered around Dabih. (190400): Summon Dabih Shaman (305333100)
elif honey == True and once():
useSkill(9, 'random') # Dark Confinement (190450): Magic damage (15x, MAG) to all enemies, Inflict Blind, Silence and Petrify (100%) on all enemies
elif honey == True and once():
useSkill(6, 'random') # Wrapped in darkness. (190420): Add Dark element (100%) to physical attacks for 3 turns to all enemies, Inflict Blind and Silence (100%) on all enemies
elif self.HP < 0.3 and once():
useSkill(9, 'random') # Dark Confinement (190450): Magic damage (15x, MAG) to all enemies, Inflict Blind, Silence and Petrify (100%) on all enemies
sushi = True # persistent
elif sushi == True and once():
useSkill(6, 'random') # Wrapped in darkness. (190420): Add Dark element (100%) to physical attacks for 3 turns to all enemies, Inflict Blind and Silence (100%) on all enemies
apple = True # reset next turn
elif sushi == True and lemon == False:
useSkill(10, 'random') # Heretics have gathered around Dabih. (190410): Summon random ally
lemon = True # reset next turn
elif sushi == True and isTurnMod(5) and berry == False:
useSkill(9, 'random') # Dark Confinement (190450): Magic damage (15x, MAG) to all enemies, Inflict Blind, Silence and Petrify (100%) on all enemies
berry = True # reset next turn
elif sushi == True and isTurnMod(5):
useSkill(6, 'random') # Wrapped in darkness. (190420): Add Dark element (100%) to physical attacks for 3 turns to all enemies, Inflict Blind and Silence (100%) on all enemies
apple = True # reset next turn
elif honey == False and once():
useSkill(2, 'random') # Heretics have gathered around Dabih. (190210): Summon Dabih Cultist (305332001)
elif honey == False and once():
useSkill(3, 'random') # Heretics have gathered around Dabih. (190220): Summon Dabih Shaman (305333001)
elif honey == False:
useSkill(1, 'random') # Dabih is standing still. (190200): No effect
apple = True # reset next turn
elif honey == True and isTurnMod(5) and berry == False:
useSkill(6, 'random') # Wrapped in darkness. (190420): Add Dark element (100%) to physical attacks for 3 turns to all enemies, Inflict Blind and Silence (100%) on all enemies
berry = True # reset next turn
elif honey == True and ramen == True and peach == False:
useSkill(8, 'random') # Dark Break II (190440): Physical damage (7x, ATK) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy
peach = True # reset next turn
elif honey == True and ramen == True and olive == False:
useSkill(8, 'random') # Dark Break II (190440): Physical damage (7x, ATK) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy
olive = True # reset next turn
elif honey == True and ramen == True and mango == False:
useSkill(8, 'random') # Dark Break II (190440): Physical damage (7x, ATK) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy
mango = True # reset next turn
ramen = False # persistent
elif honey == True and ramen == False and peach == False:
useSkill(7, 'random') # Dark Break I (190430): Physical damage (4x, ATK) to one enemy, Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to one enemy
peach = True # reset next turn
elif honey == True and ramen == False and olive == False:
useSkill(7, 'random') # Dark Break I (190430): Physical damage (4x, ATK) to one enemy, Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to one enemy
olive = True # reset next turn
elif honey == True and ramen == False and mango == False:
useSkill(7, 'random') # Dark Break I (190430): Physical damage (4x, ATK) to one enemy, Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to one enemy
mango = True # reset next turn
ramen = True # persistent
else:
attack('random')
##
# Monster Info
##
#
# Monster Dabih Cultist (305332001)
# Race Human, Reaper
# Level 99
# Actions 4-4
#
#
# Stats
# HP 4000000
# MP 4000
# ATK 700
# DEF 1200
# MAG 700
# SPR 150
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental -100%
#
#
# Status resist (+50% / application)
# Poison 100%
# Blind 0%
# 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 +
# Unknown (7) +
#
###
###
# Skills
###
#
# Browbeat (190240) [Physical]
#
# Physical damage (4x, ATK) to one enemy
# Reduce ATK by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kick Attacks (190260) [Physical]
#
# Physical damage (4x, ATK) to one enemy
# Reduce DEF by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wall of Rejection (190280) [Physical]
#
# Physical earth damage (5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fanatic (190290) [None]
#
# Increase ATK and MAG by 100% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green == 3:
endTurn()
green = 0
elif once():
useSkill(4, 'random') # Fanatic (190290): Increase ATK and MAG by 100% for 3 turns to caster
elif once():
endTurn()
elif isTurnMod(2) and berry == False:
useSkill(3, 'random') # Wall of Rejection (190280): Physical earth damage (5x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif peach == False:
useSkill(3, 'random') # Wall of Rejection (190280): Physical earth damage (5x, ATK) to all enemies
green += 1
peach = True # reset next turn
elif olive == False:
useSkill(1, 'random') # Browbeat (190240): Physical damage (4x, ATK) to one enemy, Reduce ATK by 50% for 3 turns to one enemy
green += 1
olive = True # reset next turn
else:
useSkill(2, 'random') # Kick Attacks (190260): Physical damage (4x, ATK) to one enemy, Reduce DEF by 50% for 3 turns to one enemy
green += 1
##
# Monster Info
##
#
# Monster Dabih Shaman (305333001)
# Race Human, Reaper
# Level 99
# Actions 4-4
#
#
# Stats
# HP 4000000
# MP 4000
# ATK 700
# DEF 200
# MAG 700
# SPR 1200
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental -100%
#
#
# Status resist (+50% / application)
# Poison 100%
# Blind 0%
# 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 +
# Unknown (7) +
#
###
###
# Skills
###
#
# Dabih is being prayed to. (190300) [None]
#
# Restore 10% HP to one ally
# Reduce physical damage taken by 99% to one ally for one turn (can not be removed)
# Reduce magic damage taken by 99% to one ally for one turn (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Curse (190310) [Magic]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dangerous Curse (190320) [Magic]
#
# 50% HP damage to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Surrounded in an evil aura! (190330) [None]
#
# Increase MAG and SPR by 100% for 3 turns to one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flood of Darkness (190350) [Magic]
#
# Magic water and dark damage (15x, MAG) to all enemies
# Reduce resistance to all elements by 100% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Explosive Curse (190370) [Magic]
#
# Magic damage (10x, MAG) to all enemies
# Reduce resistance to all elements by 100% for 3 turns to all enemies
# Reduce SPR by 100% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralysing Curse (190380) [None]
#
# Inflict Stop (100%) for 2 turns on one enemy
# Inflict Petrify (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
green = 0
elif unit('3:ally:1:Dabih').is('alive') and once():
useSkill(1, 'random') # Dabih is being prayed to. (190300): Restore 10% HP to one ally, Reduce physical damage taken by 99% to one ally for one turn (can not be removed), Reduce magic damage taken by 99% to one ally for one turn (can not be removed)
apple = True # reset next turn
elif green == 3:
endTurn()
green = 0
elif unit('3:ally:1:Dabih').is('alive') and peach == False:
useSkill(1, 'random') # Dabih is being prayed to. (190300): Restore 10% HP to one ally, Reduce physical damage taken by 99% to one ally for one turn (can not be removed), Reduce magic damage taken by 99% to one ally for one turn (can not be removed)
green += 1
peach = True # reset next turn
elif honey == True:
useSkill(5, 'random') # Flood of Darkness (190350): Magic water and dark damage (15x, MAG) to all enemies, Reduce resistance to all elements by 100% for 3 turns to all enemies
apple = True # reset next turn
honey = False # persistent
elif isTurnMod(3) and green == 2 and berry == False:
useSkill(4, 'random') # Surrounded in an evil aura! (190330): Increase MAG and SPR by 100% for 3 turns to one ally
apple = True # reset next turn
honey = True # persistent
elif isTurnMod(6) and olive == False:
useSkill(2, 'random') # Deadly Curse (190310): [Death], Instant KO (100%) to one enemy
green += 1
olive = True # reset next turn
elif isTurnMod(3) and olive == False:
useSkill(6, 'random') # Explosive Curse (190370): Magic damage (10x, MAG) to all enemies, Reduce resistance to all elements by 100% for 3 turns to all enemies, Reduce SPR by 100% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif random() <= 0.20 and grape == False:
useSkill(3, 'random') # Dangerous Curse (190320): 50% HP damage to one enemy
green += 1
grape = True # reset next turn
elif grape == False:
useSkill(7, 'random') # Paralysing Curse (190380): Inflict Stop (100%) for 2 turns on one enemy, Inflict Petrify (100%) on one enemy
green += 1
grape = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Dabih Cultist (305332100)
# Race Human, Reaper
# Level 99
# Actions 4-4
#
#
# Stats
# HP 3000000
# MP 4000
# ATK 700
# DEF 1200
# MAG 700
# SPR 150
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental -100%
#
#
# Status resist (+50% / application)
# Poison 100%
# Blind 0%
# 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 +
# Unknown (7) +
#
###
###
# Skills
###
#
# Vanishing Path (190460) [None]
#
# Dodge 1 physical attacks for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stake Drive (190470) [Magic]
#
# [Death]
# Cast Death (100%) or 42% chance to deal physical* damage (8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heretic Persecution (190480) [Physical]
#
# Physical damage (6x, ATK) to all enemies
# Inflict Confusion (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The heretics are meditating. (190490) [None]
#
# Increase ATK and MAG by 100% for 3 turns to one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heretic Conviction (190500) [Magic]
#
# 250% HP damage to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
green = 0
elif isTurnMod(3) and green == 2 and honey == False:
useSkill(4, 'random') # The heretics are meditating. (190490): Increase ATK and MAG by 100% for 3 turns to one ally
green += 1
apple = True # reset next turn
honey = True # persistent
elif green == 3:
endTurn()
green = 0
elif isTurnMod(3) and berry == False:
useSkill(1, 'random') # Vanishing Path (190460): Dodge 1 physical attacks for one turn to caster
green += 1
berry = True # reset next turn
elif honey == True:
useSkill(5, 'random') # Heretic Conviction (190500): 250% HP damage to one enemy
apple = True # reset next turn
honey = False # persistent
elif isTurnMod(6) and olive == False:
useSkill(2, 'random') # Stake Drive (190470): [Death], Cast Death (100%) or 42% chance to deal physical* damage (8x, ATK) to one enemy
green += 1
olive = True # reset next turn
elif isTurnMod(2) and mango == False:
useSkill(3, 'random') # Heretic Persecution (190480): Physical damage (6x, ATK) to all enemies, Inflict Confusion (100%) on all enemies
green += 1
mango = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Dabih Shaman (305333100)
# Race Human, Reaper
# Level 99
# Actions 4-4
#
#
# Stats
# HP 8000000
# MP 4000
# ATK 700
# DEF 200
# MAG 700
# SPR 1200
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental -100%
#
#
# Status resist (+50% / application)
# Poison 100%
# Blind 0%
# 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 +
# Unknown (7) +
#
###
###
# Skills
###
#
# Covered in Dabih's thoughts! (190510) [None]
#
# Increase ATK and MAG by 300% for 9999 turns to caster
# Reduce physical damage taken by 99% to caster for 9999 turns (can not be removed)
# Reduce magic damage taken by 99% to caster for 9999 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ultima (190520) [Magic]
#
# Magic damage (7x * 1.33 = 9.33x, MAG) to all enemies (ignore reflect)
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Divine Thunder (190530) [Magic]
#
# Magic lightning damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Waste Away (190540) [None]
#
# Reduce ATK, DEF, MAG and SPR by 100% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Evil magical power is concentrating! (190550) [None]
#
# Increase MAG and SPR by 100% for one turn to one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Drake's Descent (190560) [Magic]
#
# Magic damage (15x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
green = 0
elif isTurnMod(3) and honey == False and green == 2:
useSkill(5, 'random') # Evil magical power is concentrating! (190550): Increase MAG and SPR by 100% for one turn to one ally
green += 1
apple = True # reset next turn
honey = True # persistent
elif green == 2:
attack('random')
apple = True # reset next turn
elif honey == True:
useSkill(6, 'random') # Drake's Descent (190560): Magic damage (15x, MAG) to all enemies
green += 1
apple = True # reset next turn
honey = False # persistent
elif unit('3:ally:1:Dabih').is('dead') and once() and berry == False:
useSkill(1, 'random') # Covered in Dabih's thoughts! (190510): Increase ATK and MAG by 300% for 9999 turns to caster, Reduce physical damage taken by 99% to caster for 9999 turns (can not be removed), Reduce magic damage taken by 99% to caster for 9999 turns (can not be removed)
green += 1
berry = True # reset next turn
elif unit('3:ally:1:Dabih').is('dead') and once() and peach == False:
useSkill(4, 'random') # Waste Away (190540): Reduce ATK, DEF, MAG and SPR by 100% for 3 turns to all enemies
green += 1
peach = True # reset next turn
elif isTurnMod(2) and olive == False:
useSkill(2, 'random') # Ultima (190520): Magic damage (7x * 1.33 = 9.33x, MAG) to all enemies (ignore reflect)
green += 1
olive = True # reset next turn
elif olive == False:
useSkill(3, 'random') # Divine Thunder (190530): Magic lightning damage (10x, MAG) to all enemies
green += 1
olive = True # reset next turn
else:
attack('random')
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment