Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created March 22, 2019 12:52
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/048c1735960f8c5bc483cbe642a9a4b6 to your computer and use it in GitHub Desktop.
Save aEnigmatic/048c1735960f8c5bc483cbe642a9a4b6 to your computer and use it in GitHub Desktop.
Chamber of Arms - Welter the Beholder
##
# Mission 'Chamber of Arms - Welter the Beholder' (8980200)
# BattleScript: 898020001
#
# Battles
# * Warden Welter
##
##
# Monster Info
##
#
# Monster Warden Welter (405101000)
# Race Demon, Human
# Level 99
# Actions 12-12
#
#
# Stats
# HP 30000000
# MP 60000
# ATK 600
# DEF 500
# MAG 600
# 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 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 +
#
###
###
# Passives
###
#
# 光属性吸収 (100012) [Passive]
#
# Absorb Light elemental attacks
#
##
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
#
# 物理カウンター(防護魔方陣 衝撃弾) (100037) [Passive]
#
# 100% chance to counter physical attacks with Shocking Shell (196510) to the attacker
#
##
#
# 魔法カウンター(防護魔方陣 破壊光) (100038) [Passive]
#
# 100% chance to counter magic attacks with Light of Destruction (196520) to the attacker (max 1 / turn)
#
##
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Shocking Shell (196510) [Physical]
#
# Physical damage (10x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light of Destruction (196520) [Magic]
#
# Magic light damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Trial: Passed (196530) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Trial: Failed (196540) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blaze burns away the flower. (196550) [None]
#
# Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fallen Leaf (196560) [Magic]
#
# Magic damage (20x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Defense does not beget vengeance. (196570) [None]
#
# Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Liquidate (196580) [Magic]
#
# Magic damage (20x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magic must be sealed away by magic. (196590) [None]
#
# Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magnum Opus (196600) [Magic]
#
# Magic damage (20x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Your loved ones will leave you. (196610) [None]
#
# Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Snap (196620) [None]
#
# Physical* damage (100x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Those who know the future are sage. (196630) [None]
#
# Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gravestone Refusal (196640) [None]
#
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mourning Refusal (196650) [None]
#
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Trial of Radiance (196660) [Magic]
#
# Magic light damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Invitation to Ruin (196670) [None]
#
# Inflict Charm (100%) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Poisonous Hex (196680) [Physical]
#
# Inflict Poison (100%) on one enemy
# Unknown parameters: [1]
# Physical damage (10x, ATK) to one enemy
# Reduce DEF by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Murky water is coming from the book! (196690) [Magic]
#
# Magic water damage (12x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Coiling Darkness (196700) [None]
#
# Add Dark element (100%) to physical attacks for 3 turns to all enemies
# Unused parameters: [1]
# Inflict Sleep and Paralyze (100%) on all enemies
# Unknown parameters: [1,2]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flash Ripper (196710) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Insanely Mad (196720) [Physical]
#
# Physical damage (10x, ATK) to all enemies
# Reduce DEF and SPR by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The Border of Light and Dark (196730) [None]
#
# Hybrid* light and dark damage (35x, ATK & MAG) to all enemies
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
white = 0
elif honey == False and once() and self.HP < 0.5:
useSkill(23, 'random') # The Border of Light and Dark (196730): Hybrid* light and dark damage (35x, ATK & MAG) to all enemies
elif honey == False and once() and self.HP < 0.5:
useSkill(17, 'random') # Invitation to Ruin (196670): Inflict Charm (100%) on one enemy for 2 turns
apple = True # reset next turn
honey = True # persistent
elif honey == False and once() and self.HP < 0.8:
useSkill(16, 'random') # Trial of Radiance (196660): Magic light damage (2x, MAG) to all enemies
elif honey == False and once() and self.HP < 0.8:
useSkill(12, 'random') # Snap (196620): Physical* damage (100x, ATK) to one enemy (+100% accuracy)
elif honey == False and berry == False and peach == False and ramen == True:
useSkill(14, 'random') # Gravestone Refusal (196640): Reduce physical damage taken by 100% to caster for one turn (can not be removed)
peach = True # reset next turn
elif honey == False and berry == False and peach == True and ramen == True:
useSkill(15, 'random') # Mourning Refusal (196650): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
apple = True # reset next turn
ramen = False # persistent
elif honey == False and berry == False and peach == False and sushi == True:
useSkill(12, 'random') # Snap (196620): Physical* damage (100x, ATK) to one enemy (+100% accuracy)
peach = True # reset next turn
elif honey == False and berry == False and peach == True and sushi == True:
useSkill(12, 'random') # Snap (196620): Physical* damage (100x, ATK) to one enemy (+100% accuracy)
berry = True # reset next turn
elif honey == False and berry == True and peach == True and sushi == True:
useSkill(12, 'random') # Snap (196620): Physical* damage (100x, ATK) to one enemy (+100% accuracy)
apple = True # reset next turn
sushi = False # persistent
elif unit('5:enemy:any').usedLastTurn('magic') and honey == False and grape == False and bacon == True:
useSkill(3, 'random') # Trial: Passed (196530): No effect
white += 1
grape = True # reset next turn
bacon = False # persistent
elif unit('5:enemy:any').usedLastTurn('guard') and honey == False and grape == False and steak == True:
useSkill(3, 'random') # Trial: Passed (196530): No effect
white += 1
grape = True # reset next turn
steak = False # persistent
elif self.sufferedDamageLastTurn('fire', 'physical') and honey == False and grape == False and salad == True:
useSkill(3, 'random') # Trial: Passed (196530): No effect
white += 1
grape = True # reset next turn
salad = False # persistent
elif self.sufferedDamageLastTurn('fire', 'magical') and honey == False and grape == False and salad == True:
useSkill(3, 'random') # Trial: Passed (196530): No effect
white += 1
grape = True # reset next turn
salad = False # persistent
elif honey == False and berry == False and bacon == True:
useSkill(4, 'random') # Trial: Failed (196540): No effect
peach = True # reset next turn
berry = True # reset next turn
elif honey == False and berry == False and steak == True:
useSkill(4, 'random') # Trial: Failed (196540): No effect
olive = True # reset next turn
berry = True # reset next turn
elif honey == False and berry == False and salad == True:
useSkill(4, 'random') # Trial: Failed (196540): No effect
mango = True # reset next turn
berry = True # reset next turn
elif honey == False and berry == True and bacon == True and peach == True:
useSkill(10, 'random') # Magnum Opus (196600): Magic damage (20x, MAG) to all enemies
apple = True # reset next turn
bacon = False # persistent
elif honey == False and berry == True and steak == True and olive == True:
useSkill(8, 'random') # Liquidate (196580): Magic damage (20x, MAG) to all enemies
apple = True # reset next turn
steak = False # persistent
elif honey == False and berry == True and salad == True and mango == True:
useSkill(6, 'random') # Fallen Leaf (196560): Magic damage (20x, MAG) to all enemies
apple = True # reset next turn
salad = False # persistent
elif honey == False and berry == False and green == 4 and white == 8:
useSkill(13, 'random') # Those who know the future are sage. (196630): Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
white = 0
green = 0
apple = True # reset next turn
ramen = True # persistent
elif honey == False and berry == False and green == 3 and white == 8:
useSkill(11, 'random') # Your loved ones will leave you. (196610): Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
white = 0
green += 1
apple = True # reset next turn
sushi = True # persistent
elif honey == False and berry == False and green == 2 and white == 8:
useSkill(9, 'random') # Magic must be sealed away by magic. (196590): Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
white = 0
green += 1
apple = True # reset next turn
bacon = True # persistent
elif honey == False and berry == False and green == 1 and white == 8:
useSkill(7, 'random') # Defense does not beget vengeance. (196570): Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
white = 0
green += 1
apple = True # reset next turn
steak = True # persistent
elif honey == False and berry == False and green == 0 and white == 8:
useSkill(5, 'random') # Blaze burns away the flower. (196550): Increase ATK, DEF, MAG and SPR by 50% for one turn to caster
white = 0
green += 1
apple = True # reset next turn
salad = True # persistent
elif honey == False and isTurnMod(4) and olive == False:
useSkill(16, 'random') # Trial of Radiance (196660): Magic light damage (2x, MAG) to all enemies
white += 1
olive = True # reset next turn
elif honey == False and isTurnMod(2) and mango == False:
useSkill(16, 'random') # Trial of Radiance (196660): Magic light damage (2x, MAG) to all enemies
white += 1
mango = True # reset next turn
elif honey == False and lemon == False:
useSkill(16, 'random') # Trial of Radiance (196660): Magic light damage (2x, MAG) to all enemies
white += 1
lemon = True # reset next turn
elif honey == False:
attack('random')
white += 1
elif honey == True and once() and self.HP < 0.3:
useSkill(23, 'random') # The Border of Light and Dark (196730): Hybrid* light and dark damage (35x, ATK & MAG) to all enemies
elif honey == True and once() and self.HP < 0.3:
useSkill(14, 'random') # Gravestone Refusal (196640): Reduce physical damage taken by 100% to caster for one turn (can not be removed)
elif honey == True and once() and self.HP < 0.3:
useSkill(15, 'random') # Mourning Refusal (196650): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
elif honey == True and once() and self.HP < 0.3:
useSkill(17, 'random') # Invitation to Ruin (196670): Inflict Charm (100%) on one enemy for 2 turns
apple = True # reset next turn
elif honey == True and isTurnMod(3) and berry == False:
useSkill(17, 'random') # Invitation to Ruin (196670): Inflict Charm (100%) on one enemy for 2 turns
berry = True # reset next turn
elif honey == True and isTurnMod(4) and olive == False:
useSkill(22, 'random') # Insanely Mad (196720): Physical damage (10x, ATK) to all enemies, Reduce DEF and SPR by 50% for 3 turns to all enemies
olive = True # reset next turn
peach = True # reset next turn
elif honey == True and peach == False and black == 2:
useSkill(19, 'random') # Murky water is coming from the book! (196690): Magic water damage (12x, MAG) to all enemies
black = 0
peach = True # reset next turn
elif honey == True and peach == False and black == 1:
useSkill(20, 'random') # Coiling Darkness (196700): Add Dark element (100%) to physical attacks for 3 turns to all enemies, Inflict Sleep and Paralyze (100%) on all enemies
black += 1
peach = True # reset next turn
elif honey == True and peach == False and black == 0:
useSkill(21, 'random') # Flash Ripper (196710): Magic damage (10x, MAG) to all enemies
black += 1
peach = True # reset next turn
elif random() <= 0.30 and honey == True:
useSkill(18, 'random') # Poisonous Hex (196680): Inflict Poison (100%) on one enemy, Physical damage (10x, ATK) to one enemy, Reduce DEF by 30% for 3 turns to one enemy
elif honey == True:
attack('atk_min')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment