Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic aEnigmatic/9091102.gl.py
Last active Jul 28, 2019

Embed
What would you like to do?
Darkness of Chaos
##
# Mission 'Chaotic Darkness' (9091102)
#
# Battles
# * Chaotic Darkness
##
##
# Monster Info
##
#
# Monster Chaotic Darkness (504021200, 504021002)
# Race Demon, Human
# Level 99
# Actions 40-40
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 265000000
# MP 65000
# ATK 1200
# DEF 937
# MAG 875
# SPR 690
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -25%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# 物理・魔法カウンター(混沌の闇シリーズ降臨) (100070) [Passive]
#
# 30% chance to counter physical attacks with Mark of the Night (215732) to the attacker (max 1 / turn)
# 30% chance to counter magic attacks with Mark of the Night (215732) to the attacker (max 1 / turn)
#
##
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
###
# Skills
###
#
# Darkga (215714) [Magic]
#
# Magic dark damage (12x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Graviga (215715) [Magic]
#
# 30% HP damage to all enemies
# Unknown parameters: [30,100]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Bioga (215716) [Magic]
#
# Magic dark damage (10.5x, MAG) to all enemies
# Inflict Poison (50%) on all enemies
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Waterga (215717) [Magic]
#
# Magic water damage (11x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Darkstar (215718) [Physical]
#
# Physical dark damage (11.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Death (184440) [Magic]
#
# [Death]
# Instant KO (60%) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Dark Shot (215719) [None]
#
# Physical* dark damage (5.25x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Venomous Bite (215720) [None]
#
# Physical* dark damage (5x, ATK) to one enemy
# Inflict Poison and Blind (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Time Suspension (215721) [None]
#
# Inflict Stop (100%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bewildering Chaos (215722) [None]
#
# Remove all buffs and debuffs from one enemy
# Remove resistances to Confusion from one enemy for 2 turns
# Inflict Confusion (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Phantasmic Chaos (215723) [None]
#
# Remove all buffs and debuffs from one enemy
# Remove resistances to Blind from one enemy for 2 turns
# Inflict Blind (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Darkness is gathering (215724) [None]
#
# Reduce ATK and MAG by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Darkness is descending (215725) [None]
#
# Increase MAG by 40% for 3 turns to caster
# Unused parameters: [1]
# Grant a 10000000 HP shield to caster for 3 turns
# Unknown parameters: [1]
# Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Evil Devourer (215726) [Physical]
#
# Physical damage (5.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Darkness is permeating (215727) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Malefic Ruin (215728) [Magic]
#
# Magic damage (11x * 1.33 = 14.67x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paradox Field (215729) [Magic]
#
# Magic damage (0.5x, MAG) as MP drain (50%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Darkness is seething (215730) [None]
#
# Magic* damage 0 per turn to all enemies for 3 turns
# Unused parameters: [1100,0,5]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light has cast away the darkness! (215731) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mark of the Night (215732) [None]
#
# Reduce resistance to Dark by 75% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Abyssal Providence (215733) [None]
#
# Reduce resistance to Water and Dark by 75% for 3 turns to all enemies
# Unused parameters: [1]
# Remove resistances to Poison, Blind and Paralyze from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blinding Dark Fog (215734) [Magic]
#
# Magic dark damage (12x, MAG) to all enemies
# Unknown parameters: [0]
# Inflict Poison and Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immobilizing Green Mist (215735) [Magic]
#
# Magic water damage (12x, MAG) to all enemies
# Inflict Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's recoiling from the light! (215736) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if honey == True:
endTurn()
honey = False # persistent
elif green >= 10:
wait() # No action
green = 0
honey = True # persistent
elif self.HP < 0.2 and once():
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
elif self.HP < 0.2 and once():
useSkill(9, 'random') # Time Suspension (215721): Inflict Stop (100%) for 3 turns on one enemy
elif self.HP < 0.2 and once():
useSkill(2, 'random') # Graviga (215715): 30% HP damage to all enemies
fries = True # persistent
salad = True # persistent
sushi = False # persistent
ramen = False # persistent
elif self.HP < 0.2 and once():
useSkill(12, 'random') # Darkness is gathering (215724): Reduce ATK and MAG by 50% for 3 turns to all enemies
black = 0
white = 0
bacon = True # persistent
honey = True # persistent
elif bacon == True and white >= 3 and apple == False:
useSkill(19, 'random') # Light has cast away the darkness! (215731): No effect
black = 0
white = 0
apple = True # reset next turn
bacon = False # persistent
honey = True # persistent
elif bacon == True and white >= 2 and apple == False and once():
useSkill(24, 'random') # It's recoiling from the light! (215736): No effect
apple = True # reset next turn
elif bacon == True and white >= 1 and apple == False and once():
useSkill(24, 'random') # It's recoiling from the light! (215736): No effect
apple = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'light') and bacon == True and var_61 == False:
wait() # No action
var_61 = True # unknown flag type
white += 1
elif self.sufferedDamageLastTurn('magical', 'light') and bacon == True and var_61 == False:
wait() # No action
var_61 = True # unknown flag type
white += 1
elif bacon == True and black >= 3 and berry == False:
useSkill(18, 'random') # Darkness is seething (215730): Magic* damage 0 per turn to all enemies for 3 turns
berry = True # reset next turn
elif bacon == True and black >= 3 and peach == False:
useSkill(16, 'random') # Malefic Ruin (215728): Magic damage (11x * 1.33 = 14.67x, MAG) to all enemies (ignore reflect)
peach = True # reset next turn
elif bacon == True and black >= 3 and olive == False:
useSkill(17, 'random') # Paradox Field (215729): Magic damage (0.5x, MAG) as MP drain (50%) to all enemies
olive = True # reset next turn
elif bacon == True and black >= 3 and mango == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
mango = True # reset next turn
elif bacon == True and black >= 3 and lemon == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
lemon = True # reset next turn
elif bacon == True and black >= 2 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif bacon == True and black >= 2 and peach == False:
useSkill(9, 'random') # Time Suspension (215721): Inflict Stop (100%) for 3 turns on one enemy
peach = True # reset next turn
elif bacon == True and black >= 2 and olive == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
olive = True # reset next turn
elif bacon == True and black >= 2 and mango == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
mango = True # reset next turn
elif bacon == True and black >= 2 and lemon == False:
useSkill(15, 'random') # Darkness is permeating (215727): No effect
black += 1
lemon = True # reset next turn
elif bacon == True and black >= 1 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif bacon == True and black >= 1 and peach == False:
useSkill(8, 'random') # Venomous Bite (215720): Physical* dark damage (5x, ATK) to one enemy, Inflict Poison and Blind (100%) on one enemy
peach = True # reset next turn
elif bacon == True and black >= 1 and olive == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
olive = True # reset next turn
elif bacon == True and black >= 1 and mango == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
black += 1
lemon = True # reset next turn
mango = True # reset next turn
elif bacon == True and black < 1 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif bacon == True and black < 1 and peach == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
peach = True # reset next turn
elif bacon == True and black < 1 and olive == False:
useSkill(14, 'random') # Evil Devourer (215726): Physical damage (5.5x, ATK) to one enemy
olive = True # reset next turn
elif bacon == True and black < 1 and mango == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
mango = True # reset next turn
elif bacon == True and black < 1 and lemon == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
black += 1
lemon = True # reset next turn
elif self.HP < 0.5 and once() and fries == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
elif self.HP < 0.5 and once() and fries == False:
useSkill(9, 'random') # Time Suspension (215721): Inflict Stop (100%) for 3 turns on one enemy
elif self.HP < 0.5 and once() and fries == False:
useSkill(2, 'random') # Graviga (215715): 30% HP damage to all enemies
salad = True # persistent
elif self.HP < 0.5 and once() and fries == False:
useSkill(12, 'random') # Darkness is gathering (215724): Reduce ATK and MAG by 50% for 3 turns to all enemies
black = 0
white = 0
sushi = True # persistent
ramen = False # persistent
honey = True # persistent
elif sushi == True and white >= 2 and apple == False:
useSkill(19, 'random') # Light has cast away the darkness! (215731): No effect
black = 0
white = 0
apple = True # reset next turn
sushi = False # persistent
honey = True # persistent
elif sushi == True and white >= 1 and apple == False and once():
useSkill(24, 'random') # It's recoiling from the light! (215736): No effect
apple = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'light') and sushi == True and var_61 == False:
wait() # No action
var_61 = True # unknown flag type
white += 1
elif self.sufferedDamageLastTurn('magical', 'light') and sushi == True and var_61 == False:
wait() # No action
var_61 = True # unknown flag type
white += 1
elif sushi == True and black >= 3 and berry == False:
useSkill(18, 'random') # Darkness is seething (215730): Magic* damage 0 per turn to all enemies for 3 turns
berry = True # reset next turn
elif sushi == True and black >= 3 and peach == False:
useSkill(16, 'random') # Malefic Ruin (215728): Magic damage (11x * 1.33 = 14.67x, MAG) to all enemies (ignore reflect)
peach = True # reset next turn
elif sushi == True and black >= 3 and olive == False:
useSkill(17, 'random') # Paradox Field (215729): Magic damage (0.5x, MAG) as MP drain (50%) to all enemies
olive = True # reset next turn
elif random() <= 0.50 and sushi == True and black >= 3 and mango == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
mango = True # reset next turn
elif sushi == True and black >= 3 and mango == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
mango = True # reset next turn
elif sushi == True and black >= 2 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif sushi == True and black >= 2 and peach == False:
useSkill(9, 'random') # Time Suspension (215721): Inflict Stop (100%) for 3 turns on one enemy
peach = True # reset next turn
elif sushi == True and black >= 2 and olive == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
olive = True # reset next turn
elif sushi == True and black >= 2 and mango == False:
useSkill(15, 'random') # Darkness is permeating (215727): No effect
black += 1
mango = True # reset next turn
elif sushi == True and black >= 1 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif sushi == True and black >= 1 and peach == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
peach = True # reset next turn
elif sushi == True and black >= 1 and olive == False:
useSkill(14, 'random') # Evil Devourer (215726): Physical damage (5.5x, ATK) to one enemy
olive = True # reset next turn
elif random() <= 0.50 and sushi == True and black >= 1 and mango == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
black += 1
mango = True # reset next turn
elif sushi == True and black >= 1 and mango == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
black += 1
mango = True # reset next turn
elif sushi == True and black < 1 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif sushi == True and black < 1 and peach == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
peach = True # reset next turn
elif sushi == True and black < 1 and olive == False:
useSkill(14, 'random') # Evil Devourer (215726): Physical damage (5.5x, ATK) to one enemy
olive = True # reset next turn
elif random() <= 0.50 and sushi == True and black < 1 and mango == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
black += 1
mango = True # reset next turn
elif sushi == True and black < 1 and mango == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
black += 1
mango = True # reset next turn
elif self.HP < 0.8 and once() and salad == False and fries == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
elif self.HP < 0.8 and once() and salad == False and fries == False:
useSkill(9, 'random') # Time Suspension (215721): Inflict Stop (100%) for 3 turns on one enemy
elif self.HP < 0.8 and once() and salad == False and fries == False:
useSkill(2, 'random') # Graviga (215715): 30% HP damage to all enemies
elif self.HP < 0.8 and once() and salad == False and fries == False:
useSkill(12, 'random') # Darkness is gathering (215724): Reduce ATK and MAG by 50% for 3 turns to all enemies
ramen = True # persistent
honey = True # persistent
elif ramen == True and white >= 1 and apple == False:
useSkill(19, 'random') # Light has cast away the darkness! (215731): No effect
black = 0
white = 0
apple = True # reset next turn
ramen = False # persistent
honey = True # persistent
elif self.sufferedDamageLastTurn('physical', 'light') and ramen == True and var_61 == False:
wait() # No action
var_61 = True # unknown flag type
white += 1
elif self.sufferedDamageLastTurn('magical', 'light') and ramen == True and var_61 == False:
wait() # No action
var_61 = True # unknown flag type
white += 1
elif ramen == True and black >= 3 and berry == False:
useSkill(18, 'random') # Darkness is seething (215730): Magic* damage 0 per turn to all enemies for 3 turns
berry = True # reset next turn
elif ramen == True and black >= 3 and peach == False:
useSkill(16, 'random') # Malefic Ruin (215728): Magic damage (11x * 1.33 = 14.67x, MAG) to all enemies (ignore reflect)
peach = True # reset next turn
elif ramen == True and black >= 3 and olive == False:
useSkill(17, 'random') # Paradox Field (215729): Magic damage (0.5x, MAG) as MP drain (50%) to all enemies
olive = True # reset next turn
elif random() <= 0.50 and ramen == True and black >= 3 and mango == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
mango = True # reset next turn
elif ramen == True and black >= 3 and mango == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
mango = True # reset next turn
elif ramen == True and black >= 2 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif ramen == True and black >= 2 and peach == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
peach = True # reset next turn
elif ramen == True and black >= 2 and olive == False:
useSkill(14, 'random') # Evil Devourer (215726): Physical damage (5.5x, ATK) to one enemy
olive = True # reset next turn
elif ramen == True and black >= 2 and mango == False:
useSkill(15, 'random') # Darkness is permeating (215727): No effect
black += 1
mango = True # reset next turn
elif ramen == True and black >= 1 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif ramen == True and black >= 1 and peach == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
peach = True # reset next turn
elif ramen == True and black >= 1 and olive == False:
useSkill(14, 'random') # Evil Devourer (215726): Physical damage (5.5x, ATK) to one enemy
olive = True # reset next turn
elif random() <= 0.50 and ramen == True and black >= 1 and mango == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
black += 1
mango = True # reset next turn
elif ramen == True and black >= 1 and mango == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
black += 1
mango = True # reset next turn
elif ramen == True and black < 1 and berry == False:
useSkill(13, 'random') # Darkness is descending (215725): Increase MAG by 40% for 3 turns to caster, Grant a 10000000 HP shield to caster for 3 turns, Restore 1000000 (+50,000x, Heal) HP split over 3 turns to caster
berry = True # reset next turn
elif ramen == True and black < 1 and peach == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
peach = True # reset next turn
elif ramen == True and black < 1 and olive == False:
useSkill(14, 'random') # Evil Devourer (215726): Physical damage (5.5x, ATK) to one enemy
olive = True # reset next turn
elif random() <= 0.50 and ramen == True and black < 1 and mango == False:
useSkill(11, 'random') # Phantasmic Chaos (215723): Remove all buffs and debuffs from one enemy, Remove resistances to Blind from one enemy for 2 turns, Inflict Blind (100%) on one enemy
black += 1
mango = True # reset next turn
elif ramen == True and black < 1 and mango == False:
useSkill(10, 'random') # Bewildering Chaos (215722): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for 2 turns, Inflict Confusion (100%) on one enemy
black += 1
mango = True # reset next turn
elif isTurnMod(5) and var_62 == False:
useSkill(5, 'random') # Darkstar (215718): Physical dark damage (11.5x, ATK) to all enemies
var_62 = True # unknown flag type
green += 1
elif isTurnMod(4) and var_63 == False:
useSkill(9, 'random') # Time Suspension (215721): Inflict Stop (100%) for 3 turns on one enemy
var_63 = True # unknown flag type
green += 1
elif steak == False and isTurnMod(3) and var_64 == False:
useSkill(21, 'random') # Abyssal Providence (215733): Reduce resistance to Water and Dark by 75% for 3 turns to all enemies, Remove resistances to Poison, Blind and Paralyze from all enemies for 3 turns
var_64 = True # unknown flag type
green += 1
steak = True # persistent
elif random() <= 0.60 and steak == True and var_64 == False:
useSkill(22, 'random') # Blinding Dark Fog (215734): Magic dark damage (12x, MAG) to all enemies, Inflict Poison and Blind (100%) on all enemies
var_64 = True # unknown flag type
green += 1
steak = False # persistent
elif steak == True and var_64 == False:
useSkill(23, 'random') # Immobilizing Green Mist (215735): Magic water damage (12x, MAG) to all enemies, Inflict Paralyze (100%) on all enemies
var_64 = True # unknown flag type
green += 1
steak = False # persistent
elif random() <= 0.33 and var_65 == False:
useSkill(1, 'random') # Darkga (215714): Magic dark damage (12x, MAG) to all enemies
var_65 = True # unknown flag type
green += 1
elif random() <= 0.50 and var_65 == False:
useSkill(3, 'random') # Bioga (215716): Magic dark damage (10.5x, MAG) to all enemies, Inflict Poison (50%) on all enemies
var_65 = True # unknown flag type
green += 1
elif var_65 == False:
useSkill(4, 'random') # Waterga (215717): Magic water damage (11x, MAG) to all enemies
var_65 = True # unknown flag type
green += 1
elif random() <= 0.33 and var_66 == False:
useSkill(7, 'random') # Dark Shot (215719): Physical* dark damage (5.25x, ATK) to one enemy
var_66 = True # unknown flag type
green += 1
elif random() <= 0.50 and var_66 == False:
useSkill(8, 'random') # Venomous Bite (215720): Physical* dark damage (5x, ATK) to one enemy, Inflict Poison and Blind (100%) on one enemy
var_66 = True # unknown flag type
green += 1
elif var_66 == False:
useSkill(14, 'random') # Evil Devourer (215726): Physical damage (5.5x, ATK) to one enemy
var_66 = True # unknown flag type
green += 1
elif random() <= 0.33 and var_67 == False:
useSkill(7, 'random') # Dark Shot (215719): Physical* dark damage (5.25x, ATK) to one enemy
var_67 = True # unknown flag type
green += 1
elif random() <= 0.50 and var_67 == False:
useSkill(8, 'random') # Venomous Bite (215720): Physical* dark damage (5x, ATK) to one enemy, Inflict Poison and Blind (100%) on one enemy
var_67 = True # unknown flag type
green += 1
elif var_67 == False:
useSkill(14, 'random') # Evil Devourer (215726): Physical damage (5.5x, ATK) to one enemy
var_67 = True # unknown flag type
green += 1
elif self.HP < 0.2 and isTurnMod(3) and var_68 == False:
useSkill(6, 'random') # Death (184440): [Death], Instant KO (60%) to one enemy
var_68 = True # unknown flag type
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
You can’t perform that action at this time.