Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active October 21, 2019 10:57
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/3a1bd54846936f0861d8635f5448ce6e to your computer and use it in GitHub Desktop.
Save aEnigmatic/3a1bd54846936f0861d8635f5448ce6e to your computer and use it in GitHub Desktop.
SBB - Vlad
##
# Mission 'ヴラド' (9091113)
#
# Battles
# * ヴラド
##
##
# Monster Info
##
#
# Monster ヴラド (404091001)
# Race Demon
# Level 99
# Actions 8-8
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 356000000
# MP 155000
# ATK 1200
# DEF 1250
# MAG 950
# SPR 1200
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 25%
# Ice 25%
# Lightning 25%
# Water 25%
# Wind 25%
# Earth 25%
# Light 25%
# Dark 25%
# Non-Elemental 25%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# 魔法障壁 (217511) [None]
#
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
# Increase DEF and SPR by 999% for one turn to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔法障壁が張られている (217512) [None]
#
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
# Increase DEF and SPR by 999% for one turn to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔法障壁が壊れかけている (217513) [None]
#
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
# Increase DEF and SPR by 999% for one turn to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔法障壁が壊れた (217514) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 極大魔法 (217515) [Magic]
#
# Magic damage (5x, MAG) to all enemies
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 超極大魔法 (217516) [Magic]
#
# Magic damage (8x, MAG) to all enemies
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 怨・明鏡 (217517) [Physical]
#
# Physical dark damage (7x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 真・明鏡 (217518) [Physical]
#
# Physical damage (8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 極・明鏡 (217519) [Physical]
#
# Physical damage (6x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 絶・明鏡 (217520) [Physical]
#
# Physical damage (5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 孤高の力 (217521) [None]
#
# Increase ATK, DEF, MAG and SPR by 25% for 24 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 独裁 (217522) [None]
#
# Increase ATK and DEF by 30% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 貴様も孤独か (217523) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 絶望せよ (217524) [None]
#
# Restore 10000000 HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 無に還れ (217525) [None]
#
# Remove all buffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 死するがいい (217526) [None]
#
# Instant KO (100%) to all enemies (ignores death resist)
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 眼光 (217527) [None]
#
# Inflict Confusion (25%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 極大魔法の詠唱を始めた (217528) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 超極大魔法の詠唱を始めた (217529) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 鉄槌 (217530) [Magic]
#
# Magic damage (2.5x, MAG) to one enemy
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 粛清 (217531) [Magic]
#
# Magic damage (3.6x, MAG) to one enemy
# Unknown parameters: [0]
# Reduce SPR by 25% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 浄魂 (217532) [Magic]
#
# Magic damage (3x, MAG) to all enemies
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 威光 (217533) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Unknown parameters: [0]
# Reduce ATK by 25% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 万象拒絶の障壁 (217534) [None]
#
# Grant a 10000000 HP shield to caster for 24 turns
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 個にして全。唯一にして絶対。 (217535) [None]
#
# Remove all buffs from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if self.HP < 0.5 and honey == False and once():
useSkill(25, 'random') # 個にして全。唯一にして絶対。 (217535): Remove all buffs from caster
honey = True # persistent
elif isTurn(25):
useSkill(16, 'random') # 死するがいい (217526): Instant KO (100%) to all enemies (ignores death resist), Remove all buffs and debuffs from all enemies
sugar = True # persistent
elif sugar == True:
useSkill(16, 'random') # 死するがいい (217526): Instant KO (100%) to all enemies (ignores death resist), Remove all buffs and debuffs from all enemies
elif party('player').unitsAlive(1) and ramen == False and once():
useSkill(13, 'random') # 貴様も孤独か (217523): No effect
ramen = True # persistent
elif ramen == False and once():
useSkill(11, 'random') # 孤高の力 (217521): Increase ATK, DEF, MAG and SPR by 25% for 24 turns to caster (can not be removed)
ramen = True # persistent
elif once():
useSkill(24, 'random') # 万象拒絶の障壁 (217534): Grant a 10000000 HP shield to caster for 24 turns
elif honey == True and sushi == False and apple == False:
useSkill(1, 'random') # 魔法障壁 (217511): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to caster (can not be removed)
apple = True # reset next turn
sushi = True # persistent
elif self.sufferedDamageLastTurn('physical', 'ice') and unit('unknown:0:0').sufferedDamageLastTurn('physical', 'fire') and honey == True and bacon == False and apple == False:
useSkill(3, 'random') # 魔法障壁が壊れかけている (217513): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to caster (can not be removed)
apple = True # reset next turn
bacon = True # persistent
elif self.sufferedDamageLastTurn('magical', 'ice') and unit('unknown:0:0').sufferedDamageLastTurn('magical', 'fire') and honey == True and bacon == False and apple == False:
useSkill(3, 'random') # 魔法障壁が壊れかけている (217513): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to caster (can not be removed)
apple = True # reset next turn
bacon = True # persistent
elif self.sufferedDamageLastTurn('physical', 'ice') and unit('unknown:0:0').sufferedDamageLastTurn('magical', 'fire') and honey == True and bacon == False and apple == False:
useSkill(3, 'random') # 魔法障壁が壊れかけている (217513): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to caster (can not be removed)
apple = True # reset next turn
bacon = True # persistent
elif self.sufferedDamageLastTurn('magical', 'ice') and unit('unknown:0:0').sufferedDamageLastTurn('physical', 'fire') and honey == True and bacon == False and apple == False:
useSkill(3, 'random') # 魔法障壁が壊れかけている (217513): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to caster (can not be removed)
apple = True # reset next turn
bacon = True # persistent
elif self.sufferedDamageLastTurn('physical', 'ice') and unit('unknown:0:0').sufferedDamageLastTurn('physical', 'fire') and honey == True and bacon == True and apple == False:
useSkill(4, 'random') # 魔法障壁が壊れた (217514): No effect
apple = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif self.sufferedDamageLastTurn('magical', 'ice') and unit('unknown:0:0').sufferedDamageLastTurn('magical', 'fire') and honey == True and bacon == True and apple == False:
useSkill(4, 'random') # 魔法障壁が壊れた (217514): No effect
apple = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif self.sufferedDamageLastTurn('physical', 'ice') and unit('unknown:0:0').sufferedDamageLastTurn('magical', 'fire') and honey == True and bacon == True and apple == False:
useSkill(4, 'random') # 魔法障壁が壊れた (217514): No effect
apple = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif self.sufferedDamageLastTurn('magical', 'ice') and unit('unknown:0:0').sufferedDamageLastTurn('physical', 'fire') and honey == True and bacon == True and apple == False:
useSkill(4, 'random') # 魔法障壁が壊れた (217514): No effect
apple = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif honey == True and bacon == True and apple == False:
useSkill(2, 'random') # 魔法障壁が張られている (217512): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to caster (can not be removed)
apple = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif honey == True and sushi == True and apple == False:
useSkill(2, 'random') # 魔法障壁が張られている (217512): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to caster (can not be removed)
apple = True # reset next turn
elif conditionNotImplemented('turn_damage_over:10000') and honey == False and berry == False:
useSkill(14, 'random') # 絶望せよ (217524): Restore 10000000 HP to caster
berry = True # reset next turn
elif honey == False and white == 2 and olive == False and fries == False:
useSkill(18, 'random') # 極大魔法の詠唱を始めた (217528): No effect
olive = True # reset next turn
fries = True # persistent
steak = True # persistent
elif honey == False and steak == True and olive == False:
useSkill(5, 'random') # 極大魔法 (217515): Magic damage (5x, MAG) to all enemies
olive = True # reset next turn
steak = False # persistent
elif honey == False and mango == False and white == 0:
useSkill(10, 'random') # 絶・明鏡 (217520): Physical damage (5x, ATK) to one enemy
white += 1
mango = True # reset next turn
elif honey == False and mango == False and white == 1:
useSkill(9, 'random') # 極・明鏡 (217519): Physical damage (6x, ATK) to one enemy
white += 1
mango = True # reset next turn
elif honey == False and mango == False and white == 2:
useSkill(8, 'random') # 真・明鏡 (217518): Physical damage (8x, ATK) to one enemy
white += 1
mango = True # reset next turn
elif honey == False and mango == False and white == 3:
useSkill(7, 'random') # 怨・明鏡 (217517): Physical dark damage (7x, ATK) to all enemies
white = 0
mango = True # reset next turn
fries = False # persistent
elif random() <= 0.20 and honey == False and gourd == False:
useSkill(17, 'random') # 眼光 (217527): Inflict Confusion (25%) on all enemies
gourd = True # reset next turn
elif honey == False and white == 1 and lemon == False:
useSkill(12, 'random') # 独裁 (217522): Increase ATK and DEF by 30% for 2 turns to caster
lemon = True # reset next turn
elif honey == False and grape == False:
useSkill(20, 'random') # 鉄槌 (217530): Magic damage (2.5x, MAG) to one enemy
grape = True # reset next turn
elif honey == False and melon == False:
useSkill(22, 'random') # 浄魂 (217532): Magic damage (3x, MAG) to all enemies
melon = True # reset next turn
elif random() <= 0.50 and honey == False and guava == False:
useSkill(21, 'random') # 粛清 (217531): Magic damage (3.6x, MAG) to one enemy, Reduce SPR by 25% for 3 turns to one enemy
guava = True # reset next turn
elif random() <= 0.50 and honey == False and guava == False:
useSkill(23, 'random') # 威光 (217533): Magic damage (4x, MAG) to all enemies, Reduce ATK by 25% for 3 turns to all enemies
guava = True # reset next turn
elif unit('5:enemy:any').hasBuff('any') and honey == False and peach == False and white == 3:
useSkill(15, 'random') # 無に還れ (217525): Remove all buffs from all enemies
peach = True # reset next turn
elif honey == True and salad == True and berry == False:
useSkill(6, 'random') # 超極大魔法 (217516): Magic damage (8x, MAG) to all enemies
berry = True # reset next turn
salad = False # persistent
elif honey == True and black == 2 and berry == False:
useSkill(19, 'random') # 超極大魔法の詠唱を始めた (217529): No effect
berry = True # reset next turn
salad = True # persistent
elif honey == True and mango == False and black == 0:
useSkill(10, 'random') # 絶・明鏡 (217520): Physical damage (5x, ATK) to one enemy
black += 1
mango = True # reset next turn
elif honey == True and mango == False and black == 1:
useSkill(9, 'random') # 極・明鏡 (217519): Physical damage (6x, ATK) to one enemy
black += 1
mango = True # reset next turn
elif honey == True and mango == False and black == 2:
useSkill(8, 'random') # 真・明鏡 (217518): Physical damage (8x, ATK) to one enemy
black = 0
mango = True # reset next turn
elif honey == True and peach == False:
useSkill(5, 'random') # 極大魔法 (217515): Magic damage (5x, MAG) to all enemies
peach = True # reset next turn
elif honey == True and olive == False:
useSkill(20, 'random') # 鉄槌 (217530): Magic damage (2.5x, MAG) to one enemy
olive = True # reset next turn
elif honey == True and lemon == False:
useSkill(22, 'random') # 浄魂 (217532): Magic damage (3x, MAG) to all enemies
lemon = True # reset next turn
elif honey == True and guava == False and black == 1:
useSkill(5, 'random') # 極大魔法 (217515): Magic damage (5x, MAG) to all enemies
guava = True # reset next turn
elif random() <= 0.50:
useSkill(20, 'random') # 鉄槌 (217530): Magic damage (2.5x, MAG) to one enemy
elif random() <= 0.50:
useSkill(22, 'random') # 浄魂 (217532): Magic damage (3x, MAG) to all enemies
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment