Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active January 29, 2019 11: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/fc391ab95f67f4ea905b5e7d6de9f7bb to your computer and use it in GitHub Desktop.
Save aEnigmatic/fc391ab95f67f4ea905b5e7d6de9f7bb to your computer and use it in GitHub Desktop.
Sadalsuud JP Hard
##
# Mission 'Chamber of Arms - Champion of Freedom and Equality' (8980122)
# BattleScript: 898012201
#
# Battles
# * Sadalsuud [+ Red Wing, Green Wing, Blue Wing, Orange Wing]
##
##
# Monster Info
##
#
# Monster Sadalsuud (402021001)
# Race Avian, Demon
# Level 99
# Actions 17-17
#
#
# Stats
# HP 13000000
# MP 4000
# ATK 1000
# DEF 550
# MAG 1000
# SPR 550
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -200%
# Ice -200%
# Lightning -200%
# Water -200%
# Wind -200%
# Earth -200%
# Light -200%
# Dark -200%
# 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
###
#
# Its shell is absorbing fire attacks! (192380) [None]
#
# Set Fire resistance to 800% for 9999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell is absorbing ice attacks! (192390) [None]
#
# Set Ice resistance to 800% for 9999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell is absorbing lightning attacks! (192400) [None]
#
# Set Lightning resistance to 800% for 9999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell is absorbing water attacks! (192410) [None]
#
# Set Water resistance to 800% for 9999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell is absorbing wind attacks! (192420) [None]
#
# Set Wind resistance to 800% for 9999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell is absorbing earth attacks! (192430) [None]
#
# Set Earth resistance to 800% for 9999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell is absorbing light attacks! (192440) [None]
#
# Set Light resistance to 800% for 9999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell is absorbing dark attacks! (192450) [None]
#
# Set Dark resistance to 800% for 9999 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tumble (192460) [Physical]
#
# 80% HP damage to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The egg is sparkling. (192470) [Magic]
#
# Magic light damage (6x, MAG) to all enemies
# Reduce resistance to Light by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Egg Impact (192480) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sharp Glint (192490) [None]
#
# Inflict Paralyze (100%) on one enemy
# Inflict Stop (100%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wrapped in flames! (192500) [Magic]
#
# Magic fire damage (8x, MAG) to all enemies
# Add Fire element (100%) to physical attacks for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Frozen in ice! (192510) [Magic]
#
# Magic ice damage (8x, MAG) to all enemies
# Add Ice element (100%) to physical attacks for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's a landslide! (192520) [Magic]
#
# Magic earth damage (8x, MAG) to all enemies
# Add Earth element (100%) to physical attacks for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# A violent wind blows! (192530) [Magic]
#
# Magic wind damage (8x, MAG) to all enemies
# Add Wind element (100%) to physical attacks for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ultrasonic (192540) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Panic Voice (192550) [Magic]
#
# 50% HP damage to one enemy
# Inflict Confusion (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flash Ripper (192560) [Magic]
#
# Magic damage (20x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sadalsuud's ATK rose! (192570) [None]
#
# Increase ATK by 50% for 9999 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sadalsuud's DEF rose! (192580) [None]
#
# Increase DEF by 50% for 9999 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sadalsuud's MAG rose! (192590) [None]
#
# Increase MAG by 50% for 9999 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sadalsuud's SPR rose! (192600) [None]
#
# Increase SPR by 50% for 9999 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sadalsuud's ATK rose! (192610) [None]
#
# Increase ATK by 50% for 9999 turns to caster
# Summon random ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sadalsuud's DEF rose! (192620) [None]
#
# Increase DEF by 50% for 9999 turns to caster
# Summon random ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sadalsuud's MAG rose! (192630) [None]
#
# Increase MAG by 50% for 9999 turns to caster
# Summon random ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sadalsuud's SPR rose! (192640) [None]
#
# Increase SPR by 50% for 9999 turns to caster
# Summon random ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strong Claw (191580) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
# Inflict Confusion (40%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
green = 0
elif green == 8:
endTurn()
green = 0
elif self.HP < 0.5 and once():
useSkill(19, 'random') # Flash Ripper (192560): Magic damage (20x, MAG) to all enemies
lemon = True # reset next turn
sushi = True # persistent
ramen = False # persistent
honey = True # persistent
elif self.HP < 0.5 and once():
useSkill(24, 'random') # Sadalsuud's ATK rose! (192610): Increase ATK by 50% for 9999 turns to caster, Summon random ally
elif self.HP < 0.5 and once():
useSkill(25, 'random') # Sadalsuud's DEF rose! (192620): Increase DEF by 50% for 9999 turns to caster, Summon random ally
elif self.HP < 0.5 and once():
useSkill(26, 'random') # Sadalsuud's MAG rose! (192630): Increase MAG by 50% for 9999 turns to caster, Summon random ally
elif self.HP < 0.5 and once():
useSkill(27, 'random') # Sadalsuud's SPR rose! (192640): Increase SPR by 50% for 9999 turns to caster, Summon random ally
apple = True # reset next turn
elif unit('3:ally:2:Red Wing').is('dead') and sushi == True and berry == False:
useSkill(20, 'random') # Sadalsuud's ATK rose! (192570): Increase ATK by 50% for 9999 turns to caster
berry = True # reset next turn
elif unit('3:ally:4:Blue Wing').is('dead') and sushi == True and peach == False:
useSkill(21, 'random') # Sadalsuud's DEF rose! (192580): Increase DEF by 50% for 9999 turns to caster
peach = True # reset next turn
elif unit('3:ally:5:Orange Wing').is('dead') and sushi == True and olive == False:
useSkill(22, 'random') # Sadalsuud's MAG rose! (192590): Increase MAG by 50% for 9999 turns to caster
olive = True # reset next turn
elif unit('3:ally:3:Green Wing').is('dead') and sushi == True and mango == False:
useSkill(23, 'random') # Sadalsuud's SPR rose! (192600): Increase SPR by 50% for 9999 turns to caster
mango = True # reset next turn
elif unit('3:ally:2:Red Wing').is('dead') and unit('3:ally:3:Green Wing').is('dead') and unit('3:ally:4:Blue Wing').is('dead') and unit('3:ally:5:Orange Wing').is('dead') and sushi == True and lemon == False:
useSkill(19, 'random') # Flash Ripper (192560): Magic damage (20x, MAG) to all enemies
green += 1
lemon = True # reset next turn
elif isTurnMod(2) and sushi == True and melon == False:
useSkill(12, 'random') # Sharp Glint (192490): Inflict Paralyze (100%) on one enemy, Inflict Stop (100%) for 3 turns on one enemy
green += 1
melon = True # reset next turn
elif isTurnMod(3) and sushi == True and lemon == False:
useSkill(19, 'random') # Flash Ripper (192560): Magic damage (20x, MAG) to all enemies
green += 1
apple = True # reset next turn
elif isTurnMod(2) and sushi == True and grape == False:
useSkill(17, 'random') # Ultrasonic (192540): Magic damage (10x, MAG) to all enemies
green += 1
grape = True # reset next turn
elif random() <= 0.30 and sushi == True:
useSkill(18, 'random') # Panic Voice (192550): 50% HP damage to one enemy, Inflict Confusion (100%) on one enemy
green += 1
elif sushi == True:
useSkill(28, 'random') # Strong Claw (191580): Physical damage (2.5x, ATK) to one enemy, Inflict Confusion (40%) on one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('fire', 'physical') and honey == False and berry == False:
useSkill(1, 'random') # Its shell is absorbing fire attacks! (192380): Set Fire resistance to 800% for 9999 turns to caster (can not be removed)
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('fire', 'magical') and honey == False and berry == False:
useSkill(1, 'random') # Its shell is absorbing fire attacks! (192380): Set Fire resistance to 800% for 9999 turns to caster (can not be removed)
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('ice', 'physical') and honey == False and peach == False:
useSkill(2, 'random') # Its shell is absorbing ice attacks! (192390): Set Ice resistance to 800% for 9999 turns to caster (can not be removed)
peach = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('ice', 'magical') and honey == False and peach == False:
useSkill(2, 'random') # Its shell is absorbing ice attacks! (192390): Set Ice resistance to 800% for 9999 turns to caster (can not be removed)
peach = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('thunder', 'physical') and honey == False and olive == False:
useSkill(3, 'random') # Its shell is absorbing lightning attacks! (192400): Set Lightning resistance to 800% for 9999 turns to caster (can not be removed)
olive = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('thunder', 'magical') and honey == False and olive == False:
useSkill(3, 'random') # Its shell is absorbing lightning attacks! (192400): Set Lightning resistance to 800% for 9999 turns to caster (can not be removed)
olive = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('water', 'physical') and honey == False and mango == False:
useSkill(4, 'random') # Its shell is absorbing water attacks! (192410): Set Water resistance to 800% for 9999 turns to caster (can not be removed)
mango = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('water', 'magical') and honey == False and mango == False:
useSkill(4, 'random') # Its shell is absorbing water attacks! (192410): Set Water resistance to 800% for 9999 turns to caster (can not be removed)
mango = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('aero', 'physical') and honey == False and lemon == False:
useSkill(5, 'random') # Its shell is absorbing wind attacks! (192420): Set Wind resistance to 800% for 9999 turns to caster (can not be removed)
lemon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('aero', 'magical') and honey == False and lemon == False:
useSkill(5, 'random') # Its shell is absorbing wind attacks! (192420): Set Wind resistance to 800% for 9999 turns to caster (can not be removed)
lemon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('quake', 'physical') and honey == False and grape == False:
useSkill(6, 'random') # Its shell is absorbing earth attacks! (192430): Set Earth resistance to 800% for 9999 turns to caster (can not be removed)
grape = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('quake', 'magical') and honey == False and grape == False:
useSkill(6, 'random') # Its shell is absorbing earth attacks! (192430): Set Earth resistance to 800% for 9999 turns to caster (can not be removed)
grape = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('light', 'physical') and honey == False and melon == False:
useSkill(7, 'random') # Its shell is absorbing light attacks! (192440): Set Light resistance to 800% for 9999 turns to caster (can not be removed)
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('light', 'magical') and honey == False and melon == False:
useSkill(7, 'random') # Its shell is absorbing light attacks! (192440): Set Light resistance to 800% for 9999 turns to caster (can not be removed)
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('dark', 'physical') and honey == False and guava == False:
useSkill(8, 'random') # Its shell is absorbing dark attacks! (192450): Set Dark resistance to 800% for 9999 turns to caster (can not be removed)
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('dark', 'magical') and honey == False and guava == False:
useSkill(8, 'random') # Its shell is absorbing dark attacks! (192450): Set Dark resistance to 800% for 9999 turns to caster (can not be removed)
guava = True # reset next turn
elif honey == False and self.HP < 0.8 and once():
useSkill(12, 'random') # Sharp Glint (192490): Inflict Paralyze (100%) on one enemy, Inflict Stop (100%) for 3 turns on one enemy
var_62 = 1
green += 1
ramen = True # persistent
elif ramen == True and var_62 == False:
useSkill(12, 'random') # Sharp Glint (192490): Inflict Paralyze (100%) on one enemy, Inflict Stop (100%) for 3 turns on one enemy
var_62 = 1
green += 1
elif random() <= 0.20 and ramen == True and var_63 == False:
useSkill(13, 'random') # Wrapped in flames! (192500): Magic fire damage (8x, MAG) to all enemies, Add Fire element (100%) to physical attacks for 3 turns to all enemies
var_63 = 1
green += 1
elif random() <= 0.20 and ramen == True and var_63 == False:
useSkill(14, 'random') # Frozen in ice! (192510): Magic ice damage (8x, MAG) to all enemies, Add Ice element (100%) to physical attacks for 3 turns to all enemies
var_63 = 1
green += 1
elif random() <= 0.20 and ramen == True and var_63 == False:
useSkill(15, 'random') # It's a landslide! (192520): Magic earth damage (8x, MAG) to all enemies, Add Earth element (100%) to physical attacks for 3 turns to all enemies
var_63 = 1
green += 1
elif ramen == True and var_63 == False:
useSkill(16, 'random') # A violent wind blows! (192530): Magic wind damage (8x, MAG) to all enemies, Add Wind element (100%) to physical attacks for 3 turns to all enemies
var_63 = 1
green += 1
elif honey == False and isTurnMod(3) and gourd == False:
useSkill(11, 'random') # Super Egg Impact (192480): Magic damage (10x, MAG) to all enemies
green += 1
gourd = True # reset next turn
elif honey == False and var_61 == False:
useSkill(10, 'random') # The egg is sparkling. (192470): Magic light damage (6x, MAG) to all enemies, Reduce resistance to Light by 50% for 3 turns to all enemies
var_61 = 1
green += 1
elif random() <= 0.20 and honey == False:
useSkill(9, 'random') # Tumble (192460): 80% HP damage to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Red Wing (402022100)
# Race Avian, Demon
# Level 99
# Actions 6-6
#
#
# Stats
# HP 5000000
# MP 4000
# ATK 500
# DEF 1200
# MAG 500
# SPR 150
#
#
# Damage resist
# physical 0%
# 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 (+50% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 火属性吸収 (100003) [Passive]
#
# Absorb Fire elemental attacks
#
##
###
# Skills
###
#
# Red Wing (192650) [Physical]
#
# Physical fire damage (7x, ATK) to all enemies
# Reduce ATK by 45% for one turn to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 1:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:4:Blue Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:5:Orange Wing').is('alive') and green == 4:
endTurn()
green = 0
else:
useSkill(1, 'random') # Red Wing (192650): Physical fire damage (7x, ATK) to all enemies, Reduce ATK by 45% for one turn to all enemies
green += 1
##
# Monster Info
##
#
# Monster Green Wing (402022200)
# Race Avian, Demon
# Level 99
# Actions 6-6
#
#
# Stats
# HP 5000000
# MP 4000
# ATK 500
# DEF 1200
# MAG 500
# SPR 150
#
#
# Damage resist
# physical 0%
# 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 (+50% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 風属性吸収 (100011) [Passive]
#
# Absorb Wind elemental attacks
#
##
###
# Skills
###
#
# Green Wing (192680) [Magic]
#
# Magic wind damage (7x, MAG) to one enemy
# Reduce SPR by 45% for one turn to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 1:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:4:Blue Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:5:Orange Wing').is('alive') and green == 4:
endTurn()
green = 0
else:
useSkill(1, 'random') # Green Wing (192680): Magic wind damage (7x, MAG) to one enemy, Reduce SPR by 45% for one turn to one enemy
green += 1
##
# Monster Info
##
#
# Monster Blue Wing (402022300)
# Race Avian, Demon
# Level 99
# Actions 6-6
#
#
# Stats
# HP 5000000
# MP 4000
# ATK 500
# DEF 1200
# MAG 500
# SPR 150
#
#
# Damage resist
# physical 0%
# 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 (+50% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
###
# Skills
###
#
# Blue Wing (192660) [Physical]
#
# Physical water damage (7x, ATK) to one enemy
# Reduce MAG by 45% for one turn to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 1:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:4:Blue Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:5:Orange Wing').is('alive') and green == 4:
endTurn()
green = 0
else:
useSkill(1, 'random') # Blue Wing (192660): Physical water damage (7x, ATK) to one enemy, Reduce MAG by 45% for one turn to one enemy
green += 1
##
# Monster Info
##
#
# Monster Orange Wing (402022400)
# Race Avian, Demon
# Level 99
# Actions 6-6
#
#
# Stats
# HP 5000000
# MP 4000
# ATK 500
# DEF 1200
# MAG 500
# SPR 150
#
#
# Damage resist
# physical 0%
# 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 (+50% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Orange Wing (192670) [Magic]
#
# Magic earth damage (7x, MAG) to all enemies
# Reduce DEF by 45% for one turn to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 1:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 2:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:3:Green Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:4:Blue Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:4:Blue Wing').is('alive') and unit('3:ally:5:Orange Wing').is('alive') and green == 3:
endTurn()
green = 0
elif unit('3:ally:2:Red Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:3:Green Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:4:Blue Wing').is('alive') and green == 4:
endTurn()
green = 0
elif unit('3:ally:5:Orange Wing').is('alive') and green == 4:
endTurn()
green = 0
else:
useSkill(1, 'random') # Orange Wing (192670): Magic earth damage (7x, MAG) to all enemies, Reduce DEF by 45% for one turn to all enemies
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment