Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active November 13, 2018 14:14
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/bcd0f354286479946692ec18649ed40f to your computer and use it in GitHub Desktop.
Save aEnigmatic/bcd0f354286479946692ec18649ed40f to your computer and use it in GitHub Desktop.
Scorn of the Surging Menace - GL
##
# Mission 'Scorn of the Surging Menace' (8993201)
#
# Battles
# * Metal Gigantuar Lv. 99
# * Bomb Lv. 99, Balloon Lv. 99, Bomb Lv. 99, Balloon Lv. 99, Bomb Lv. 99, Balloon Lv. 99
# * Searcher Lv. 99, Io Lv. 99
# * Architeuth Lv. 99
# * Greater Demon Lv. 99
##
##
# Monster Info
##
#
# Monster Metal Gigantuar Lv. 99 (211011007)
# Race Plant
# Level 99
# Actions 3-3
#
#
# Stats
# HP 15000
# MP 11111
# ATK 1
# DEF 16000
# MAG 55
# SPR 11111
#
#
# 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 100%
# SPR 100%
# Stop 0%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# 10,000 Needles (181270) [None]
#
# Fixed damage (10000) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 10,000 Needles Combo (181280) [None]
#
# Fixed damage (10000) to one enemy
# Fixed damage (10000) to one enemy
# Fixed damage (10000) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Workload x3! (181290) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tease (181300) [None]
#
# Inflict berserk (+0% ATK) on one enemy for 5 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if gourd == True:
endTurn()
elif honey == True and apple == False:
useSkill(2, 'random') # 10,000 Needles Combo (181280): Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy
apple = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('ability') and honey == False:
useSkill(3, 'random') # Workload x3! (181290): No effect
honey = True # persistent
elif honey == False:
useSkill(1, 'random') # 10,000 Needles (181270): Fixed damage (10000) to one enemy
gourd = True # reset next turn
elif honey == True and isTurnMod(2) and berry == False:
useSkill(4, 'random') # Tease (181300): Inflict berserk (+0% ATK) on one enemy for 5 turns
berry = True # reset next turn
elif honey == True and peach == False:
useSkill(2, 'random') # 10,000 Needles Combo (181280): Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy
peach = True # reset next turn
elif honey == True:
useSkill(2, 'random') # 10,000 Needles Combo (181280): Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy
else:
attack('random')
##
# Monster Info
##
#
# Monster Bomb Lv. 99 (104021031)
# Race Demon
# Level 99
# Actions 1-1
#
#
# Stats
# HP 3000000
# MP 8000
# ATK 200
# DEF 25
# MAG 450
# SPR 40
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice -50%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 100%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Firaja (181310) [Magic]
#
# Magic fire damage (2x, MAG) with consecutive damage increase (max. 4 times, +1x MAG each, 6x total) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Self-Destruct (181330) [None]
#
# Sacrifice 100% HP to deal 100% HP damage to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if isTurn(8):
useSkill(2, 'random') # Self-Destruct (181330): Sacrifice 100% HP to deal 100% HP damage to one enemy
elif self.HP < 0.3:
useSkill(2, 'random') # Self-Destruct (181330): Sacrifice 100% HP to deal 100% HP damage to one enemy
else:
useSkill(1, 'random') # Firaja (181310): Magic fire damage (2x, MAG) with consecutive damage increase (max. 4 times, +1x MAG each, 6x total) to all enemies
##
# Monster Info
##
#
# Monster Balloon Lv. 99 (104022019)
# Race Demon
# Level 99
# Actions 1-1
#
#
# Stats
# HP 3000000
# MP 8000
# ATK 200
# DEF 25
# MAG 450
# SPR 40
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 0%
# Lightning 0%
# Water -50%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 100%
#
#
# 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 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Blizzaja (181320) [Magic]
#
# Magic ice damage (2x, MAG) with consecutive damage increase (max. 4 times, +1x MAG each, 6x total) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Self-Destruct (181330) [None]
#
# Sacrifice 100% HP to deal 100% HP damage to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if isTurn(8):
useSkill(2, 'random') # Self-Destruct (181330): Sacrifice 100% HP to deal 100% HP damage to one enemy
elif self.HP < 0.7:
useSkill(2, 'random') # Self-Destruct (181330): Sacrifice 100% HP to deal 100% HP damage to one enemy
else:
useSkill(1, 'random') # Blizzaja (181320): Magic ice damage (2x, MAG) with consecutive damage increase (max. 4 times, +1x MAG each, 6x total) to all enemies
##
# Monster Info
##
#
# Monster Searcher Lv. 99 (106002035)
# Race Machina
# Level 99
# Actions 5-5
#
#
# Stats
# HP 6500000
# MP 8000
# ATK 280
# DEF 100
# MAG 230
# SPR 30
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth -50%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+100% / 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 100%
# Stop 0%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 雷属性吸収 (100005) [Passive]
#
# Absorb Lightning elemental attacks
#
##
###
# Skills
###
#
# Charge Core (181400) [Magic]
#
# Increase MAG by 30% for 2 turns to one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stop (181340) [Magic]
#
# Inflict Stop (80%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Enthrall Eye (181350) [None]
#
# Inflict Charm (80%) on one enemy for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Confuse (151710) [Magic]
#
# Inflict Confusion (50%) on one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Barstonra (130190) [Magic]
#
# Increase resistance to Earth by 50% for 3 turns to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Repair (181410) [Magic]
#
# Restore 200000 (+5x, Heal) HP to one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 4:
endTurn()
green = 0
ramen = True # persistent
elif white >= 4:
endTurn()
white = 0
sushi = True # persistent
ramen = False # persistent
elif black >= 4:
endTurn()
black = 0
sushi = False # persistent
elif apple == False and ramen == True:
useSkill(3, 'random') # Enthrall Eye (181350): Inflict Charm (80%) on one enemy for one turn
white += 1
apple = True # reset next turn
elif berry == False and ramen == True:
useSkill(2, 'random') # Stop (181340): Inflict Stop (80%) for 3 turns on one enemy
white += 1
berry = True # reset next turn
elif peach == False and ramen == True:
useSkill(4, 'random') # Confuse (151710): Inflict Confusion (50%) on one enemy
white += 1
peach = True # reset next turn
elif unit('1:ally:any').HP < 0.75 and ramen == True:
useSkill(6, 'random') # Repair (181410): Restore 200000 (+5x, Heal) HP to one ally
white += 1
elif ramen == True:
useSkill(4, 'random') # Confuse (151710): Inflict Confusion (50%) on one enemy
white += 1
elif apple == False and sushi == True:
useSkill(2, 'random') # Stop (181340): Inflict Stop (80%) for 3 turns on one enemy
black += 1
apple = True # reset next turn
elif berry == False and sushi == True:
useSkill(4, 'random') # Confuse (151710): Inflict Confusion (50%) on one enemy
black += 1
berry = True # reset next turn
elif peach == False and sushi == True:
useSkill(4, 'random') # Confuse (151710): Inflict Confusion (50%) on one enemy
black += 1
peach = True # reset next turn
elif sushi == True:
useSkill(3, 'random') # Enthrall Eye (181350): Inflict Charm (80%) on one enemy for one turn
black += 1
elif unit('2:ally:306001004:Io Lv. 99').is('alive') and apple == False:
useSkill(1, 'highest DEF') # Charge Core (181400): Increase MAG by 30% for 2 turns to one ally
green += 1
apple = True # reset next turn
elif berry == False:
useSkill(2, 'random') # Stop (181340): Inflict Stop (80%) for 3 turns on one enemy
green += 1
berry = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Confuse (151710): Inflict Confusion (50%) on one enemy
green += 1
peach = True # reset next turn
elif olive == False:
useSkill(5, 'random') # Barstonra (130190): Increase resistance to Earth by 50% for 3 turns to all allies
green += 1
olive = True # reset next turn
elif ramen == False and sushi == False:
attack('random')
green += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster Io Lv. 99 (306001004)
# Race Machina
# Level 99
# Actions 8-8
#
#
# Stats
# HP 8000000
# MP 6000
# ATK 470
# DEF 250
# MAG 650
# SPR 45
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 100%
# Earth -50%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+100% / 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
###
#
# 雷属性吸収 (100005) [Passive]
#
# Absorb Lightning elemental attacks
#
##
###
# Skills
###
#
# Energy supply depleted (181360) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Energy Charge Complete (181370) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Particle Beam (181380) [Magic]
#
# Magic damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Maximum Wave Shot (181390) [None]
#
# Magic* damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Plasma (181420) [Magic]
#
# Magic lightning damage (1.3x, MAG) to one enemy
# Inflict Paralyze (40%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Crush (181430) [Physical]
#
# Physical damage (1.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wave Cannon (181440) [Magic]
#
# Magic damage (1.8x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if berry == True:
endTurn()
elif unit('2:ally:106002035:Searcher Lv. 99').is('dead') and once():
useSkill(1, 'random') # Energy supply depleted (181360): No effect
elif unit('2:ally:106002035:Searcher Lv. 99').is('dead') and once():
useSkill(2, 'random') # Energy Charge Complete (181370): No effect
elif unit('2:ally:106002035:Searcher Lv. 99').is('dead') and peach == False:
useSkill(4, 'random') # Maximum Wave Shot (181390): Magic* damage (10x, MAG) to all enemies
peach = True # reset next turn
elif unit('2:ally:106002035:Searcher Lv. 99').is('alive') and isTurnMod(3):
useSkill(3, 'random') # Particle Beam (181380): Magic damage (4x, MAG) to all enemies
berry = True # reset next turn
elif isTurnMod(2) and apple == False:
useSkill(7, 'random') # Wave Cannon (181440): Magic damage (1.8x, MAG) to one enemy
apple = True # reset next turn
elif random() <= 0.40:
useSkill(5, 'random') # Plasma (181420): Magic lightning damage (1.3x, MAG) to one enemy, Inflict Paralyze (40%) on one enemy
elif random() <= 0.40:
useSkill(6, 'random') # Crush (181430): Physical damage (1.5x, ATK) to one enemy
else:
attack('random')
##
# Monster Info
##
#
# Monster Architeuth Lv. 99 A (303011009)
# Race Aquatic
# Level 99
# Actions 10-10
#
#
# Stats
# HP 8500000
# MP 10000
# ATK 1200
# DEF 200
# MAG 450
# SPR 65
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning -50%
# Water 0%
# Wind 0%
# Earth 100%
# 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 0%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
###
# Skills
###
#
# Ink (181460) [None]
#
# Inflict Blind (60%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Whirlpool (181480) [Magic]
#
# Magic water damage (3.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Jump About (181490) [Physical]
#
# Physical damage (5.5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Waterga (173650) [Magic]
#
# Magic water damage (2.2x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Blizzaga (173670) [Magic]
#
# Magic ice damage (2.2x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if self.HP < 0.3 and green >= 5 and honey == False:
endTurn()
green = 0
honey = True # persistent
elif self.HP < 0.3 and white >= 5 and honey == True:
endTurn()
white = 0
honey = False # persistent
elif self.HP > 0.3 and self.HP < 0.5 and green >= 4 and honey == False:
endTurn()
green = 0
honey = True # persistent
elif self.HP > 0.3 and self.HP < 0.5 and white >= 4 and honey == True:
endTurn()
white = 0
honey = False # persistent
elif self.HP > 0.5 and green >= 3 and honey == False:
endTurn()
green = 0
honey = True # persistent
elif self.HP > 0.5 and white >= 3 and honey == True:
endTurn()
white = 0
honey = False # persistent
elif apple == False and honey == False:
useSkill(1, 'random') # Ink (181460): Inflict Blind (60%) on all enemies
green += 1
apple = True # reset next turn
elif berry == False and self.HP < 0.5 and honey == False:
useSkill(4, 'random') # Waterga (173650): Magic water damage (2.2x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif peach == False and honey == False:
useSkill(2, 'random') # Whirlpool (181480): Magic water damage (3.5x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif olive == False and honey == False:
useSkill(3, 'random') # Jump About (181490): Physical damage (5.5x, ATK) to all enemies (+100% accuracy)
green += 1
olive = True # reset next turn
elif honey == False:
useSkill(3, 'random') # Jump About (181490): Physical damage (5.5x, ATK) to all enemies (+100% accuracy)
green += 1
elif apple == False and honey == True:
useSkill(1, 'random') # Ink (181460): Inflict Blind (60%) on all enemies
white += 1
apple = True # reset next turn
elif berry == False and self.HP < 0.5 and honey == True:
useSkill(3, 'random') # Jump About (181490): Physical damage (5.5x, ATK) to all enemies (+100% accuracy)
white += 1
berry = True # reset next turn
elif peach == False and honey == True:
useSkill(2, 'random') # Whirlpool (181480): Magic water damage (3.5x, MAG) to all enemies
white += 1
peach = True # reset next turn
elif olive == False and honey == True:
useSkill(4, 'random') # Waterga (173650): Magic water damage (2.2x, MAG) to all enemies
white += 1
olive = True # reset next turn
elif honey == True:
useSkill(3, 'random') # Jump About (181490): Physical damage (5.5x, ATK) to all enemies (+100% accuracy)
white += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster Architeuth Lv. 99 B (303011009)
# Race Aquatic
# Level 99
# Actions 6-6
#
#
# Stats
# HP 5500000
# MP 10000
# ATK 550
# DEF 110
# MAG 400
# SPR 45
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 100%
# 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 0%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
###
# Skills
###
#
# Revitalize (181450) [Magic]
#
# Restore 1000000 (+5x, Heal) HP to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Absorb (181470) [Magic]
#
# Magic damage (0.3x, MAG) as MP drain (80%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Watergun (182660) [Magic]
#
# Magic water damage (4.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('2:ally:303011009:Architeuth Lv. 99').HP < 0.6 and green >= 4:
endTurn()
green = 0
elif unit('2:ally:303011009:Architeuth Lv. 99').HP > 0.6 and green >= 3:
endTurn()
green = 0
elif apple == False:
useSkill(3, 'random') # Watergun (182660): Magic water damage (4.5x, MAG) to one enemy
green += 1
apple = True # reset next turn
elif berry == False:
useSkill(2, 'random') # Absorb (181470): Magic damage (0.3x, MAG) as MP drain (80%) to one enemy
green += 1
berry = True # reset next turn
elif peach == False:
useSkill(2, 'highest MP') # Absorb (181470): Magic damage (0.3x, MAG) as MP drain (80%) to one enemy
green += 1
peach = True # reset next turn
else:
useSkill(3, 'random') # Watergun (182660): Magic water damage (4.5x, MAG) to one enemy
green += 1
##
# Monster Info
##
#
# Monster Architeuth Lv. 99 C (303011009)
# Race Aquatic
# Level 99
# Actions 6-6
#
#
# Stats
# HP 5500000
# MP 10000
# ATK 550
# DEF 110
# MAG 400
# SPR 45
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 100%
# 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 0%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
###
# Skills
###
#
# Revitalize (181450) [Magic]
#
# Restore 1000000 (+5x, Heal) HP to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Absorb (181470) [Magic]
#
# Magic damage (0.3x, MAG) as MP drain (80%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Watergun (182660) [Magic]
#
# Magic water damage (4.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('2:ally:303011009:Architeuth Lv. 99').HP < 0.7 and green >= 3:
endTurn()
green = 0
elif unit('2:ally:303011009:Architeuth Lv. 99').HP > 0.7 and green >= 1:
endTurn()
green = 0
elif apple == False:
useSkill(3, 'random') # Watergun (182660): Magic water damage (4.5x, MAG) to one enemy
green += 1
apple = True # reset next turn
elif berry == False:
useSkill(1, 'highest ATK') # Revitalize (181450): Restore 1000000 (+5x, Heal) HP to all allies
green += 1
berry = True # reset next turn
else:
useSkill(3, 'random') # Watergun (182660): Magic water damage (4.5x, MAG) to one enemy
green += 1
##
# Monster Info
##
#
# Monster Architeuth Lv. 99 D (303011009)
# Race Aquatic
# Level 99
# Actions 6-6
#
#
# Stats
# HP 5500000
# MP 10000
# ATK 550
# DEF 110
# MAG 400
# SPR 45
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 100%
# 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 0%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
###
# Skills
###
#
# Revitalize (181450) [Magic]
#
# Restore 1000000 (+5x, Heal) HP to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Absorb (181470) [Magic]
#
# Magic damage (0.3x, MAG) as MP drain (80%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Watergun (182660) [Magic]
#
# Magic water damage (4.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('2:ally:303011009:Architeuth Lv. 99').HP < 0.6 and green >= 4:
endTurn()
green = 0
elif unit('2:ally:303011009:Architeuth Lv. 99').HP > 0.6 and green >= 3:
endTurn()
green = 0
elif apple == False:
useSkill(3, 'random') # Watergun (182660): Magic water damage (4.5x, MAG) to one enemy
green += 1
apple = True # reset next turn
elif berry == False:
useSkill(2, 'random') # Absorb (181470): Magic damage (0.3x, MAG) as MP drain (80%) to one enemy
green += 1
berry = True # reset next turn
elif peach == False:
useSkill(2, 'highest MP') # Absorb (181470): Magic damage (0.3x, MAG) as MP drain (80%) to one enemy
green += 1
peach = True # reset next turn
else:
useSkill(3, 'random') # Watergun (182660): Magic water damage (4.5x, MAG) to one enemy
green += 1
##
# Monster Info
##
#
# Monster Greater Demon Lv. 99 (404002001)
# Race Demon
# Level 99
# Actions 20-20
#
#
# Stats
# HP 35000000
# MP 100000
# ATK 600
# DEF 115
# MAG 500
# SPR 60
#
#
# 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 (+100% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Tornado (181500) [Magic]
#
# Magic wind damage (3x, MAG) to all enemies
# Reduce resistance to Wind by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flood (181510) [Magic]
#
# Magic water damage (3x, MAG) to all enemies
# Reduce resistance to Lightning by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Quake (181520) [Magic]
#
# Magic earth damage (3x, MAG) to all enemies
# Reduce resistance to Earth by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flare (181530) [Magic]
#
# Magic fire damage (3.5x, MAG) to one enemy
# Reduce resistance to Water by 30% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Aeroga Blade (181540) [Physical]
#
# Hybrid* wind damage (1.8x, ATK & MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Thundaga Blade (181550) [Physical]
#
# Hybrid* lightning damage (1.8x, ATK & MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stonga Blade (181560) [Physical]
#
# Hybrid* earth damage (1.8x, ATK & MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Evil Sweep (181570) [Physical]
#
# Physical damage (1.6x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Evil Cutter (181580) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cursed Black Sphere (181590) [Magic]
#
# 90% HP damage to all enemies
# Inflict Poison, Blind, Paralyze and Disease (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Demon's Cackle (181600) [None]
#
# Inflict berserk (+0% ATK) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing magic power! (181610) [None]
#
# Increase MAG by 100% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's flinching from the light! (181620) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's trembling from the light! (181630) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dual Black Magic (181640) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# T Spellblade (181650) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Wave (181660) [None]
#
# Remove all buffs and debuffs from one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if gourd == True:
endTurn()
pasta = True # persistent
elif guava == True:
endTurn()
elif mauve >= 3:
useSkill(14, 'random') # It's trembling from the light! (181630): No effect
mauve = 0
gourd = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('light', 'magical') and grape == False and pasta == False:
useSkill(13, 'random') # It's flinching from the light! (181620): No effect
mauve += 1
grape = True # reset next turn
elif self.hasDebuff('any') and isTurnMod(2):
useSkill(17, 'random') # Dark Wave (181660): Remove all buffs and debuffs from one ally
elif self.HP < 0.2 and once():
useSkill(10, 'random') # Cursed Black Sphere (181590): 90% HP damage to all enemies, Inflict Poison, Blind, Paralyze and Disease (100%) on all enemies
elif self.HP < 0.2 and once():
useSkill(12, 'random') # Focusing magic power! (181610): Increase MAG by 100% for one turn to caster
elif self.HP < 0.2 and once():
useSkill(15, 'random') # Dual Black Magic (181640): No effect
elif self.HP < 0.2 and once():
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
elif self.HP < 0.2 and once():
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
guava = True # reset next turn
bacon = True # persistent
sushi = True # persistent
elif self.HP < 0.5 and once() and sushi == False:
useSkill(10, 'random') # Cursed Black Sphere (181590): 90% HP damage to all enemies, Inflict Poison, Blind, Paralyze and Disease (100%) on all enemies
elif self.HP < 0.5 and once() and sushi == False:
useSkill(12, 'random') # Focusing magic power! (181610): Increase MAG by 100% for one turn to caster
elif self.HP < 0.5 and once() and sushi == False:
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
guava = True # reset next turn
bacon = True # persistent
elif self.HP < 0.7 and once() and bacon == False:
useSkill(10, 'random') # Cursed Black Sphere (181590): 90% HP damage to all enemies, Inflict Poison, Blind, Paralyze and Disease (100%) on all enemies
elif self.HP < 0.7 and once() and bacon == False:
useSkill(12, 'random') # Focusing magic power! (181610): Increase MAG by 100% for one turn to caster
guava = True # reset next turn
elif black >= 8 and self.HP < 0.5 and isTurnMod(2) and grape == False:
useSkill(11, 'highest ATK') # Demon's Cackle (181600): Inflict berserk (+0% ATK) on one enemy
grape = True # reset next turn
elif white >= 8 and self.HP < 0.5 and isTurnMod(2) and grape == False:
useSkill(11, 'highest ATK') # Demon's Cackle (181600): Inflict berserk (+0% ATK) on one enemy
grape = True # reset next turn
elif green >= 8 and self.HP < 0.5 and isTurnMod(2) and grape == False:
useSkill(11, 'highest ATK') # Demon's Cackle (181600): Inflict berserk (+0% ATK) on one enemy
grape = True # reset next turn
elif black == 9 and self.HP < 0.3:
endTurn()
black = 0
ramen = False # persistent
elif white == 9 and self.HP < 0.3:
endTurn()
white = 0
ramen = True # persistent
honey = False # persistent
elif green == 9 and self.HP < 0.3:
endTurn()
green = 0
honey = True # persistent
elif black >= 8 and self.HP > 0.3 and self.HP < 0.6:
endTurn()
black = 0
ramen = False # persistent
elif white >= 8 and self.HP > 0.3 and self.HP < 0.6:
endTurn()
white = 0
ramen = True # persistent
honey = False # persistent
elif green >= 8 and self.HP > 0.3 and self.HP < 0.6:
endTurn()
green = 0
honey = True # persistent
elif black >= 7 and self.HP > 0.6:
endTurn()
black = 0
ramen = False # persistent
elif white >= 7 and self.HP > 0.6:
endTurn()
white = 0
ramen = True # persistent
honey = False # persistent
elif green >= 7 and self.HP > 0.6:
endTurn()
green = 0
honey = True # persistent
elif apple == False and ramen == True:
useSkill(15, 'random') # Dual Black Magic (181640): No effect
apple = True # reset next turn
elif black <= 2 and ramen == True:
useSkill(2, 'random') # Flood (181510): Magic water damage (3x, MAG) to all enemies, Reduce resistance to Lightning by 30% for 3 turns to all enemies
black += 1
elif berry == False and ramen == True:
useSkill(16, 'random') # T Spellblade (181650): No effect
berry = True # reset next turn
elif black <= 5 and ramen == True:
useSkill(6, 'random') # Thundaga Blade (181550): Hybrid* lightning damage (1.8x, ATK & MAG) to one enemy
black += 1
elif peach == False and ramen == True:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
black += 1
peach = True # reset next turn
elif olive == False and ramen == True and self.HP < 0.6:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
black += 1
olive = True # reset next turn
elif mango == False and ramen == True:
useSkill(9, 'random') # Evil Cutter (181580): Physical damage (2x, ATK) to one enemy
black += 1
mango = True # reset next turn
elif lemon == False and ramen == True:
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
black += 1
lemon = True # reset next turn
elif apple == False and honey == True:
useSkill(15, 'random') # Dual Black Magic (181640): No effect
apple = True # reset next turn
elif white <= 2 and honey == True:
useSkill(3, 'random') # Quake (181520): Magic earth damage (3x, MAG) to all enemies, Reduce resistance to Earth by 30% for 3 turns to all enemies
white += 1
elif berry == False and honey == True:
useSkill(16, 'random') # T Spellblade (181650): No effect
berry = True # reset next turn
elif white <= 5 and honey == True:
useSkill(7, 'random') # Stonga Blade (181560): Hybrid* earth damage (1.8x, ATK & MAG) to one enemy
white += 1
elif peach == False and honey == True:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
white += 1
peach = True # reset next turn
elif olive == False and honey == True and self.HP < 0.6:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
white += 1
olive = True # reset next turn
elif mango == False and honey == True:
useSkill(9, 'random') # Evil Cutter (181580): Physical damage (2x, ATK) to one enemy
white += 1
mango = True # reset next turn
elif lemon == False and honey == True:
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
white += 1
lemon = True # reset next turn
elif apple == False:
useSkill(15, 'random') # Dual Black Magic (181640): No effect
apple = True # reset next turn
elif green <= 2:
useSkill(1, 'random') # Tornado (181500): Magic wind damage (3x, MAG) to all enemies, Reduce resistance to Wind by 30% for 3 turns to all enemies
green += 1
elif berry == False:
useSkill(16, 'random') # T Spellblade (181650): No effect
berry = True # reset next turn
elif green <= 5:
useSkill(5, 'random') # Aeroga Blade (181540): Hybrid* wind damage (1.8x, ATK & MAG) to one enemy
green += 1
elif peach == False:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
green += 1
peach = True # reset next turn
elif olive == False and self.HP < 0.6:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif mango == False:
useSkill(9, 'random') # Evil Cutter (181580): Physical damage (2x, ATK) to one enemy
green += 1
mango = True # reset next turn
elif lemon == False:
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
green += 1
lemon = True # reset next turn
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment