Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created November 18, 2019 02:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save aEnigmatic/cfc84175e0603b73745cf057e3e86b63 to your computer and use it in GitHub Desktop.
Scorn of the Machina of Destruction
##
# Mission 'Scorn of the Machina of Destruction' (8976101)
# Enemy has first strike!
#
# Battles
# * Aigaion [+ Left Arm - Demon, Left Arm - Demon, Left Arm - Machina, Right Arm - Beast, Right Arm - Beast, Right Arm - Machina]
##
##
# Monster Info
##
#
# Monster Left Arm - Demon (406078004)
# Race Demon
# Level 99
# Actions 20-20
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 60000000
# MP 60000
# ATK 700
# DEF 800
# MAG 600
# SPR 800
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -50%
# Dark 100%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# 物理・魔法カウンター(レフトアーム・悪魔) (100073) [Passive]
#
# 100% chance to counter physical attacks with Left Arm Punch (215948) to the attacker (max 3 / turn)
# 100% chance to counter magic attacks with Left Arm Punch (215948) to the attacker (max 3 / turn)
#
##
###
# Skills
###
#
# Night Bullet (215943) [Magic]
#
# Magic dark damage (2.5x, MAG) to one enemy
# Inflict Blind (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Nightfall Bullet (215944) [Magic]
#
# Magic dark damage (2.3x, MAG) to all enemies
# Reduce DEF and SPR by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Man-eater Program (215945) [None]
#
# Increase magic damage against Humans by 20% to caster for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Drill Arm (215946) [Physical]
#
# Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover)
# Inflict Stop (100%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Arm Burst+ (215947) [Physical]
#
# [Death]
# Cast Death (100%) or 80% chance to deal physical damage (15x * 1 = 15x, ATK) to one enemy
# Inflict Paralyze and Disease (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Left Arm Punch (215948) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 12 and berry == False and isTurnMod(4):
useSkill(3, 'random') # Man-eater Program (215945): Increase magic damage against Humans by 20% to caster for 2 turns
berry = True # reset next turn
elif unit('2:ally:406068004:Right Arm - Beast').is('alive') and green >= 8 and berry == False and isTurnMod(4):
useSkill(3, 'random') # Man-eater Program (215945): Increase magic damage against Humans by 20% to caster for 2 turns
berry = True # reset next turn
elif unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 12:
endTurn()
green = 0
elif unit('2:ally:406068004:Right Arm - Beast').is('alive') and green >= 8:
endTurn()
green = 0
elif unit('2:ally:406068004:Right Arm - Beast').is('dead') and green < 4:
useSkill(1, 'random') # Night Bullet (215943): Magic dark damage (2.5x, MAG) to one enemy, Inflict Blind (100%) on one enemy
green += 1
elif unit('2:ally:406068004:Right Arm - Beast').is('alive') and green < 2:
useSkill(1, 'random') # Night Bullet (215943): Magic dark damage (2.5x, MAG) to one enemy, Inflict Blind (100%) on one enemy
green += 1
elif unit('2:ally:406068004:Right Arm - Beast').is('dead') and apple == False and isTurnMod(2):
useSkill(2, 'random') # Nightfall Bullet (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
green += 1
apple = True # reset next turn
elif unit('2:ally:406068004:Right Arm - Beast').is('alive') and apple == False and honey == False and isTurnMod(2):
useSkill(2, 'random') # Nightfall Bullet (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
green += 1
apple = True # reset next turn
honey = True # persistent
elif unit('2:ally:406068004:Right Arm - Beast').is('alive') and apple == False and honey == True and isTurnMod(2):
wait() # No action
green += 1
apple = True # reset next turn
honey = False # persistent
elif random() <= 0.45:
useSkill(6, 'random') # Left Arm Punch (215948): Physical damage (3x, ATK) to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Left Arm - Demon (406078005)
# Race Demon
# Level 99
# Actions 20-20
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 65000000
# MP 60000
# ATK 750
# DEF 850
# MAG 650
# SPR 850
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -50%
# Dark 100%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# 物理・魔法カウンター(レフトアーム・悪魔) (100073) [Passive]
#
# 100% chance to counter physical attacks with Left Arm Punch (215948) to the attacker (max 3 / turn)
# 100% chance to counter magic attacks with Left Arm Punch (215948) to the attacker (max 3 / turn)
#
##
###
# Skills
###
#
# Night Bullet (215943) [Magic]
#
# Magic dark damage (2.5x, MAG) to one enemy
# Inflict Blind (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Nightfall Bullet (215944) [Magic]
#
# Magic dark damage (2.3x, MAG) to all enemies
# Reduce DEF and SPR by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Man-eater Program (215945) [None]
#
# Increase magic damage against Humans by 20% to caster for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Drill Arm (215946) [Physical]
#
# Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover)
# Inflict Stop (100%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Arm Burst+ (215947) [Physical]
#
# [Death]
# Cast Death (100%) or 80% chance to deal physical damage (15x * 1 = 15x, ATK) to one enemy
# Inflict Paralyze and Disease (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Left Arm Punch (215948) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 12 and berry == False and isTurnMod(3):
useSkill(3, 'random') # Man-eater Program (215945): Increase magic damage against Humans by 20% to caster for 2 turns
berry = True # reset next turn
elif unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 12 and olive == False and isTurnMod(2):
useSkill(4, 'random') # Drill Arm (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
olive = True # reset next turn
elif unit('2:ally:406068005:Right Arm - Beast').is('alive') and green >= 8 and berry == False and isTurnMod(3):
useSkill(3, 'random') # Man-eater Program (215945): Increase magic damage against Humans by 20% to caster for 2 turns
berry = True # reset next turn
elif unit('2:ally:406068005:Right Arm - Beast').is('alive') and green >= 8 and olive == False and isTurnMod(2):
useSkill(4, 'random') # Drill Arm (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
olive = True # reset next turn
elif unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 12:
endTurn()
green = 0
elif unit('2:ally:406068005:Right Arm - Beast').is('alive') and green >= 8:
endTurn()
green = 0
elif unit('2:ally:406068005:Right Arm - Beast').is('dead') and green < 4:
useSkill(1, 'random') # Night Bullet (215943): Magic dark damage (2.5x, MAG) to one enemy, Inflict Blind (100%) on one enemy
green += 1
elif unit('2:ally:406068005:Right Arm - Beast').is('alive') and green < 2:
useSkill(1, 'random') # Night Bullet (215943): Magic dark damage (2.5x, MAG) to one enemy, Inflict Blind (100%) on one enemy
green += 1
elif unit('2:ally:406068005:Right Arm - Beast').is('dead') and peach == False and isTurnMod(2):
useSkill(2, 'random') # Nightfall Bullet (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
green += 1
peach = True # reset next turn
elif unit('2:ally:406068005:Right Arm - Beast').is('dead') and apple == False and isTurnMod(2):
useSkill(2, 'random') # Nightfall Bullet (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
green += 1
apple = True # reset next turn
elif unit('2:ally:406068005:Right Arm - Beast').is('alive') and peach == False and honey == False and isTurnMod(2):
useSkill(2, 'random') # Nightfall Bullet (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
green += 1
peach = True # reset next turn
elif unit('2:ally:406068005:Right Arm - Beast').is('alive') and apple == False and honey == False and isTurnMod(2):
useSkill(2, 'random') # Nightfall Bullet (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
green += 1
apple = True # reset next turn
honey = True # persistent
elif unit('2:ally:406068005:Right Arm - Beast').is('alive') and apple == False and honey == True and isTurnMod(2):
wait() # No action
green += 1
peach = True # reset next turn
apple = True # reset next turn
honey = False # persistent
elif random() <= 0.45:
useSkill(6, 'random') # Left Arm Punch (215948): Physical damage (3x, ATK) to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Left Arm - Machina (406078006)
# Race Machina
# Level 99
# Actions 20-20
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 70000000
# MP 60000
# ATK 800
# DEF 2000
# MAG 700
# SPR 1900
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 50%
# Water -50%
# Wind 0%
# Earth -50%
# Light 50%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# 物理・魔法カウンター(レフトアーム・機) (100075) [Passive]
#
# 100% chance to counter physical attacks with Left Arm Punch (215948) to the attacker
# 100% chance to counter magic attacks with Left Arm Punch (215948) to the attacker
#
##
###
# Skills
###
#
# Night Bullet (215943) [Magic]
#
# Magic dark damage (2.5x, MAG) to one enemy
# Inflict Blind (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Nightfall Bullet (215944) [Magic]
#
# Magic dark damage (2.3x, MAG) to all enemies
# Reduce DEF and SPR by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Man-eater Program (215945) [None]
#
# Increase magic damage against Humans by 20% to caster for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Drill Arm (215946) [Physical]
#
# Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover)
# Inflict Stop (100%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Arm Burst+ (215947) [Physical]
#
# [Death]
# Cast Death (100%) or 80% chance to deal physical damage (15x * 1 = 15x, ATK) to one enemy
# Inflict Paralyze and Disease (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Left Arm Punch (215948) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif unit('2:ally:406068006:Right Arm - Machina').is('dead') and green >= 12 and peach == False:
useSkill(5, 'highest SPR') # Arm Burst+ (215947): [Death], Cast Death (100%) or 80% chance to deal physical damage (15x * 1 = 15x, ATK) to one enemy, Inflict Paralyze and Disease (100%) on one enemy
peach = True # reset next turn
elif unit('2:ally:406068006:Right Arm - Machina').is('alive') and green >= 8 and isTurnMod(2) and peach == False:
useSkill(5, 'highest SPR') # Arm Burst+ (215947): [Death], Cast Death (100%) or 80% chance to deal physical damage (15x * 1 = 15x, ATK) to one enemy, Inflict Paralyze and Disease (100%) on one enemy
peach = True # reset next turn
elif unit('2:ally:406068006:Right Arm - Machina').is('dead') and green >= 12:
endTurn()
green = 0
elif unit('2:ally:406068006:Right Arm - Machina').is('alive') and green >= 8:
endTurn()
green = 0
elif apple == False:
useSkill(4, 'random') # Drill Arm (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
green += 1
apple = True # reset next turn
elif berry == False:
useSkill(4, 'highest ATK') # Drill Arm (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
green += 1
berry = True # reset next turn
elif unit('2:ally:406068006:Right Arm - Machina').is('dead') and olive == False:
useSkill(4, 'random') # Drill Arm (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
green += 1
olive = True # reset next turn
elif unit('2:ally:406068006:Right Arm - Machina').is('dead') and mango == False:
useSkill(4, 'highest ATK') # Drill Arm (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
green += 1
mango = True # reset next turn
elif unit('2:ally:406068006:Right Arm - Machina').is('dead') and green < 7:
useSkill(6, 'random') # Left Arm Punch (215948): Physical damage (3x, ATK) to one enemy
green += 1
elif unit('2:ally:406068006:Right Arm - Machina').is('alive') and green < 4:
useSkill(6, 'random') # Left Arm Punch (215948): Physical damage (3x, ATK) to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Aigaion (406058003)
# Race Machina
# Level 99
# Actions 60-60
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 500000000
# MP 100000
# ATK 1600
# DEF 750
# MAG 1500
# SPR 750
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning -30%
# Water 0%
# Wind 0%
# Earth 0%
# Light -30%
# 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
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Core Laser (215918) [Magic]
#
# Magic damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Genocide Beam (215919) [None]
#
# Magic* damage (2.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Electromagnetic Explosion (215920) [None]
#
# Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Plasma is concentrating at the core! (215921) [None]
#
# Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Universe Annihilator (215922) [None]
#
# Magic* damage (6x * 1.43 = 8.57x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Universe Destroyer (215923) [None]
#
# Magic* damage (3.5x * 1.43 = 5x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Space Distortion (215924) [None]
#
# Increase DEF and SPR by 300% for 3 turns to caster (can not be removed)
# Unused parameters: [1]
# Set all elements resistance to 300% for 3 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Activate Program Ver. 1.0 (215925) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Activate Program Beast Ver. (215926) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Activate Program Demon Ver. (215927) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pew, pew! Multiple enemies confirmed! (215928) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pew, pew! Commence elimination! (215929) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light has caused plasma to disperse! (215930) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# System down... (215931) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# System recovery completed (215932) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pew, pew! Zap! (215933) [None]
#
# Summon Left Arm - Demon (406078004)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pew, pew! Zap! (215934) [None]
#
# Summon Left Arm - Demon (406078005)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pew, pew! Zap! (215935) [None]
#
# Summon Left Arm - Machina (406078006)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cell Transplant - Demon (215936) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Left arm fully recovered (215937) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pew, pew! Zing! (215938) [None]
#
# Summon Right Arm - Beast (406068004)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pew, pew! Zing! (215939) [None]
#
# Summon Right Arm - Beast (406068005)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pew, pew! Zing! (215940) [None]
#
# Summon Right Arm - Machina (406068006)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cell Transplant - Beast (215941) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Right arm fully recovered (215942) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(11, 'random') # Pew, pew! Multiple enemies confirmed! (215928): No effect
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(10, 'random') # Activate Program Demon Ver. (215927): No effect
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(19, 'random') # Cell Transplant - Demon (215936): No effect
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(16, 'random') # Pew, pew! Zap! (215933): Summon Left Arm - Demon (406078004)
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(9, 'random') # Activate Program Beast Ver. (215926): No effect
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(24, 'random') # Cell Transplant - Beast (215941): No effect
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(21, 'random') # Pew, pew! Zing! (215938): Summon Right Arm - Beast (406068004)
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(7, 'random') # Space Distortion (215924): Increase DEF and SPR by 300% for 3 turns to caster (can not be removed), Set all elements resistance to 300% for 3 turns to caster (can not be removed)
elif once():
wait() # No action
elif once():
wait() # No action
elif once():
useSkill(12, 'random') # Pew, pew! Commence elimination! (215929): No effect
apple = True # reset next turn
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(15, 'random') # System recovery completed (215932): No effect
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(10, 'random') # Activate Program Demon Ver. (215927): No effect
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(19, 'random') # Cell Transplant - Demon (215936): No effect
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(17, 'random') # Pew, pew! Zap! (215934): Summon Left Arm - Demon (406078005)
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(20, 'random') # Left arm fully recovered (215937): No effect
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(9, 'random') # Activate Program Beast Ver. (215926): No effect
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(24, 'random') # Cell Transplant - Beast (215941): No effect
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(22, 'random') # Pew, pew! Zing! (215939): Summon Right Arm - Beast (406068005)
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(25, 'random') # Right arm fully recovered (215942): No effect
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(7, 'random') # Space Distortion (215924): Increase DEF and SPR by 300% for 3 turns to caster (can not be removed), Set all elements resistance to 300% for 3 turns to caster (can not be removed)
mauve += 1
white = 0
green = 0
berry = True # reset next turn
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(15, 'random') # System recovery completed (215932): No effect
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(8, 'random') # Activate Program Ver. 1.0 (215925): No effect
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(18, 'random') # Pew, pew! Zap! (215935): Summon Left Arm - Machina (406078006)
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(20, 'random') # Left arm fully recovered (215937): No effect
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(23, 'random') # Pew, pew! Zing! (215940): Summon Right Arm - Machina (406068006)
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(25, 'random') # Right arm fully recovered (215942): No effect
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead') and green >= 15 and white == 3:
useSkill(7, 'random') # Space Distortion (215924): Increase DEF and SPR by 300% for 3 turns to caster (can not be removed), Set all elements resistance to 300% for 3 turns to caster (can not be removed)
mauve += 1
white = 0
green = 0
berry = True # reset next turn
elif berry == False and mauve >= 1 and isTurnMod(3):
useSkill(7, 'random') # Space Distortion (215924): Increase DEF and SPR by 300% for 3 turns to caster (can not be removed), Set all elements resistance to 300% for 3 turns to caster (can not be removed)
berry = True # reset next turn
elif mauve >= 1:
endTurn()
mauve = 0
elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406078004:Left Arm - Demon').is('alive') and isTurnMod(3):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406068004:Right Arm - Beast').is('alive') and isTurnMod(3):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406078005:Left Arm - Demon').is('alive') and isTurnMod(3):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406068005:Right Arm - Beast').is('alive') and isTurnMod(3):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406078006:Left Arm - Machina').is('alive') and isTurnMod(3):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406068006:Right Arm - Machina').is('alive') and isTurnMod(3):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406078004:Left Arm - Demon').is('alive') and isTurnMod(2):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406068004:Right Arm - Beast').is('alive') and isTurnMod(2):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406078005:Left Arm - Demon').is('alive') and isTurnMod(2):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406068005:Right Arm - Beast').is('alive') and isTurnMod(2):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406078006:Left Arm - Machina').is('alive') and isTurnMod(2):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406068006:Right Arm - Machina').is('alive') and isTurnMod(2):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mauve += 1
elif unit('2:ally:406078004:Left Arm - Demon').is('alive'):
wait() # No action
mauve += 1
elif unit('2:ally:406068004:Right Arm - Beast').is('alive'):
wait() # No action
mauve += 1
elif unit('2:ally:406078005:Left Arm - Demon').is('alive'):
wait() # No action
mauve += 1
elif unit('2:ally:406068005:Right Arm - Beast').is('alive'):
wait() # No action
mauve += 1
elif unit('2:ally:406078006:Left Arm - Machina').is('alive'):
wait() # No action
mauve += 1
elif unit('2:ally:406068006:Right Arm - Machina').is('alive'):
wait() # No action
mauve += 1
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead'):
useSkill(14, 'random') # System down... (215931): No effect
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead'):
wait() # No action
elif once() and unit('2:ally:406078004:Left Arm - Demon').is('dead') and unit('2:ally:406068004:Right Arm - Beast').is('dead'):
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead'):
useSkill(14, 'random') # System down... (215931): No effect
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead'):
wait() # No action
elif once() and unit('2:ally:406078005:Left Arm - Demon').is('dead') and unit('2:ally:406068005:Right Arm - Beast').is('dead'):
wait() # No action
elif once() and unit('2:ally:406078006:Left Arm - Machina').is('dead') and unit('2:ally:406068006:Right Arm - Machina').is('dead'):
useSkill(14, 'random') # System down... (215931): No effect
elif once() and unit('2:ally:406078006:Left Arm - Machina').is('dead') and unit('2:ally:406068006:Right Arm - Machina').is('dead'):
wait() # No action
elif once() and unit('2:ally:406078006:Left Arm - Machina').is('dead') and unit('2:ally:406068006:Right Arm - Machina').is('dead'):
wait() # No action
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and melon == False:
useSkill(3, 'random') # Electromagnetic Explosion (215920): Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and melon == False:
useSkill(3, 'random') # Electromagnetic Explosion (215920): Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and melon == False:
useSkill(3, 'random') # Electromagnetic Explosion (215920): Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and melon == False:
useSkill(3, 'random') # Electromagnetic Explosion (215920): Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
melon = True # reset next turn
elif unit('1:ally:any').HP < 0.4 and green >= 15 and mango == False:
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
mango = True # reset next turn
elif unit('1:ally:any').HP > 0.4 and green >= 15 and lemon == False and isTurnMod(2):
useSkill(2, 'random') # Genocide Beam (215919): Magic* damage (2.6x, MAG) to all enemies
lemon = True # reset next turn
elif unit('1:ally:any').HP < 0.4 and green >= 15 and grape == False and isTurnMod(2):
useSkill(4, 'random') # Plasma is concentrating at the core! (215921): Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
grape = True # reset next turn
pasta = True # persistent
elif unit('1:ally:any').HP > 0.4 and green >= 15 and grape == False and isTurnMod(3):
useSkill(4, 'random') # Plasma is concentrating at the core! (215921): Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
grape = True # reset next turn
pasta = True # persistent
elif green >= 15 and white == 3:
endTurn()
white = 0
green = 0
elif green >= 15:
endTurn()
white += 1
green = 0
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and guava == False and pasta == True:
useSkill(13, 'random') # Light has caused plasma to disperse! (215930): No effect
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and guava == False and pasta == True:
useSkill(13, 'random') # Light has caused plasma to disperse! (215930): No effect
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and olive == False and pasta == True:
useSkill(6, 'random') # Universe Destroyer (215923): Magic* damage (3.5x * 1.43 = 5x, MAG) to all enemies (ignore reflect)
olive = True # reset next turn
pasta = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and olive == False and pasta == True:
useSkill(6, 'random') # Universe Destroyer (215923): Magic* damage (3.5x * 1.43 = 5x, MAG) to all enemies (ignore reflect)
olive = True # reset next turn
pasta = False # persistent
elif olive == False and pasta == True:
useSkill(5, 'random') # Universe Annihilator (215922): Magic* damage (6x * 1.43 = 8.57x, MAG) to all enemies (ignore reflect)
olive = True # reset next turn
pasta = False # persistent
elif green < 6:
useSkill(1, 'random') # Core Laser (215918): Magic damage (4x, MAG) to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Right Arm - Beast (406068004)
# Race Beast
# Level 99
# Actions 20-20
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 60000000
# MP 60000
# ATK 700
# DEF 800
# MAG 600
# SPR 800
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice -50%
# Lightning 0%
# Water 100%
# Wind 0%
# Earth 0%
# Light 0%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# 物理・魔法カウンター(ライトアーム・獣) (100074) [Passive]
#
# 100% chance to counter physical attacks with Right Arm Punch (215956) to the attacker (max 3 / turn)
# 100% chance to counter magic attacks with Right Arm Punch (215956) to the attacker (max 3 / turn)
#
##
###
# Skills
###
#
# Flare Bullet (215949) [Physical]
#
# Physical fire damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Solar Flare Bullet (215950) [Physical]
#
# Physical fire damage (2.3x, ATK) to all enemies
# Reduce resistance to Fire by 35% for 5 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Defensive Jamming (215951) [None]
#
# Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Reflect All (215952) [None]
#
# Reflect all spell(s) for 3 turns to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Curaja Beam (215953) [None]
#
# Restore 7000000 HP to all allies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Upper Voltage (215954) [None]
#
# Increase ATK and MAG by 10% for 3 turns to all allies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Metal Coat (215955) [None]
#
# Increase DEF and SPR by 30% for 5 turns to all allies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Right Arm Punch (215956) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif unit('2:ally:406078004:Left Arm - Demon').is('dead') and green >= 12 and berry == False and isTurnMod(5):
useSkill(3, 'random') # Defensive Jamming (215951): Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
berry = True # reset next turn
elif unit('2:ally:406078004:Left Arm - Demon').is('dead') and green >= 12 and peach == False and isTurnMod(8):
useSkill(5, 'random') # Curaja Beam (215953): Restore 7000000 HP to all allies
peach = True # reset next turn
elif unit('2:ally:406078004:Left Arm - Demon').is('alive') and green >= 8 and berry == False and isTurnMod(5):
useSkill(3, 'random') # Defensive Jamming (215951): Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
berry = True # reset next turn
elif unit('2:ally:406078004:Left Arm - Demon').is('alive') and green >= 8 and peach == False and isTurnMod(8):
useSkill(5, 'random') # Curaja Beam (215953): Restore 7000000 HP to all allies
peach = True # reset next turn
elif unit('2:ally:406078004:Left Arm - Demon').is('dead') and green >= 12:
endTurn()
green = 0
elif unit('2:ally:406078004:Left Arm - Demon').is('alive') and green >= 8:
endTurn()
green = 0
elif unit('2:ally:406078005:Left Arm - Demon').is('dead') and green < 4:
useSkill(1, 'random') # Flare Bullet (215949): Physical fire damage (2.5x, ATK) to one enemy
green += 1
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and green < 2:
useSkill(1, 'random') # Flare Bullet (215949): Physical fire damage (2.5x, ATK) to one enemy
green += 1
elif unit('2:ally:406078004:Left Arm - Demon').is('dead') and apple == False and isTurnMod(2):
useSkill(2, 'random') # Solar Flare Bullet (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
green += 1
apple = True # reset next turn
elif unit('2:ally:406078004:Left Arm - Demon').is('alive') and apple == False and honey == True and isTurnMod(2):
useSkill(2, 'random') # Solar Flare Bullet (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
green += 1
apple = True # reset next turn
honey = False # persistent
elif unit('2:ally:406078004:Left Arm - Demon').is('alive') and apple == False and honey == False and isTurnMod(2):
wait() # No action
green += 1
apple = True # reset next turn
honey = True # persistent
elif random() <= 0.45:
useSkill(8, 'random') # Right Arm Punch (215956): Physical damage (3x, ATK) to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Right Arm - Beast (406068005)
# Race Beast
# Level 99
# Actions 20-20
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 65000000
# MP 60000
# ATK 750
# DEF 850
# MAG 650
# SPR 850
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice -50%
# Lightning 0%
# Water 100%
# Wind 0%
# Earth 0%
# Light 0%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# 物理・魔法カウンター(ライトアーム・獣) (100074) [Passive]
#
# 100% chance to counter physical attacks with Right Arm Punch (215956) to the attacker (max 3 / turn)
# 100% chance to counter magic attacks with Right Arm Punch (215956) to the attacker (max 3 / turn)
#
##
###
# Skills
###
#
# Flare Bullet (215949) [Physical]
#
# Physical fire damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Solar Flare Bullet (215950) [Physical]
#
# Physical fire damage (2.3x, ATK) to all enemies
# Reduce resistance to Fire by 35% for 5 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Defensive Jamming (215951) [None]
#
# Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Reflect All (215952) [None]
#
# Reflect all spell(s) for 3 turns to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Curaja Beam (215953) [None]
#
# Restore 7000000 HP to all allies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Upper Voltage (215954) [None]
#
# Increase ATK and MAG by 10% for 3 turns to all allies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Metal Coat (215955) [None]
#
# Increase DEF and SPR by 30% for 5 turns to all allies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Right Arm Punch (215956) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif unit('2:ally:406078005:Left Arm - Demon').is('dead') and green >= 12 and berry == False and isTurnMod(4):
useSkill(3, 'random') # Defensive Jamming (215951): Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
berry = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('dead') and green >= 12 and peach == False and isTurnMod(6):
useSkill(5, 'random') # Curaja Beam (215953): Restore 7000000 HP to all allies
peach = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('dead') and green >= 12 and mango == False and isTurnMod(3):
useSkill(6, 'random') # Upper Voltage (215954): Increase ATK and MAG by 10% for 3 turns to all allies
mango = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and green >= 8 and berry == False and isTurnMod(4):
useSkill(3, 'random') # Defensive Jamming (215951): Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
berry = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and green >= 8 and peach == False and isTurnMod(6):
useSkill(5, 'random') # Curaja Beam (215953): Restore 7000000 HP to all allies
peach = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and green >= 8 and mango == False and isTurnMod(3):
useSkill(6, 'random') # Upper Voltage (215954): Increase ATK and MAG by 10% for 3 turns to all allies
mango = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('dead') and green >= 12:
endTurn()
green = 0
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and green >= 8:
endTurn()
green = 0
elif unit('2:ally:406078005:Left Arm - Demon').is('dead') and green < 4:
useSkill(1, 'random') # Flare Bullet (215949): Physical fire damage (2.5x, ATK) to one enemy
green += 1
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and green < 2:
useSkill(1, 'random') # Flare Bullet (215949): Physical fire damage (2.5x, ATK) to one enemy
green += 1
elif unit('2:ally:406078005:Left Arm - Demon').is('dead') and olive == False and isTurnMod(2):
useSkill(2, 'random') # Solar Flare Bullet (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
green += 1
olive = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('dead') and apple == False and isTurnMod(2):
useSkill(2, 'random') # Solar Flare Bullet (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
green += 1
apple = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and olive == False and honey == True and isTurnMod(2):
useSkill(2, 'random') # Solar Flare Bullet (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
green += 1
olive = True # reset next turn
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and apple == False and honey == True and isTurnMod(2):
useSkill(2, 'random') # Solar Flare Bullet (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
green += 1
apple = True # reset next turn
honey = False # persistent
elif unit('2:ally:406078005:Left Arm - Demon').is('alive') and apple == False and honey == False and isTurnMod(2):
wait() # No action
green += 1
olive = True # reset next turn
apple = True # reset next turn
honey = True # persistent
elif random() <= 0.45:
useSkill(8, 'random') # Right Arm Punch (215956): Physical damage (3x, ATK) to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Right Arm - Machina (406068006)
# Race Machina
# Level 99
# Actions 20-20
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 70000000
# MP 60000
# ATK 800
# DEF 2000
# MAG 700
# SPR 1900
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 50%
# Water -50%
# Wind 0%
# Earth -50%
# Light 50%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# 物理・魔法カウンター(ライトアーム・機) (100076) [Passive]
#
# 100% chance to counter physical attacks with Right Arm Punch (215956) to the attacker
# 100% chance to counter magic attacks with Right Arm Punch (215956) to the attacker
#
##
###
# Skills
###
#
# Flare Bullet (215949) [Physical]
#
# Physical fire damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Solar Flare Bullet (215950) [Physical]
#
# Physical fire damage (2.3x, ATK) to all enemies
# Reduce resistance to Fire by 35% for 5 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Defensive Jamming (215951) [None]
#
# Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Reflect All (215952) [None]
#
# Reflect all spell(s) for 3 turns to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Curaja Beam (215953) [None]
#
# Restore 7000000 HP to all allies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Upper Voltage (215954) [None]
#
# Increase ATK and MAG by 10% for 3 turns to all allies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Metal Coat (215955) [None]
#
# Increase DEF and SPR by 30% for 5 turns to all allies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Right Arm Punch (215956) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif not unit('1:ally:any').hasReflect() and apple == False:
useSkill(4, 'random') # Reflect All (215952): Reflect all spell(s) for 3 turns to all allies
apple = True # reset next turn
elif not unit('2:ally:406078006:Left Arm - Machina').hasReflect() and unit('2:ally:406078006:Left Arm - Machina').is('alive') and apple == False:
useSkill(4, 'random') # Reflect All (215952): Reflect all spell(s) for 3 turns to all allies
apple = True # reset next turn
elif not unit('2:ally:406058003:Aigaion').hasReflect() and unit('2:ally:406058003:Aigaion').is('alive') and apple == False:
useSkill(4, 'random') # Reflect All (215952): Reflect all spell(s) for 3 turns to all allies
apple = True # reset next turn
elif unit('2:ally:406078006:Left Arm - Machina').is('dead') and green >= 12 and berry == False and isTurnMod(3):
useSkill(6, 'random') # Upper Voltage (215954): Increase ATK and MAG by 10% for 3 turns to all allies
berry = True # reset next turn
elif unit('2:ally:406078006:Left Arm - Machina').is('dead') and green >= 12 and peach == False and isTurnMod(3):
useSkill(7, 'random') # Metal Coat (215955): Increase DEF and SPR by 30% for 5 turns to all allies
peach = True # reset next turn
elif unit('2:ally:406078006:Left Arm - Machina').is('dead') and green >= 12 and olive == False and isTurnMod(5):
useSkill(5, 'random') # Curaja Beam (215953): Restore 7000000 HP to all allies
olive = True # reset next turn
elif unit('2:ally:406078006:Left Arm - Machina').is('alive') and green >= 8 and berry == False and isTurnMod(3):
useSkill(6, 'random') # Upper Voltage (215954): Increase ATK and MAG by 10% for 3 turns to all allies
berry = True # reset next turn
elif unit('2:ally:406078006:Left Arm - Machina').is('alive') and green >= 8 and peach == False and isTurnMod(3):
useSkill(7, 'random') # Metal Coat (215955): Increase DEF and SPR by 30% for 5 turns to all allies
peach = True # reset next turn
elif unit('2:ally:406078006:Left Arm - Machina').is('alive') and green >= 8 and olive == False and isTurnMod(5):
useSkill(5, 'random') # Curaja Beam (215953): Restore 7000000 HP to all allies
olive = True # reset next turn
elif unit('2:ally:406078006:Left Arm - Machina').is('dead') and green >= 12:
endTurn()
green = 0
elif unit('2:ally:406078006:Left Arm - Machina').is('alive') and green >= 8:
endTurn()
green = 0
elif unit('2:ally:406078006:Left Arm - Machina').is('dead') and green < 7:
useSkill(8, 'random') # Right Arm Punch (215956): Physical damage (3x, ATK) to one enemy
green += 1
elif unit('2:ally:406078006:Left Arm - Machina').is('alive') and green < 3:
useSkill(8, 'random') # Right Arm Punch (215956): Physical damage (3x, ATK) to one enemy
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