Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created January 25, 2024 22:42
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/73716af62aef37359a0edb9471770d73 to your computer and use it in GitHub Desktop.
Save aEnigmatic/73716af62aef37359a0edb9471770d73 to your computer and use it in GitHub Desktop.
Shinobi of Unknown Origin
##
# Mission 'Shinobi of Unknown Origin' (95250101)
#
# Monsters
# * Kumochi (900011375)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 5% additional morale for every 3 EX levels included in party.Begin battle with 5% additional morale if all units in party are at EX +3.
# All units in party are EX+3
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Reduce light or dark resistance for enemy (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Light/Dark) (918299) [Player]
#
# Increase resistance to Light and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Kumochi (900011375)
# Race Human, Reaper, Insect
# Level 99
# Actions 10-10
#
#
# Stats
# HP 200000000
# MP 100000
# ATK 300
# DEF 4000
# MAG 300
# SPR 4000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice -40%
# Lightning 85%
# Water 85%
# Wind 85%
# Earth 0%
# Light -40%
# Dark 0%
# Non-Elemental 50%
#
#
# Status resist (+0% / 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
###
#
# TFA Passive 30/60 Tier 1 (920032) [Passive]
#
# Increase DEF and SPR by 60% and ATK and MAG by 30%
#
##
###
# Skills
###
#
# Lethal Strike (902092) [Physical]
#
# Physical damage (10x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blade Dance (902093) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Blast (902089) [Magic]
#
# Magic damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Wave (902090) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silent Strike (902091) [Physical]
#
# Physical damage (5x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.20:
useSkill(1, 'random') # Lethal Strike (902092): Physical damage (10x, ATK) to one enemy (+100% accuracy)
return
if random() <= 0.30:
useSkill(2, 'random') # Blade Dance (902093): Physical damage (10x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.40:
useSkill(3, 'random') # Chakra Blast (902089): Magic damage (5x, MAG) to one enemy
return
if random() <= 0.50:
useSkill(4, 'random') # Chakra Wave (902090): Magic damage (10x, MAG) to all enemies
return
else:
useSkill(5, 'random') # Silent Strike (902091): Physical damage (5x, ATK) to one enemy (+100% accuracy)
return
##
# Mission 'Shinobi of Unknown Origin' (95250102)
#
# Monsters
# * Kumochi (900011376)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 5% additional morale.
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Reduce light or dark resistance for enemy (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Light/Dark) (918299) [Player]
#
# Increase resistance to Light and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Kumochi (900011376, 900011375)
# Race Human, Reaper, Insect
# Level 99
# Actions 10-10
#
#
# Stats
# HP 300000000
# MP 100000
# ATK 700
# DEF 10000
# MAG 700
# SPR 10000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice -40%
# Lightning 85%
# Water 85%
# Wind 85%
# Earth 0%
# Light -40%
# Dark 0%
# Non-Elemental 50%
#
#
# Status resist (+0% / 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
###
#
# TFA Passive 40/70 Tier 2 (920033) [Passive]
#
# Increase DEF and SPR by 70% and ATK and MAG by 40%
#
##
###
# Skills
###
#
# Lethal Strike (902092) [Physical]
#
# Physical damage (10x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blade Dance (902093) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Blast (902089) [Magic]
#
# Magic damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Wave (902090) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silent Strike (902091) [Physical]
#
# Physical damage (5x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.20:
useSkill(1, 'random') # Lethal Strike (902092): Physical damage (10x, ATK) to one enemy (+100% accuracy)
return
if random() <= 0.30:
useSkill(2, 'random') # Blade Dance (902093): Physical damage (10x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.40:
useSkill(3, 'random') # Chakra Blast (902089): Magic damage (5x, MAG) to one enemy
return
if random() <= 0.50:
useSkill(4, 'random') # Chakra Wave (902090): Magic damage (10x, MAG) to all enemies
return
else:
useSkill(5, 'random') # Silent Strike (902091): Physical damage (5x, ATK) to one enemy (+100% accuracy)
return
##
# Mission 'Shinobi of Unknown Origin' (95250103)
#
# Monsters
# * Kumochi (900011377)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 12% additional morale.
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Reduce light or dark resistance for enemy (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Light/Dark) (918299) [Player]
#
# Increase resistance to Light and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Kumochi (900011377)
# Race Human, Reaper, Insect
# Level 99
# Actions 15-15
#
#
# Stats
# HP 400000000
# MP 100000
# ATK 1000
# DEF 15000
# MAG 1000
# SPR 15000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice -40%
# Lightning 85%
# Water 85%
# Wind 85%
# Earth 0%
# Light -40%
# Dark 0%
# Non-Elemental 80%
#
#
# Status resist (+0% / 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
###
#
# TFA Passive 50/80 Tier 3 (920034) [Passive]
#
# Increase DEF and SPR by 80% and ATK and MAG by 50%
#
##
###
# Skills
###
#
# Ninpo: Sun Ray (902085) [Magic]
#
# Magic light damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dulled Blade (902082) [None]
#
# Reduce ATK and MAG by 90% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kumochi is writing with pitch-black ink... (902076) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Solar Flare (902086) [Magic]
#
# Magic light damage (10x, MAG) to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scroll of Darkness (902079) [None]
#
# Inflict Blind (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Marked for Death (902083) [None]
#
# Reduce DEF and SPR by 90% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Daybreak (902072) [None]
#
# Reduce resistance to Light by 200% for 2 turns to all enemies
# Increase Light magic damage by 100% to caster for 2 turns
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kumochi is writing with venomous ink... (902077) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scroll of Poison (902080) [None]
#
# Inflict Poison (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lethal Strike (902092) [Physical]
#
# Physical damage (10x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blade Dance (902093) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Blast (902089) [Magic]
#
# Magic damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Wave (902090) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silent Strike (902091) [Physical]
#
# Physical damage (5x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not gourd:
green += 1
gourd = True # reset next turn
wait()
return
if not guava:
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Ninpo: Sun Ray (902085): Magic light damage (5x, MAG) to one enemy
return
if not var_62:
var_62 = True # reset next turn
useSkill(1, 'random') # Ninpo: Sun Ray (902085): Magic light damage (5x, MAG) to one enemy
return
if not var_63:
var_63 = True # reset next turn
useSkill(2, 'random') # Dulled Blade (902082): Reduce ATK and MAG by 90% for 3 turns to all enemies
return
if not var_64:
var_64 = True # reset next turn
guava = True # reset next turn
useSkill(3, 'random') # Kumochi is writing with pitch-black ink... (902076): Remove resistances to Blind from all enemies for 3 turns
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(4, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(5, 'random') # Scroll of Darkness (902079): Inflict Blind (100%) on all enemies
return
if not var_63:
var_63 = True # reset next turn
useSkill(6, 'random') # Marked for Death (902083): Reduce DEF and SPR by 90% for 3 turns to all enemies
return
if not var_64:
var_64 = True # reset next turn
useSkill(7, 'random') # Ninpo: Daybreak (902072): Reduce resistance to Light by 200% for 2 turns to all enemies, Increase Light magic damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not var_65:
var_65 = True # reset next turn
guava = True # reset next turn
useSkill(8, 'random') # Kumochi is writing with venomous ink... (902077): Remove resistances to Poison from all enemies for 3 turns
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(4, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(4, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_63:
var_63 = True # reset next turn
green = 0
guava = True # reset next turn
useSkill(9, 'random') # Scroll of Poison (902080): Inflict Poison (100%) on all enemies
return
if random() <= 0.20:
useSkill(10, 'random') # Lethal Strike (902092): Physical damage (10x, ATK) to one enemy (+100% accuracy)
return
if random() <= 0.30:
useSkill(11, 'random') # Blade Dance (902093): Physical damage (10x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.40:
useSkill(12, 'random') # Chakra Blast (902089): Magic damage (5x, MAG) to one enemy
return
if random() <= 0.50:
useSkill(13, 'random') # Chakra Wave (902090): Magic damage (10x, MAG) to all enemies
return
else:
useSkill(14, 'random') # Silent Strike (902091): Physical damage (5x, ATK) to one enemy (+100% accuracy)
return
##
# Mission 'Shinobi of Unknown Origin' (95250104)
#
# Monsters
# * Kumochi (900011378)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 20% additional morale.
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Reduce light or dark resistance for enemy (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Light/Dark) (918299) [Player]
#
# Increase resistance to Light and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Kumochi (900011378, 900011377)
# Race Human, Reaper, Insect
# Level 99
# Actions 15-15
#
#
# Stats
# HP 600000000
# MP 100000
# ATK 1300
# DEF 22000
# MAG 1300
# SPR 22000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice -40%
# Lightning 85%
# Water 85%
# Wind 85%
# Earth 0%
# Light -40%
# Dark 0%
# Non-Elemental 80%
#
#
# Status resist (+0% / 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
###
#
# TFA Passive 60/90 Tier 4 (920035) [Passive]
#
# Increase DEF and SPR by 90% and ATK and MAG by 60%
#
##
###
# Skills
###
#
# Ninpo: Sun Ray (902085) [Magic]
#
# Magic light damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dulled Blade (902082) [None]
#
# Reduce ATK and MAG by 90% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kumochi is writing with pitch-black ink... (902076) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Solar Flare (902086) [Magic]
#
# Magic light damage (10x, MAG) to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scroll of Darkness (902079) [None]
#
# Inflict Blind (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Marked for Death (902083) [None]
#
# Reduce DEF and SPR by 90% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Daybreak (902072) [None]
#
# Reduce resistance to Light by 200% for 2 turns to all enemies
# Increase Light magic damage by 100% to caster for 2 turns
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kumochi is writing with venomous ink... (902077) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scroll of Poison (902080) [None]
#
# Inflict Poison (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lethal Strike (902092) [Physical]
#
# Physical damage (10x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blade Dance (902093) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Blast (902089) [Magic]
#
# Magic damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Wave (902090) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silent Strike (902091) [Physical]
#
# Physical damage (5x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not gourd:
green += 1
gourd = True # reset next turn
wait()
return
if not guava:
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Ninpo: Sun Ray (902085): Magic light damage (5x, MAG) to one enemy
return
if not var_62:
var_62 = True # reset next turn
useSkill(1, 'random') # Ninpo: Sun Ray (902085): Magic light damage (5x, MAG) to one enemy
return
if not var_63:
var_63 = True # reset next turn
useSkill(2, 'random') # Dulled Blade (902082): Reduce ATK and MAG by 90% for 3 turns to all enemies
return
if not var_64:
var_64 = True # reset next turn
guava = True # reset next turn
useSkill(3, 'random') # Kumochi is writing with pitch-black ink... (902076): Remove resistances to Blind from all enemies for 3 turns
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(4, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(5, 'random') # Scroll of Darkness (902079): Inflict Blind (100%) on all enemies
return
if not var_63:
var_63 = True # reset next turn
useSkill(6, 'random') # Marked for Death (902083): Reduce DEF and SPR by 90% for 3 turns to all enemies
return
if not var_64:
var_64 = True # reset next turn
useSkill(7, 'random') # Ninpo: Daybreak (902072): Reduce resistance to Light by 200% for 2 turns to all enemies, Increase Light magic damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not var_65:
var_65 = True # reset next turn
guava = True # reset next turn
useSkill(8, 'random') # Kumochi is writing with venomous ink... (902077): Remove resistances to Poison from all enemies for 3 turns
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(4, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(4, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_63:
var_63 = True # reset next turn
green = 0
guava = True # reset next turn
useSkill(9, 'random') # Scroll of Poison (902080): Inflict Poison (100%) on all enemies
return
if random() <= 0.20:
useSkill(10, 'random') # Lethal Strike (902092): Physical damage (10x, ATK) to one enemy (+100% accuracy)
return
if random() <= 0.30:
useSkill(11, 'random') # Blade Dance (902093): Physical damage (10x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.40:
useSkill(12, 'random') # Chakra Blast (902089): Magic damage (5x, MAG) to one enemy
return
if random() <= 0.50:
useSkill(13, 'random') # Chakra Wave (902090): Magic damage (10x, MAG) to all enemies
return
else:
useSkill(14, 'random') # Silent Strike (902091): Physical damage (5x, ATK) to one enemy (+100% accuracy)
return
##
# Mission 'Shinobi of Unknown Origin' (95250105)
# Enemy has first strike!
#
# Monsters
# * Kumochi (900011379)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 30% additional morale.
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Reduce light or dark resistance for enemy (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Light/Dark) (918299) [Player]
#
# Increase resistance to Light and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Kumochi (900011379)
# Race Human, Reaper, Insect
# Level 99
# Actions 20-20
#
#
# Stats
# HP 800000000
# MP 100000
# ATK 2000
# DEF 40000
# MAG 2000
# SPR 40000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice -40%
# Lightning 85%
# Water 85%
# Wind 85%
# Earth 0%
# Light -40%
# Dark 0%
# Non-Elemental 80%
#
#
# Status resist (+0% / 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
###
#
# TFA Passive 70/100 Tier 5 (920036) [Passive]
#
# Increase DEF and SPR by 100% and ATK and MAG by 70%
#
##
###
# Skills
###
#
# Ominous Shroud (902069) [None]
#
# Reduce damage taken from physical attacks taken by 75% to caster for 2 turns
# Reduce damage taken by magic attacks by 75% to caster for 2 turns
# Increase ATK and SPR by 75% for 2 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Eastern Twilight (902070) [None]
#
# Apply battlefield effect to all enemies for 2 turns: Reduce resistance to Light and Dark by 50%
# Increase morale by 5000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cleansing Chakra (902071) [None]
#
# Remove all debuffs from caster
# Increase morale by 2000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Daybreak (902072) [None]
#
# Reduce resistance to Light by 200% for 2 turns to all enemies
# Increase Light magic damage by 100% to caster for 2 turns
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Nightfall (902073) [None]
#
# Reduce resistance to Dark by 200% for 2 turns to all enemies
# Add Dark element (100%) to physical attacks for 2 turns to caster
# Increase Dark physical damage by 100% to caster for 2 turns
# Increase Dark magic damage by 100% to caster for 2 turns
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strength in Weakness (902074) [None]
#
# Absorb Ice, Earth, Light and Dark damage to caster for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Elusive Shadow (902075) [None]
#
# Dodge 10 physical attacks for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kumochi is writing with pitch-black ink... (902076) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kumochi is writing with venomous ink... (902077) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kumochi is writing with ancient ink... (902078) [None]
#
# Unknown active effect type '147': [[0,0,0,0,0,0,0,0],1,0,0,0,0,0,0,1,3]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scroll of Darkness (902079) [None]
#
# Inflict Blind (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scroll of Poison (902080) [None]
#
# Inflict Poison (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scroll of the Undead (902081) [None]
#
# Inflict Zombie (100%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dulled Blade (902082) [None]
#
# Reduce ATK and MAG by 90% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Marked for Death (902083) [None]
#
# Reduce DEF and SPR by 90% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Healing Chakra (902084) [None]
#
# Restore 10% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Sun Ray (902085) [Magic]
#
# Magic light damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Solar Flare (902086) [Magic]
#
# Magic light damage (10x, MAG) to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Shadow Spike (902087) [Magic]
#
# Magic dark damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ninpo: Dark Vortex (902088) [Magic]
#
# Magic dark damage (10x, MAG) to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lethal Strike (902092) [Physical]
#
# Physical damage (10x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blade Dance (902093) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Blast (902089) [Magic]
#
# Magic damage (5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chakra Wave (902090) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silent Strike (902091) [Physical]
#
# Physical damage (5x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blood Mania II (902094) [None]
#
# Restore 25% HP to caster
# Reduce morale by 25500 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blood Mania (902095) [None]
#
# Sacrifice 25% HP to deal 0% HP damage to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Manic Charge (902096) [None]
#
# Unknown active effect type '1027': [2,918287,1,0,0,0,0,[215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217,253001807,253001817,253000205,253000237,253002007,253002017,253001907,253001917,253002107,253002117],0,1,902096]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Manic Rush (902097) [None]
#
# Unknown active effect type '1027': [2,918284,1,0,0,30010015,0,0,[215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217,253001807,253001817,253000205,253000237,253002007,253002017,253001907,253001917,253002107,253002117],1,902097]
# Unknown active effect type '1027': [2,918284,1,0,0,40000024,0,0,[215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217,253001807,253001817,253000205,253000237,253002007,253002017,253001907,253001917,253002107,253002117],1,902097]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Manic Charge+ (902098) [None]
#
# Unknown active effect type '1027': [[2,2,2,2],[918288,918289,918290,918292],1,0,0,0,0,[215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217,253001807,253001817,253000205,253000237,253002007,253002017,253001907,253001917,253002107,253002117],0,1,902098]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Manic Rush+ (902099) [None]
#
# Unknown active effect type '1027': [[2,2,2,2],[918285,918286,918290,918292],1,0,0,30010015,0,0,[215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217,253001807,253001817,253000205,253000237,253002007,253002017,253001907,253001917,253002107,253002117],1,902099]
# Unknown active effect type '1027': [[2,2,2,2],[918285,918286,918290,918292],1,0,0,40000024,0,0,[215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217,253001807,253001817,253000205,253000237,253002007,253002017,253001907,253001917,253002107,253002117],1,902099]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if isFirstTurn():
useSkill(1, 'random') # Ominous Shroud (902069): Reduce damage taken from physical attacks taken by 75% to caster for 2 turns, Reduce damage taken by magic attacks by 75% to caster for 2 turns, Increase ATK and SPR by 75% for 2 turns to caster (can not be removed)
useSkill(2, 'random') # Eastern Twilight (902070): Apply battlefield effect to all enemies for 2 turns: Reduce resistance to Light and Dark by 50%, Increase morale by 5000 for this team
endTurn()
return
if self.HP < 0.75 and honey and not ramen and once():
ramen = True # persistent
honey = False # persistent
useSkill(26, 'random') # Blood Mania II (902094): Restore 25% HP to caster, Reduce morale by 25500 for this team
return
if self.HP < 0.5:
if once():
useSkill(3, 'random') # Cleansing Chakra (902071): Remove all debuffs from caster, Increase morale by 2000 for this team
return
if once():
useSkill(1, 'random') # Ominous Shroud (902069): Reduce damage taken from physical attacks taken by 75% to caster for 2 turns, Reduce damage taken by magic attacks by 75% to caster for 2 turns, Increase ATK and SPR by 75% for 2 turns to caster (can not be removed)
return
if not apple:
if not self.sufferedDamageLastTurn('physical', 'ice') \
or not self.sufferedDamageLastTurn('magical', 'ice') \
or not self.sufferedDamageLastTurn('magical|physical', 'dark|light|quake'):
apple = True # reset next turn
wait()
return
if not berry:
if not self.sufferedDamageLastTurn('physical', 'fire') \
or not self.sufferedDamageLastTurn('magical', 'fire') \
or not self.sufferedDamageLastTurn('magical|physical', 'aero|thunder|water'):
berry = True # reset next turn
wait()
return
if not apple and not var_67:
var_67 = True # unknown flag type (67)
useSkill(6, 'random') # Strength in Weakness (902074): Absorb Ice, Earth, Light and Dark damage to caster for 2 turns
return
if berry and not var_68:
var_68 = True # unknown flag type (68)
useSkill(7, 'random') # Elusive Shadow (902075): Dodge 10 physical attacks for one turn to caster
return
if not gourd:
black += 1
white += 1
green += 1
gourd = True # reset next turn
wait()
return
if white == 3:
if not var_69:
var_69 = True # unknown flag type (69)
useSkill(1, 'random') # Ominous Shroud (902069): Reduce damage taken from physical attacks taken by 75% to caster for 2 turns, Reduce damage taken by magic attacks by 75% to caster for 2 turns, Increase ATK and SPR by 75% for 2 turns to caster (can not be removed)
return
if not var_70:
var_70 = True # unknown flag type (70)
white = 0
useSkill(2, 'random') # Eastern Twilight (902070): Apply battlefield effect to all enemies for 2 turns: Reduce resistance to Light and Dark by 50%, Increase morale by 5000 for this team
return
if black == 5 and not var_71:
var_71 = True # unknown flag type (71)
black = 0
useSkill(3, 'random') # Cleansing Chakra (902071): Remove all debuffs from caster, Increase morale by 2000 for this team
return
if honey:
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(17, 'random') # Ninpo: Sun Ray (902085): Magic light damage (5x, MAG) to one enemy
return
if not var_62:
var_62 = True # reset next turn
useSkill(17, 'random') # Ninpo: Sun Ray (902085): Magic light damage (5x, MAG) to one enemy
return
if not var_63:
var_63 = True # reset next turn
useSkill(14, 'random') # Dulled Blade (902082): Reduce ATK and MAG by 90% for 3 turns to all enemies
return
if not var_64:
var_64 = True # reset next turn
useSkill(8, 'random') # Kumochi is writing with pitch-black ink... (902076): Remove resistances to Blind from all enemies for 3 turns
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(18, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(11, 'random') # Scroll of Darkness (902079): Inflict Blind (100%) on all enemies
return
if not var_63:
var_63 = True # reset next turn
useSkill(15, 'random') # Marked for Death (902083): Reduce DEF and SPR by 90% for 3 turns to all enemies
return
if not var_64:
var_64 = True # reset next turn
useSkill(4, 'random') # Ninpo: Daybreak (902072): Reduce resistance to Light by 200% for 2 turns to all enemies, Increase Light magic damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not var_65:
var_65 = True # reset next turn
useSkill(9, 'random') # Kumochi is writing with venomous ink... (902077): Remove resistances to Poison from all enemies for 3 turns
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(18, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(18, 'random') # Ninpo: Solar Flare (902086): Magic light damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_63:
var_63 = True # reset next turn
green = 0
useSkill(12, 'random') # Scroll of Poison (902080): Inflict Poison (100%) on all enemies
return
if ramen:
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(7, 'random') # Elusive Shadow (902075): Dodge 10 physical attacks for one turn to caster
return
if not var_62:
var_62 = True # reset next turn
useSkill(19, 'random') # Ninpo: Shadow Spike (902087): Magic dark damage (5x, MAG) to one enemy
return
if not var_63:
var_63 = True # reset next turn
useSkill(19, 'random') # Ninpo: Shadow Spike (902087): Magic dark damage (5x, MAG) to one enemy
return
if not var_64:
var_64 = True # reset next turn
useSkill(19, 'random') # Ninpo: Shadow Spike (902087): Magic dark damage (5x, MAG) to one enemy
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(16, 'random') # Healing Chakra (902084): Restore 10% HP to caster
return
if not var_62:
var_62 = True # reset next turn
useSkill(19, 'random') # Ninpo: Shadow Spike (902087): Magic dark damage (5x, MAG) to one enemy
return
if not var_63:
var_63 = True # reset next turn
useSkill(11, 'random') # Scroll of Darkness (902079): Inflict Blind (100%) on all enemies
return
if not var_64:
var_64 = True # reset next turn
useSkill(15, 'random') # Marked for Death (902083): Reduce DEF and SPR by 90% for 3 turns to all enemies
return
if not var_65:
var_65 = True # reset next turn
useSkill(5, 'random') # Ninpo: Nightfall (902073): Reduce resistance to Dark by 200% for 2 turns to all enemies, Add Dark element (100%) to physical attacks for 2 turns to caster, Increase Dark physical damage by 100% to caster for 2 turns, Increase Dark magic damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not var_66:
var_66 = True # unknown flag type (66)
useSkill(10, 'random') # Kumochi is writing with ancient ink... (902078): Unknown active effect type '147': [[0,0,0,0,0,0,0,0],1,0,0,0,0,0,0,1,3]
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(20, 'random') # Ninpo: Dark Vortex (902088): Magic dark damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(20, 'random') # Ninpo: Dark Vortex (902088): Magic dark damage (10x, MAG) to all enemies, Increase morale by 1000 for this team
return
if not var_63:
var_63 = True # reset next turn
useSkill(13, 'random') # Scroll of the Undead (902081): Inflict Zombie (100%) to all enemies
return
if not var_64:
var_64 = True # reset next turn
green = 0
useSkill(14, 'random') # Dulled Blade (902082): Reduce ATK and MAG by 90% for 3 turns to all enemies
return
if random() <= 0.20:
useSkill(24, 'random') # Chakra Wave (902090): Magic damage (10x, MAG) to all enemies
return
if random() <= 0.30:
useSkill(25, 'random') # Silent Strike (902091): Physical damage (5x, ATK) to one enemy (+100% accuracy)
return
if random() <= 0.40:
useSkill(21, 'random') # Lethal Strike (902092): Physical damage (10x, ATK) to one enemy (+100% accuracy)
return
if random() <= 0.50:
useSkill(22, 'random') # Blade Dance (902093): Physical damage (10x, ATK) to all enemies (+100% accuracy)
return
else:
useSkill(23, 'random') # Chakra Blast (902089): Magic damage (5x, MAG) to one enemy
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment