Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created September 26, 2018 13:58
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/8a377f7f4426e00c4a215f6e592f4210 to your computer and use it in GitHub Desktop.
Save aEnigmatic/8a377f7f4426e00c4a215f6e592f4210 to your computer and use it in GitHub Desktop.
12 Weapons - 07 - Brachium
##
# Mission 'Chamber of Arms - The Demonic Assassin of Judgment' (8980114)
# Enemy has first strike!
# BattleScript: 898011401
##
##
# Monster Info
##
#
# Monster Brachium (404021001)
# Race Demon, Human
# Level 99
# Actions 10-10
#
#
# Stats
# HP 8000000
# MP 4000
# ATK 1000
# DEF 300
# MAG 1150
# 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 300%
# 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 +
#
###
###
# Skills
###
#
# Brachium has become hazy (182670) [None]
#
# Dodge 5 physical attacks for 5 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Judgment (182680) [Magic]
#
# Remove all buffs and debuffs from all enemies
# 99% HP damage to all enemies
# Unused parameters: [99,100]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Judgment of Light (182690) [Physical]
#
# Physical damage (10x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Judgment of Evil (182700) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Capital Punishment (182710) [None]
#
# Instant KO (100%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# First Pain (182720) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Full Speed Claw (182730) [Physical]
#
# Physical damage (4x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Behead (182740) [None]
#
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Assassination Anticipation (182750) [None]
#
# Increase ATK and MAG by 50% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hide in the Dark (182760) [None]
#
# Increase DEF and SPR by 50% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Brachium has become violently strong! (182770) [Physical]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Demonic Decision (182780) [Magic]
#
# Remove all buffs and debuffs from all enemies
# 99% HP damage to all enemies
# Unused parameters: [99,100]
# Reduce magic damage taken by 30% to caster for 999 turns (can not be removed)
# Set Ice, Lightning, Water, Wind, Earth, Light and Dark resistance to 100% and Fire resistance to -100% for 999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Eternal Darkness (182790) [Magic]
#
# Fixed* damage (99999) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Twilight Prison (182800) [None]
#
# Add Dark element to physical attacks for 5 turn(s) to all enemies
# Inflict Blind and Sleep (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Devil's Claw (182810) [Magic]
#
# Magic damage (3.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bloodspray (182820) [Magic]
#
# Magic damage (4.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Invitation to Ruin (182830) [None]
#
# Inflict Charm (100%) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magic is being absorbed! (182840) [None]
#
# Nullify all spells for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
green = 0
elif once():
useSkill(1, 'random') # Brachium has become hazy (182670): Dodge 5 physical attacks for 5 turns to caster
elif once():
useSkill(8, 'mind_max') # Behead (182740): Instant KO (100%) to one enemy
apple = True # reset next turn
elif honey == False and self.HP < 0.5 and once():
useSkill(12, 'random') # Demonic Decision (182780): Remove all buffs and debuffs from all enemies, 99% HP damage to all enemies, Reduce magic damage taken by 30% to caster for 999 turns (can not be removed), Set Ice, Lightning, Water, Wind, Earth, Light and Dark resistance to 100% and Fire resistance to -100% for 999 turns to caster (can not be removed)
elif honey == False and self.HP < 0.5 and once():
useSkill(14, 'random') # Twilight Prison (182800): Add Dark element to physical attacks for 5 turn(s) to all enemies, Inflict Blind and Sleep (100%) on all enemies
elif honey == False and self.HP < 0.5 and once():
useSkill(17, 'random') # Invitation to Ruin (182830): Inflict Charm (100%) on one enemy for 2 turns
apple = True # reset next turn
honey = True # persistent
elif honey == True and steak == False and green == 8:
endTurn()
green = 0
elif honey == True and self.HP < 0.3 and once():
useSkill(14, 'random') # Twilight Prison (182800): Add Dark element to physical attacks for 5 turn(s) to all enemies, Inflict Blind and Sleep (100%) on all enemies
elif honey == True and self.HP < 0.3 and once():
useSkill(13, 'random') # Eternal Darkness (182790): Fixed* damage (99999) to one enemy
elif honey == True and self.HP < 0.3 and once():
useSkill(17, 'random') # Invitation to Ruin (182830): Inflict Charm (100%) on one enemy for 2 turns
elif honey == True and self.HP < 0.3 and once():
useSkill(18, 'random') # Magic is being absorbed! (182840): Nullify all spells for one turn
elif honey == True and self.HP < 0.3 and once():
useSkill(11, 'random') # Brachium has become violently strong! (182770): No effect
green += 1
apple = True # reset next turn
steak = True # persistent
elif honey == True and isTurnMod(2) and berry == False:
useSkill(16, 'random') # Bloodspray (182820): Magic damage (4.5x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif honey == True and self.HP < 0.3 and berry == False:
useSkill(16, 'random') # Bloodspray (182820): Magic damage (4.5x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif honey == True and isTurnMod(3) and peach == False:
useSkill(13, 'random') # Eternal Darkness (182790): Fixed* damage (99999) to one enemy
green += 1
peach = True # reset next turn
elif honey == True and self.HP < 0.3 and grape == False:
useSkill(15, 'random') # Devil's Claw (182810): Magic damage (3.5x, MAG) to one enemy
green += 1
grape = True # reset next turn
elif honey == True and melon == False:
useSkill(15, 'random') # Devil's Claw (182810): Magic damage (3.5x, MAG) to one enemy
green += 1
melon = True # reset next turn
elif random() <= 0.25 and honey == True:
useSkill(15, 'random') # Devil's Claw (182810): Magic damage (3.5x, MAG) to one enemy
green += 1
elif unit('5:player?_any').usedNormalAttack() and honey == False and ramen == True and berry == False:
useSkill(3, 'random') # Judgment of Light (182690): Physical damage (10x, ATK) to all enemies
apple = True # reset next turn
ramen = False # persistent
elif honey == False and ramen == True and berry == False and self.lastTurnHitBy('ability'):
useSkill(3, 'random') # Judgment of Light (182690): Physical damage (10x, ATK) to all enemies
apple = True # reset next turn
ramen = False # persistent
elif honey == False and ramen == True and berry == False and self.lastTurnHitBy('esper'):
useSkill(3, 'random') # Judgment of Light (182690): Physical damage (10x, ATK) to all enemies
apple = True # reset next turn
ramen = False # persistent
elif honey == False and ramen == True and berry == False and self.lastTurnHitBy('item'):
useSkill(3, 'random') # Judgment of Light (182690): Physical damage (10x, ATK) to all enemies
apple = True # reset next turn
ramen = False # persistent
elif unit('5:player?_any').usedLbLastTurn() and honey == False and ramen == True and berry == False:
useSkill(4, 'random') # Judgment of Evil (182700): Magic damage (10x, MAG) to all enemies
apple = True # reset next turn
ramen = False # persistent
elif honey == False and ramen == True and berry == False and self.lastTurnHitBy('spell'):
useSkill(4, 'random') # Judgment of Evil (182700): Magic damage (10x, MAG) to all enemies
apple = True # reset next turn
ramen = False # persistent
elif honey == False and ramen == True and berry == False:
useSkill(5, 'random') # Capital Punishment (182710): Instant KO (100%) to all enemies
apple = True # reset next turn
ramen = False # persistent
elif honey == False and self.HP > 0.5 and lemon == False and isTurnMod(5):
useSkill(1, 'random') # Brachium has become hazy (182670): Dodge 5 physical attacks for 5 turns to caster
green += 1
lemon = True # reset next turn
elif honey == False and ramen == False and self.HP < 0.9 and once():
useSkill(2, 'random') # Dark Judgment (182680): Remove all buffs and debuffs from all enemies, 99% HP damage to all enemies
green += 1
apple = True # reset next turn
ramen = True # persistent
elif honey == False and ramen == False and self.HP < 0.7 and once():
useSkill(2, 'random') # Dark Judgment (182680): Remove all buffs and debuffs from all enemies, 99% HP damage to all enemies
green += 1
apple = True # reset next turn
ramen = True # persistent
elif bacon == True and olive == False:
useSkill(8, 'random') # Behead (182740): Instant KO (100%) to one enemy
green += 1
peach = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif honey == False and sushi == True and green == 8 and peach == False:
useSkill(9, 'random') # Assassination Anticipation (182750): Increase ATK and MAG by 50% for 3 turns to caster
apple = True # reset next turn
bacon = True # persistent
elif random() <= 0.50 and honey == False and sushi == False and green == 8 and peach == False:
useSkill(10, 'random') # Hide in the Dark (182760): Increase DEF and SPR by 50% for 3 turns to caster
apple = True # reset next turn
sushi = True # persistent
elif honey == False and green == 8:
endTurn()
green = 0
elif honey == False and isTurnMod(2) and mango == False:
useSkill(7, 'random') # Full Speed Claw (182730): Physical damage (4x, ATK) to all enemies
green += 1
mango = True # reset next turn
elif honey == False and self.HP < 0.7 and mango == False:
useSkill(7, 'random') # Full Speed Claw (182730): Physical damage (4x, ATK) to all enemies
green += 1
mango = True # reset next turn
elif honey == False and self.HP < 0.7 and grape == False:
useSkill(6, 'random') # First Pain (182720): Physical damage (3x, ATK) to one enemy
green += 1
grape = True # reset next turn
elif honey == False and melon == False:
useSkill(6, 'random') # First Pain (182720): Physical damage (3x, ATK) to one enemy
green += 1
melon = True # reset next turn
elif random() <= 0.25 and honey == False:
useSkill(6, 'random') # First Pain (182720): Physical damage (3x, ATK) to one enemy
green += 1
else:
attack('random')
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment