Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active February 16, 2018 12:07
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/d8c9e3d7534585b253668057d6da0de3 to your computer and use it in GitHub Desktop.
Save aEnigmatic/d8c9e3d7534585b253668057d6da0de3 to your computer and use it in GitHub Desktop.
Kanshou and Bakuya
##
# Mission 'Kanshou and Bakuya' (9002801)
##
##
# Monster Info
##
#
# Monster Kanshou (900010426)
# Race Dragon
# Level 99
# Actions 6-6
#
#
# Stats
# HP 2800000
# MP 100
# ATK 350
# DEF 3000
# MAG 200
# SPR 300000
#
#
# Damage resist
# physical 0%
# magical 100%
#
#
# 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 +
#
###
###
# Skills
###
#
# Black Mist (Magic)
#
# Magic damage (3x, MAG) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Savage Bite (Physical)
#
# Physical damage (8x, ATK) to one enemy
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Tail Swipe (Physical)
#
# Physical damage (3x, ATK) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kanshou's Wrath (Hybrid)
#
# Gain access to following skills for one turn:
# Kanshou's Wrath (910805)
# Reduce DEF by 90% for 2 turns to one enemy
# Remove DEF debuff from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# You gained a skill! (Hybrid)
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Use the dragon's favor to your advantage! (Hybrid)
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# Related Skills
###
#
# Kanshou's Wrath (Magic)
#
# Fixed* damage (50000) to one enemy
# Reduce SPR by 99% for one turn to one enemy
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Bakuya's Vengence (Physical)
#
# Fixed* damage (50000) to one enemy
# Reduce DEF by 99% for one turn to one enemy
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and apple == False:
useSkill(1, 'random') # Black Mist (900133): Magic damage (3x, MAG) to all enemies
apple = True # reset next turn
elif random() <= 0.30 and apple == False:
useSkill(2, 'random') # Savage Bite (900135): Physical damage (8x, ATK) to one enemy
apple = True # reset next turn
elif random() <= 0.40 and apple == False:
useSkill(3, 'random') # Tail Swipe (900136): Physical damage (3x, ATK) to all enemies
apple = True # reset next turn
elif random() <= 0.30 and berry == False:
useSkill(1, 'random') # Black Mist (900133): Magic damage (3x, MAG) to all enemies
berry = True # reset next turn
elif random() <= 0.30 and berry == False:
useSkill(2, 'random') # Savage Bite (900135): Physical damage (8x, ATK) to one enemy
berry = True # reset next turn
elif random() <= 0.40 and berry == False:
useSkill(3, 'random') # Tail Swipe (900136): Physical damage (3x, ATK) to all enemies
berry = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Kanshou's Wrath (900137): Gain access to following skills for one turn: Kanshou's Wrath (910805), Reduce DEF by 90% for 2 turns to one enemy, Remove DEF debuff from caster
peach = True # reset next turn
elif grape == False:
useSkill(5, 'random') # You gained a skill! (900139): No effect
grape = True # reset next turn
elif melon == False:
useSkill(6, 'random') # Use the dragon's favor to your advantage! (900140): No effect
melon = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Bakuya (900010427)
# Race Dragon
# Level 99
# Actions 6-6
#
#
# Stats
# HP 2800000
# MP 100
# ATK 100
# DEF 300000
# MAG 400
# SPR 3000
#
#
# Damage resist
# physical 100%
# 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 +
#
###
###
# Skills
###
#
# White Mist (Magic)
#
# Magic damage (4.5x, MAG) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Savage Bite (Physical)
#
# Physical damage (8x, ATK) to one enemy
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Tail Swipe (Physical)
#
# Physical damage (3x, ATK) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Bakuya's Vengeance (Hybrid)
#
# Gain access to following skills for one turn:
# Bakuya's Vengence (910806)
# Reduce SPR by 90% for 2 turns to one enemy
# Remove SPR debuff from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# You gained a skill! (Hybrid)
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Use the dragon's favor to your advantage! (Hybrid)
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# Related Skills
###
#
# Kanshou's Wrath (Magic)
#
# Fixed* damage (50000) to one enemy
# Reduce SPR by 99% for one turn to one enemy
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Bakuya's Vengence (Physical)
#
# Fixed* damage (50000) to one enemy
# Reduce DEF by 99% for one turn to one enemy
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and olive == False:
useSkill(3, 'random') # Tail Swipe (900136): Physical damage (3x, ATK) to all enemies
olive = True # reset next turn
elif random() <= 0.30 and olive == False:
useSkill(2, 'random') # Savage Bite (900135): Physical damage (8x, ATK) to one enemy
olive = True # reset next turn
elif random() <= 0.40 and olive == False:
useSkill(1, 'random') # White Mist (900134): Magic damage (4.5x, MAG) to all enemies
olive = True # reset next turn
elif random() <= 0.30 and mango == False:
useSkill(3, 'random') # Tail Swipe (900136): Physical damage (3x, ATK) to all enemies
mango = True # reset next turn
elif random() <= 0.30 and mango == False:
useSkill(2, 'random') # Savage Bite (900135): Physical damage (8x, ATK) to one enemy
mango = True # reset next turn
elif random() <= 0.40 and mango == False:
useSkill(1, 'random') # White Mist (900134): Magic damage (4.5x, MAG) to all enemies
mango = True # reset next turn
elif lemon == False:
useSkill(4, 'random') # Bakuya's Vengeance (900138): Gain access to following skills for one turn: Bakuya's Vengence (910806), Reduce SPR by 90% for 2 turns to one enemy, Remove SPR debuff from caster
lemon = True # reset next turn
elif grape == False:
useSkill(5, 'random') # You gained a skill! (900139): No effect
grape = True # reset next turn
elif melon == False:
useSkill(6, 'random') # Use the dragon's favor to your advantage! (900140): No effect
melon = 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