Created
July 30, 2020 15:00
-
-
Save aEnigmatic/b88c939be22789340e29313ce63405dd to your computer and use it in GitHub Desktop.
Christmas events in July
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Mission 'Not Toying Around - PRO' (9630501) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * Elf Off the Shelf | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Elf Off the Shelf (900010854, 900010808) | |
# Race Fairy | |
# Level 60 | |
# Actions 10-10 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 15000000 | |
# MP 1000 | |
# ATK 165 | |
# DEF 600 | |
# MAG 165 | |
# SPR 600 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 50% | |
# Ice -60% | |
# Lightning 50% | |
# Water 50% | |
# Wind 50% | |
# Earth 50% | |
# Light 50% | |
# Dark 50% | |
# Non-Elemental 50% | |
# | |
# | |
# 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 | |
### | |
# | |
# Wind-Up Toy (900583) [Magic] | |
# | |
# Magic wind damage (4x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Toy Pinwheel (900584) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fairy Dust (900586) [Magic] | |
# | |
# Magic wind damage (2x, MAG) to one enemy | |
# Inflict Confusion (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dash of Wonder (900587) [Magic] | |
# | |
# Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Winds of Winter (900588) [Magic] | |
# | |
# Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to one enemy | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Spirit of the Season (900589) [None] | |
# | |
# Increase break resistance to SPR by 100% for one turn to caster | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Recovery (900590) [None] | |
# | |
# Restore 20000 HP to caster | |
# Reduce DEF and SPR by 20% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Service (900592) [None] | |
# | |
# Restore 35000 HP to caster | |
# Reduce DEF and SPR by 25% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Help (900593) [None] | |
# | |
# Restore 50000 HP to caster | |
# Reduce DEF and SPR by 30% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Assist (900594) [None] | |
# | |
# Restore 65000 HP to caster | |
# Reduce DEF and SPR by 35% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Love (900595) [None] | |
# | |
# Restore 80000 HP to caster | |
# Reduce DEF and SPR by 40% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Gift Exchange (900591) [Magic] | |
# | |
# Fixed* damage (10000) to all enemies | |
# Unknown parameters: [100] | |
# Restore 200 MP to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Winds of Winter Wonderland (900596) [Magic] | |
# | |
# Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Ice, Ice, Baby (900597) [None] | |
# | |
# Set Ice resistance to 1% for 3 turns to caster (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Seeing Stars (900598) [None] | |
# | |
# Remove resistances to Confusion from one enemy for one turn | |
# Inflict Confusion (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# It's Cold Outside (900599) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to one enemy | |
# Reduce DEF and SPR by 60% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Polar Wind (900600) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to one enemy | |
# Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Bag O' Tricks (900601) [None] | |
# | |
# Magic* damage (20x, MAG) to all enemies | |
# Reduce ATK and MAG by 80% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Sprinkle of Magic (900585) [Magic] | |
# | |
# Magic damage (15x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if once(): | |
useSkill(3, 'highest ATK') # Fairy Dust (900586): Magic wind damage (2x, MAG) to one enemy, Inflict Confusion (100%) on one enemy | |
honey = True # persistent | |
elif honey == True: | |
endTurn() | |
honey = False # persistent | |
elif unit('5:enemy:any').usedLastTurn('limitburst') and apple == False: | |
useSkill(19, 'random') # Sprinkle of Magic (900585): Magic damage (15x, MAG) to all enemies | |
apple = True # reset next turn | |
elif green >= 4 and once(): | |
useSkill(15, 'highest ATK') # Seeing Stars (900598): Remove resistances to Confusion from one enemy for one turn, Inflict Confusion (100%) on one enemy | |
elif green >= 4 and once(): | |
useSkill(14, 'random') # Ice, Ice, Baby (900597): Set Ice resistance to 1% for 3 turns to caster (can not be removed) | |
elif self.sufferedDamageLastTurn('physical', 'ice') and self.HP > 0.5 and var_63 == False: | |
wait() # No action | |
var_63 = True # reset next turn | |
green += 1 | |
elif self.sufferedDamageLastTurn('magical', 'ice') and self.HP > 0.5 and var_63 == False: | |
wait() # No action | |
var_63 = True # reset next turn | |
green += 1 | |
elif self.sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and self.HP > 0.3 and berry == False: | |
wait() # No action | |
green += 1 | |
berry = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and self.HP > 0.3 and berry == False: | |
wait() # No action | |
green += 1 | |
berry = True # reset next turn | |
elif self.sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.3 and peach == False: | |
wait() # No action | |
green += 1 | |
peach = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.3 and peach == False: | |
wait() # No action | |
green += 1 | |
peach = True # reset next turn | |
elif peach == False and self.HP < 0.2 and once(): | |
useSkill(11, 'random') # Elf-Love (900595): Restore 80000 HP to caster, Reduce DEF and SPR by 40% for 3 turns to caster | |
elif peach == False and self.HP < 0.2 and once(): | |
useSkill(19, 'random') # Sprinkle of Magic (900585): Magic damage (15x, MAG) to all enemies | |
elif peach == False and once() and self.HP < 0.3: | |
useSkill(10, 'random') # Elf-Assist (900594): Restore 65000 HP to caster, Reduce DEF and SPR by 35% for 3 turns to caster | |
elif peach == False and once(): | |
useSkill(19, 'random') # Sprinkle of Magic (900585): Magic damage (15x, MAG) to all enemies | |
elif peach == True and olive == False and white >= 2: | |
useSkill(17, 'random') # Polar Wind (900600): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
white = 0 | |
olive = True # reset next turn | |
elif random() <= 0.30 and peach == True and olive == False: | |
useSkill(17, 'random') # Polar Wind (900600): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
white += 1 | |
elif berry == False and self.HP < 0.4 and once(): | |
useSkill(9, 'random') # Elf-Help (900593): Restore 50000 HP to caster, Reduce DEF and SPR by 30% for 3 turns to caster | |
elif berry == False and self.HP < 0.4 and once(): | |
useSkill(19, 'random') # Sprinkle of Magic (900585): Magic damage (15x, MAG) to all enemies | |
elif berry == False and once(): | |
useSkill(8, 'random') # Elf-Service (900592): Restore 35000 HP to caster, Reduce DEF and SPR by 25% for 3 turns to caster | |
elif self.HP < 0.5 and once(): | |
useSkill(12, 'random') # Gift Exchange (900591): Fixed* damage (10000) to all enemies, Restore 200 MP to all enemies | |
elif berry == True and mango == False and black >= 2: | |
useSkill(16, 'random') # It's Cold Outside (900599): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
black = 0 | |
mango = True # reset next turn | |
elif random() <= 0.30 and berry == True and mango == False: | |
useSkill(16, 'random') # It's Cold Outside (900599): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
black += 1 | |
elif self.HP < 0.3 and lemon == False: | |
useSkill(3, 'highest ATK') # Fairy Dust (900586): Magic wind damage (2x, MAG) to one enemy, Inflict Confusion (100%) on one enemy | |
lemon = True # reset next turn | |
elif self.HP < 0.8 and grape == False and once(): | |
useSkill(7, 'random') # Elf-Recovery (900590): Restore 20000 HP to caster, Reduce DEF and SPR by 20% for 3 turns to caster | |
grape = True # reset next turn | |
elif peach == True and ramen == False and once(): | |
useSkill(18, 'random') # Bag O' Tricks (900601): Magic* damage (20x, MAG) to all enemies, Reduce ATK and MAG by 80% for 3 turns to all enemies | |
ramen = True # persistent | |
elif berry == True and ramen == False and once(): | |
useSkill(18, 'random') # Bag O' Tricks (900601): Magic* damage (20x, MAG) to all enemies, Reduce ATK and MAG by 80% for 3 turns to all enemies | |
ramen = True # persistent | |
elif peach == True and var_61 == False: | |
useSkill(6, 'random') # Spirit of the Season (900589): Increase break resistance to SPR by 100% for one turn to caster | |
var_61 = True # reset next turn | |
elif peach == True: | |
useSkill(13, 'random') # Winds of Winter Wonderland (900596): Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
elif berry == True and var_62 == False: | |
useSkill(6, 'random') # Spirit of the Season (900589): Increase break resistance to SPR by 100% for one turn to caster | |
var_62 = True # reset next turn | |
elif berry == True: | |
useSkill(13, 'random') # Winds of Winter Wonderland (900596): Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
elif var_63 == True and var_64 == False: | |
useSkill(6, 'random') # Spirit of the Season (900589): Increase break resistance to SPR by 100% for one turn to caster | |
var_64 = True # reset next turn | |
elif var_63 == True: | |
useSkill(5, 'random') # Winds of Winter (900588): Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to one enemy | |
elif melon == False: | |
useSkill(2, 'random') # Toy Pinwheel (900584): Magic wind damage (6x, MAG) to all enemies | |
melon = True # reset next turn | |
elif var_63 == False and guava == False and mauve >= 2: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve = 0 | |
guava = True # reset next turn | |
elif random() <= 0.30 and var_63 == False and guava == False: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve += 1 | |
elif var_63 == False: | |
useSkill(4, 'random') # Dash of Wonder (900587): Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
elif berry == False and guava == False and mauve >= 2: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve = 0 | |
guava = True # reset next turn | |
elif random() <= 0.30 and berry == False and guava == False: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve += 1 | |
elif berry == False: | |
useSkill(4, 'random') # Dash of Wonder (900587): Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
elif peach == False and guava == False and mauve >= 2: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve = 0 | |
guava = True # reset next turn | |
elif random() <= 0.30 and peach == False and guava == False: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve += 1 | |
elif peach == False: | |
useSkill(4, 'random') # Dash of Wonder (900587): Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Mission 'Not Toying Around - ELT' (9630502) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * Elf Off His Rocker | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Elf Off His Rocker (900010855, 900010808) | |
# Race Fairy | |
# Level 99 | |
# Actions 10-10 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 30000000 | |
# MP 100000 | |
# ATK 300 | |
# DEF 1500 | |
# MAG 300 | |
# SPR 1500 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 80% | |
# Ice -30% | |
# Lightning 80% | |
# Water 80% | |
# Wind 80% | |
# Earth 80% | |
# Light 80% | |
# Dark 80% | |
# Non-Elemental 80% | |
# | |
# | |
# 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 | |
### | |
# | |
# Wind-Up Toy (900583) [Magic] | |
# | |
# Magic wind damage (4x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Toy Pinwheel (900584) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fairy Dust (900586) [Magic] | |
# | |
# Magic wind damage (2x, MAG) to one enemy | |
# Inflict Confusion (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dash of Wonder (900587) [Magic] | |
# | |
# Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Winds of Winter (900588) [Magic] | |
# | |
# Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to one enemy | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Spirit of the Season (900589) [None] | |
# | |
# Increase break resistance to SPR by 100% for one turn to caster | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Recovery (900590) [None] | |
# | |
# Restore 20000 HP to caster | |
# Reduce DEF and SPR by 20% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Service (900592) [None] | |
# | |
# Restore 35000 HP to caster | |
# Reduce DEF and SPR by 25% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Help (900593) [None] | |
# | |
# Restore 50000 HP to caster | |
# Reduce DEF and SPR by 30% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Assist (900594) [None] | |
# | |
# Restore 65000 HP to caster | |
# Reduce DEF and SPR by 35% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Love (900595) [None] | |
# | |
# Restore 80000 HP to caster | |
# Reduce DEF and SPR by 40% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Gift Exchange (900591) [Magic] | |
# | |
# Fixed* damage (10000) to all enemies | |
# Unknown parameters: [100] | |
# Restore 200 MP to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Winds of Winter Wonderland (900596) [Magic] | |
# | |
# Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Ice, Ice, Baby (900597) [None] | |
# | |
# Set Ice resistance to 1% for 3 turns to caster (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Seeing Stars (900598) [None] | |
# | |
# Remove resistances to Confusion from one enemy for one turn | |
# Inflict Confusion (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# It's Cold Outside (900599) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to one enemy | |
# Reduce DEF and SPR by 60% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Polar Wind (900600) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to one enemy | |
# Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Bag O' Tricks (900601) [None] | |
# | |
# Magic* damage (20x, MAG) to all enemies | |
# Reduce ATK and MAG by 80% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Sprinkle of Magic (900585) [Magic] | |
# | |
# Magic damage (15x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if once(): | |
useSkill(3, 'highest ATK') # Fairy Dust (900586): Magic wind damage (2x, MAG) to one enemy, Inflict Confusion (100%) on one enemy | |
honey = True # persistent | |
elif honey == True: | |
endTurn() | |
honey = False # persistent | |
elif unit('5:enemy:any').usedLastTurn('limitburst') and apple == False: | |
useSkill(19, 'random') # Sprinkle of Magic (900585): Magic damage (15x, MAG) to all enemies | |
apple = True # reset next turn | |
elif green >= 4 and once(): | |
useSkill(15, 'highest ATK') # Seeing Stars (900598): Remove resistances to Confusion from one enemy for one turn, Inflict Confusion (100%) on one enemy | |
elif green >= 4 and once(): | |
useSkill(14, 'random') # Ice, Ice, Baby (900597): Set Ice resistance to 1% for 3 turns to caster (can not be removed) | |
elif self.sufferedDamageLastTurn('physical', 'ice') and self.HP > 0.5 and var_63 == False: | |
wait() # No action | |
var_63 = True # reset next turn | |
green += 1 | |
elif self.sufferedDamageLastTurn('magical', 'ice') and self.HP > 0.5 and var_63 == False: | |
wait() # No action | |
var_63 = True # reset next turn | |
green += 1 | |
elif self.sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and self.HP > 0.3 and berry == False: | |
wait() # No action | |
green += 1 | |
berry = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and self.HP > 0.3 and berry == False: | |
wait() # No action | |
green += 1 | |
berry = True # reset next turn | |
elif self.sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.3 and peach == False: | |
wait() # No action | |
green += 1 | |
peach = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.3 and peach == False: | |
wait() # No action | |
green += 1 | |
peach = True # reset next turn | |
elif peach == False and self.HP < 0.2 and once(): | |
useSkill(11, 'random') # Elf-Love (900595): Restore 80000 HP to caster, Reduce DEF and SPR by 40% for 3 turns to caster | |
elif peach == False and self.HP < 0.2 and once(): | |
useSkill(19, 'random') # Sprinkle of Magic (900585): Magic damage (15x, MAG) to all enemies | |
elif peach == False and once() and self.HP < 0.3: | |
useSkill(10, 'random') # Elf-Assist (900594): Restore 65000 HP to caster, Reduce DEF and SPR by 35% for 3 turns to caster | |
elif peach == False and once(): | |
useSkill(19, 'random') # Sprinkle of Magic (900585): Magic damage (15x, MAG) to all enemies | |
elif peach == True and olive == False and white >= 2: | |
useSkill(17, 'random') # Polar Wind (900600): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
white = 0 | |
olive = True # reset next turn | |
elif random() <= 0.30 and peach == True and olive == False: | |
useSkill(17, 'random') # Polar Wind (900600): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
white += 1 | |
elif berry == False and self.HP < 0.4 and once(): | |
useSkill(9, 'random') # Elf-Help (900593): Restore 50000 HP to caster, Reduce DEF and SPR by 30% for 3 turns to caster | |
elif berry == False and self.HP < 0.4 and once(): | |
useSkill(19, 'random') # Sprinkle of Magic (900585): Magic damage (15x, MAG) to all enemies | |
elif berry == False and once(): | |
useSkill(8, 'random') # Elf-Service (900592): Restore 35000 HP to caster, Reduce DEF and SPR by 25% for 3 turns to caster | |
elif self.HP < 0.5 and once(): | |
useSkill(12, 'random') # Gift Exchange (900591): Fixed* damage (10000) to all enemies, Restore 200 MP to all enemies | |
elif berry == True and mango == False and black >= 2: | |
useSkill(16, 'random') # It's Cold Outside (900599): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
black = 0 | |
mango = True # reset next turn | |
elif random() <= 0.30 and berry == True and mango == False: | |
useSkill(16, 'random') # It's Cold Outside (900599): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
black += 1 | |
elif self.HP < 0.3 and lemon == False: | |
useSkill(3, 'highest ATK') # Fairy Dust (900586): Magic wind damage (2x, MAG) to one enemy, Inflict Confusion (100%) on one enemy | |
lemon = True # reset next turn | |
elif self.HP < 0.8 and grape == False and once(): | |
useSkill(7, 'random') # Elf-Recovery (900590): Restore 20000 HP to caster, Reduce DEF and SPR by 20% for 3 turns to caster | |
grape = True # reset next turn | |
elif peach == True and ramen == False and once(): | |
useSkill(18, 'random') # Bag O' Tricks (900601): Magic* damage (20x, MAG) to all enemies, Reduce ATK and MAG by 80% for 3 turns to all enemies | |
ramen = True # persistent | |
elif berry == True and ramen == False and once(): | |
useSkill(18, 'random') # Bag O' Tricks (900601): Magic* damage (20x, MAG) to all enemies, Reduce ATK and MAG by 80% for 3 turns to all enemies | |
ramen = True # persistent | |
elif peach == True and var_61 == False: | |
useSkill(6, 'random') # Spirit of the Season (900589): Increase break resistance to SPR by 100% for one turn to caster | |
var_61 = True # reset next turn | |
elif peach == True: | |
useSkill(13, 'random') # Winds of Winter Wonderland (900596): Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
elif berry == True and var_62 == False: | |
useSkill(6, 'random') # Spirit of the Season (900589): Increase break resistance to SPR by 100% for one turn to caster | |
var_62 = True # reset next turn | |
elif berry == True: | |
useSkill(13, 'random') # Winds of Winter Wonderland (900596): Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
elif var_63 == True and var_64 == False: | |
useSkill(6, 'random') # Spirit of the Season (900589): Increase break resistance to SPR by 100% for one turn to caster | |
var_64 = True # reset next turn | |
elif var_63 == True: | |
useSkill(5, 'random') # Winds of Winter (900588): Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to one enemy | |
elif melon == False: | |
useSkill(2, 'random') # Toy Pinwheel (900584): Magic wind damage (6x, MAG) to all enemies | |
melon = True # reset next turn | |
elif var_63 == False and guava == False and mauve >= 2: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve = 0 | |
guava = True # reset next turn | |
elif random() <= 0.30 and var_63 == False and guava == False: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve += 1 | |
elif var_63 == False: | |
useSkill(4, 'random') # Dash of Wonder (900587): Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
elif berry == False and guava == False and mauve >= 2: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve = 0 | |
guava = True # reset next turn | |
elif random() <= 0.30 and berry == False and guava == False: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve += 1 | |
elif berry == False: | |
useSkill(4, 'random') # Dash of Wonder (900587): Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
elif peach == False and guava == False and mauve >= 2: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve = 0 | |
guava = True # reset next turn | |
elif random() <= 0.30 and peach == False and guava == False: | |
useSkill(1, 'random') # Wind-Up Toy (900583): Magic wind damage (4x, MAG) to one enemy | |
mauve += 1 | |
elif peach == False: | |
useSkill(4, 'random') # Dash of Wonder (900587): Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Mission 'Not Toying Around - LGD' (9630503) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * Elf Off the Handle [+ Elf Off the Handle (max 999)] | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Elf Off the Handle (900010856) | |
# Race Fairy | |
# Level 99 | |
# Actions 50-50 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 850000000 | |
# MP 100000 | |
# ATK 750 | |
# DEF 4000 | |
# MAG 750 | |
# SPR 2000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 200% | |
# Ice 0% | |
# Lightning 200% | |
# Water 200% | |
# Wind 200% | |
# Earth 200% | |
# Light 200% | |
# Dark 200% | |
# Non-Elemental 200% | |
# | |
# | |
# 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 + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ60% (100048) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 60% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Wind-Up Toy (900722) [Magic] | |
# | |
# Magic wind damage (4x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Toy Pinwheel (900723) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to all enemies | |
# Physical* wind damage (8x * 2 = 16x, ATK) to all enemies (ignore cover) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fairy Dust (900724) [Magic] | |
# | |
# Magic wind damage (2x, MAG) to one enemy | |
# Remove all buffs and debuffs from one enemy | |
# Remove resistances to Confusion from one enemy for one turn | |
# Inflict Confusion (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dash of Wonder (900725) [Magic] | |
# | |
# Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Winds of Winter (900726) [Magic] | |
# | |
# Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to all enemies | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Spirit of the Season (900727) [None] | |
# | |
# Increase break resistance to SPR by 100% for one turn to caster | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Recovery (900728) [None] | |
# | |
# Restore 850000 HP to caster | |
# Reduce DEF and SPR by 20% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Service (900729) [None] | |
# | |
# Restore 8500000 HP to caster | |
# Reduce DEF and SPR by 25% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Love (900730) [None] | |
# | |
# Restore 85000000 HP to caster | |
# Reduce DEF and SPR by 40% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Gift Exchange (900731) [None] | |
# | |
# Fixed damage (8000) to all enemies | |
# Unknown parameters: [100] | |
# Restore 200 MP to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Winds of Winter Wonderland (900732) [Magic] | |
# | |
# Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Midnight (900733) [None] | |
# | |
# Inflict Stop (100%) for 3 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Seeing Stars (900734) [None] | |
# | |
# Remove all buffs and debuffs from one enemy | |
# Remove resistances to Confusion from one enemy for one turn | |
# Inflict Confusion (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# It's Cold Outside (900735) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to one enemy | |
# Reduce DEF and SPR by 60% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Polar Wind (900736) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to one enemy | |
# Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Bag O' Tricks (900737) [Magic] | |
# | |
# Magic damage (20x, MAG) to all enemies | |
# Reduce ATK and MAG by 80% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Sprinkle of Magic (900738) [Magic] | |
# | |
# Magic damage (15x, MAG) to all enemies | |
# Physical* damage (6x * 2 = 12x, ATK) to all enemies (ignore cover) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf in a Box (900739) [None] | |
# | |
# Summon Elf Off the Handle (900010857) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lights Out (900740) [Magic] | |
# | |
# Instant KO (100%) to one enemy (ignores death resist) | |
# Remove all buffs and debuffs from all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# All your toys are belong to us! (900741) [Magic] | |
# | |
# Magic wind damage (40x, MAG) to all enemies | |
# Reduce ATK, DEF, MAG and SPR by 0.5% for 2 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Magic of the Season (900742) [Magic] | |
# | |
# Magic damage (20x, MAG) to all enemies | |
# Magic damage (40x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Chilling Wind (900743) [None] | |
# | |
# Reduce resistance to Wind by 150% for 10 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Suckerpunch (900744) [Physical] | |
# | |
# Physical damage (20x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if honey == True: | |
endTurn() | |
honey = False # persistent | |
elif once(): | |
useSkill(3, 'highest ATK') # Fairy Dust (900724): Magic wind damage (2x, MAG) to one enemy, Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for one turn, Inflict Confusion (100%) on one enemy | |
honey = True # persistent | |
elif white >= 8: | |
endTurn() | |
white = 0 | |
elif var_73 == False: | |
wait() # No action | |
var_73 = True # unknown flag type (73) | |
black += 1 | |
elif var_74 == False: | |
wait() # No action | |
var_74 = True # unknown flag type (74) | |
mauve += 1 | |
elif var_75 == False: | |
wait() # No action | |
var_75 = True # unknown flag type (75) | |
azure += 1 | |
elif var_76 == False: | |
wait() # No action | |
cnt_2 += 1 | |
var_76 = True # unknown flag type (76) | |
elif unit('5:enemy:any').usedLastTurn('limitburst') and apple == False: | |
useSkill(17, 'random') # Sprinkle of Magic (900738): Magic damage (15x, MAG) to all enemies, Physical* damage (6x * 2 = 12x, ATK) to all enemies (ignore cover) | |
apple = True # reset next turn | |
elif black >= 2 and berry == False: | |
useSkill(23, 'random') # Suckerpunch (900744): Physical damage (20x, ATK) to one enemy | |
berry = True # reset next turn | |
elif black >= 2 and peach == False: | |
useSkill(23, 'random') # Suckerpunch (900744): Physical damage (20x, ATK) to one enemy | |
peach = True # reset next turn | |
elif black >= 2 and olive == False: | |
useSkill(23, 'random') # Suckerpunch (900744): Physical damage (20x, ATK) to one enemy | |
black = 0 | |
olive = True # reset next turn | |
elif mauve >= 3 and mango == False: | |
useSkill(18, 'random') # Elf in a Box (900739): Summon Elf Off the Handle (900010857) | |
mauve = 0 | |
mango = True # reset next turn | |
elif mauve >= 3: | |
wait() # No action | |
mauve = 0 | |
elif azure >= 5 and lemon == False: | |
useSkill(17, 'random') # Sprinkle of Magic (900738): Magic damage (15x, MAG) to all enemies, Physical* damage (6x * 2 = 12x, ATK) to all enemies (ignore cover) | |
azure = 0 | |
lemon = True # reset next turn | |
elif cnt_2 >= 7 and grape == False: | |
useSkill(20, 'random') # All your toys are belong to us! (900741): Magic wind damage (40x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 0.5% for 2 turns to all enemies | |
grape = True # reset next turn | |
elif cnt_2 >= 7 and melon == False: | |
useSkill(21, 'random') # Magic of the Season (900742): Magic damage (20x, MAG) to all enemies, Magic damage (40x, MAG) to all enemies | |
cnt_2 = 0 | |
melon = True # reset next turn | |
elif green >= 5 and once(): | |
useSkill(13, 'highest ATK') # Seeing Stars (900734): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for one turn, Inflict Confusion (100%) on one enemy | |
elif green >= 5 and once(): | |
useSkill(12, 'random') # Midnight (900733): Inflict Stop (100%) for 3 turns on all enemies | |
honey = True # persistent | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and guava == False: | |
wait() # No action | |
green += 1 | |
guava = True # reset next turn | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and guava == False: | |
wait() # No action | |
green += 1 | |
guava = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.2 and gourd == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
gourd = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.2 and gourd == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
gourd = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.2 and var_61 == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
var_61 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.2 and var_61 == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
var_61 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.2 and var_62 == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
var_62 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.2 and var_62 == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
var_62 = True # reset next turn | |
elif self.HP < 0.2 and once(): | |
useSkill(9, 'random') # Elf-Love (900730): Restore 85000000 HP to caster, Reduce DEF and SPR by 40% for 3 turns to caster | |
elif self.HP < 0.2 and once(): | |
useSkill(17, 'random') # Sprinkle of Magic (900738): Magic damage (15x, MAG) to all enemies, Physical* damage (6x * 2 = 12x, ATK) to all enemies (ignore cover) | |
elif self.HP < 0.2 and var_63 == False: | |
useSkill(3, 'highest ATK') # Fairy Dust (900724): Magic wind damage (2x, MAG) to one enemy, Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for one turn, Inflict Confusion (100%) on one enemy | |
var_63 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and var_64 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_64 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and var_64 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_64 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and var_65 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_65 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and var_65 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_65 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and var_66 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_66 = True # unknown flag type (66) | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and var_66 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_66 = True # unknown flag type (66) | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and ramen == False: | |
useSkill(16, 'random') # Bag O' Tricks (900737): Magic damage (20x, MAG) to all enemies, Reduce ATK and MAG by 80% for 3 turns to all enemies | |
ramen = True # persistent | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and ramen == False: | |
useSkill(16, 'random') # Bag O' Tricks (900737): Magic damage (20x, MAG) to all enemies, Reduce ATK and MAG by 80% for 3 turns to all enemies | |
ramen = True # persistent | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and var_67 == False: | |
useSkill(6, 'random') # Spirit of the Season (900727): Increase break resistance to SPR by 100% for one turn to caster | |
var_67 = True # unknown flag type (67) | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and var_67 == False: | |
useSkill(6, 'random') # Spirit of the Season (900727): Increase break resistance to SPR by 100% for one turn to caster | |
var_67 = True # unknown flag type (67) | |
elif self.HP < 0.5 and once(): | |
useSkill(8, 'random') # Elf-Service (900729): Restore 8500000 HP to caster, Reduce DEF and SPR by 25% for 3 turns to caster | |
elif self.HP < 0.5 and once(): | |
useSkill(10, 'random') # Gift Exchange (900731): Fixed damage (8000) to all enemies, Restore 200 MP to all enemies | |
elif self.HP < 0.8 and once(): | |
useSkill(7, 'random') # Elf-Recovery (900728): Restore 850000 HP to caster, Reduce DEF and SPR by 20% for 3 turns to caster | |
elif var_68 == False: | |
useSkill(2, 'random') # Toy Pinwheel (900723): Magic wind damage (6x, MAG) to all enemies, Physical* wind damage (8x * 2 = 16x, ATK) to all enemies (ignore cover) | |
var_68 = True # unknown flag type (68) | |
elif var_69 == False: | |
useSkill(1, 'random') # Wind-Up Toy (900722): Magic wind damage (4x, MAG) to one enemy | |
var_69 = True # unknown flag type (69) | |
elif var_70 == False: | |
useSkill(1, 'random') # Wind-Up Toy (900722): Magic wind damage (4x, MAG) to one enemy | |
var_70 = True # unknown flag type (70) | |
elif var_71 == False: | |
useSkill(1, 'random') # Wind-Up Toy (900722): Magic wind damage (4x, MAG) to one enemy | |
var_71 = True # unknown flag type (71) | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP > 0.5: | |
useSkill(5, 'random') # Winds of Winter (900726): Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to all enemies | |
var_72 = True # unknown flag type (72) | |
white += 1 | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP > 0.5: | |
useSkill(5, 'random') # Winds of Winter (900726): Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to all enemies | |
var_72 = True # unknown flag type (72) | |
white += 1 | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5: | |
useSkill(11, 'random') # Winds of Winter Wonderland (900732): Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
var_72 = True # unknown flag type (72) | |
white += 1 | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5: | |
useSkill(11, 'random') # Winds of Winter Wonderland (900732): Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
var_72 = True # unknown flag type (72) | |
white += 1 | |
elif var_72 == False: | |
useSkill(4, 'random') # Dash of Wonder (900725): Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
white += 1 | |
else: | |
attack('random') | |
## | |
# Monster Info | |
## | |
# | |
# Monster Elf Off the Handle (900010857) | |
# Race Fairy | |
# Level 99 | |
# Actions 50-50 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 100000000 | |
# MP 10000 | |
# ATK 900 | |
# DEF 3000 | |
# MAG 900 | |
# SPR 2000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 200% | |
# Ice 0% | |
# 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 + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ60% (100048) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 60% | |
# | |
## | |
# | |
# Death Declaration (900007) [Passive] | |
# | |
# Cast Lights Out (900740) upon defeat | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Wind-Up Toy (900722) [Magic] | |
# | |
# Magic wind damage (4x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Toy Pinwheel (900723) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to all enemies | |
# Physical* wind damage (8x * 2 = 16x, ATK) to all enemies (ignore cover) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fairy Dust (900724) [Magic] | |
# | |
# Magic wind damage (2x, MAG) to one enemy | |
# Remove all buffs and debuffs from one enemy | |
# Remove resistances to Confusion from one enemy for one turn | |
# Inflict Confusion (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dash of Wonder (900725) [Magic] | |
# | |
# Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Winds of Winter (900726) [Magic] | |
# | |
# Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to all enemies | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Spirit of the Season (900727) [None] | |
# | |
# Increase break resistance to SPR by 100% for one turn to caster | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Recovery (900728) [None] | |
# | |
# Restore 850000 HP to caster | |
# Reduce DEF and SPR by 20% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Service (900729) [None] | |
# | |
# Restore 8500000 HP to caster | |
# Reduce DEF and SPR by 25% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf-Love (900730) [None] | |
# | |
# Restore 85000000 HP to caster | |
# Reduce DEF and SPR by 40% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Gift Exchange (900731) [None] | |
# | |
# Fixed damage (8000) to all enemies | |
# Unknown parameters: [100] | |
# Restore 200 MP to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Winds of Winter Wonderland (900732) [Magic] | |
# | |
# Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
# Unused parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Midnight (900733) [None] | |
# | |
# Inflict Stop (100%) for 3 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Seeing Stars (900734) [None] | |
# | |
# Remove all buffs and debuffs from one enemy | |
# Remove resistances to Confusion from one enemy for one turn | |
# Inflict Confusion (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# It's Cold Outside (900735) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to one enemy | |
# Reduce DEF and SPR by 60% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Polar Wind (900736) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to one enemy | |
# Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Bag O' Tricks (900737) [Magic] | |
# | |
# Magic damage (20x, MAG) to all enemies | |
# Reduce ATK and MAG by 80% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Sprinkle of Magic (900738) [Magic] | |
# | |
# Magic damage (15x, MAG) to all enemies | |
# Physical* damage (6x * 2 = 12x, ATK) to all enemies (ignore cover) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elf in a Box (900739) [None] | |
# | |
# Summon Elf Off the Handle (900010857) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lights Out (900740) [Magic] | |
# | |
# Instant KO (100%) to one enemy (ignores death resist) | |
# Remove all buffs and debuffs from all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# All your toys are belong to us! (900741) [Magic] | |
# | |
# Magic wind damage (40x, MAG) to all enemies | |
# Reduce ATK, DEF, MAG and SPR by 0.5% for 2 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Magic of the Season (900742) [Magic] | |
# | |
# Magic damage (20x, MAG) to all enemies | |
# Magic damage (40x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Chilling Wind (900743) [None] | |
# | |
# Reduce resistance to Wind by 150% for 10 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Suckerpunch (900744) [Physical] | |
# | |
# Physical damage (20x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if once(): | |
useSkill(22, 'random') # Chilling Wind (900743): Reduce resistance to Wind by 150% for 10 turns to all enemies | |
honey = True # persistent | |
elif honey == True: | |
endTurn() | |
honey = False # persistent | |
elif white >= 6: | |
endTurn() | |
white = 0 | |
elif var_73 == False: | |
wait() # No action | |
var_73 = True # unknown flag type (73) | |
black += 1 | |
elif var_74 == False: | |
wait() # No action | |
var_74 = True # unknown flag type (74) | |
mauve += 1 | |
elif var_75 == False: | |
wait() # No action | |
var_75 = True # unknown flag type (75) | |
azure += 1 | |
elif unit('5:enemy:any').usedLastTurn('limitburst') and apple == False: | |
useSkill(17, 'random') # Sprinkle of Magic (900738): Magic damage (15x, MAG) to all enemies, Physical* damage (6x * 2 = 12x, ATK) to all enemies (ignore cover) | |
apple = True # reset next turn | |
elif black >= 2 and berry == False: | |
useSkill(23, 'random') # Suckerpunch (900744): Physical damage (20x, ATK) to one enemy | |
berry = True # reset next turn | |
elif black >= 2 and peach == False: | |
useSkill(23, 'random') # Suckerpunch (900744): Physical damage (20x, ATK) to one enemy | |
peach = True # reset next turn | |
elif black >= 2 and olive == False: | |
useSkill(23, 'random') # Suckerpunch (900744): Physical damage (20x, ATK) to one enemy | |
black = 0 | |
olive = True # reset next turn | |
elif mauve >= 5 and lemon == False: | |
useSkill(17, 'random') # Sprinkle of Magic (900738): Magic damage (15x, MAG) to all enemies, Physical* damage (6x * 2 = 12x, ATK) to all enemies (ignore cover) | |
mauve = 0 | |
lemon = True # reset next turn | |
elif azure >= 7 and grape == False: | |
useSkill(20, 'random') # All your toys are belong to us! (900741): Magic wind damage (40x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 0.5% for 2 turns to all enemies | |
grape = True # reset next turn | |
elif azure >= 7 and melon == False: | |
useSkill(21, 'random') # Magic of the Season (900742): Magic damage (20x, MAG) to all enemies, Magic damage (40x, MAG) to all enemies | |
azure = 0 | |
melon = True # reset next turn | |
elif green >= 5 and once(): | |
useSkill(13, 'highest ATK') # Seeing Stars (900734): Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for one turn, Inflict Confusion (100%) on one enemy | |
elif green >= 5 and once(): | |
useSkill(12, 'random') # Midnight (900733): Inflict Stop (100%) for 3 turns on all enemies | |
honey = True # persistent | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and guava == False: | |
wait() # No action | |
green += 1 | |
guava = True # reset next turn | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and guava == False: | |
wait() # No action | |
green += 1 | |
guava = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.2 and gourd == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
gourd = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.2 and gourd == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
gourd = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.2 and var_61 == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
var_61 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.2 and var_61 == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
var_61 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.2 and var_62 == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
var_62 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.2 and var_62 == False: | |
useSkill(15, 'random') # Polar Wind (900736): Magic wind damage (6x, MAG) to one enemy, Reduce ATK, DEF, MAG and SPR by 60% for 3 turns to one enemy | |
var_62 = True # reset next turn | |
elif self.HP < 0.2 and once(): | |
useSkill(9, 'random') # Elf-Love (900730): Restore 85000000 HP to caster, Reduce DEF and SPR by 40% for 3 turns to caster | |
elif self.HP < 0.2 and once(): | |
useSkill(17, 'random') # Sprinkle of Magic (900738): Magic damage (15x, MAG) to all enemies, Physical* damage (6x * 2 = 12x, ATK) to all enemies (ignore cover) | |
elif self.HP < 0.2 and var_63 == False: | |
useSkill(3, 'highest ATK') # Fairy Dust (900724): Magic wind damage (2x, MAG) to one enemy, Remove all buffs and debuffs from one enemy, Remove resistances to Confusion from one enemy for one turn, Inflict Confusion (100%) on one enemy | |
var_63 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and var_64 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_64 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and var_64 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_64 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and var_65 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_65 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and var_65 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_65 = True # reset next turn | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and var_66 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_66 = True # unknown flag type (66) | |
elif random() <= 0.50 and unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and var_66 == False: | |
useSkill(14, 'random') # It's Cold Outside (900735): Magic wind damage (6x, MAG) to one enemy, Reduce DEF and SPR by 60% for 3 turns to one enemy | |
var_66 = True # unknown flag type (66) | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5 and ramen == False: | |
useSkill(16, 'random') # Bag O' Tricks (900737): Magic damage (20x, MAG) to all enemies, Reduce ATK and MAG by 80% for 3 turns to all enemies | |
ramen = True # persistent | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5 and ramen == False: | |
useSkill(16, 'random') # Bag O' Tricks (900737): Magic damage (20x, MAG) to all enemies, Reduce ATK and MAG by 80% for 3 turns to all enemies | |
ramen = True # persistent | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and var_67 == False: | |
useSkill(6, 'random') # Spirit of the Season (900727): Increase break resistance to SPR by 100% for one turn to caster | |
var_67 = True # unknown flag type (67) | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and var_67 == False: | |
useSkill(6, 'random') # Spirit of the Season (900727): Increase break resistance to SPR by 100% for one turn to caster | |
var_67 = True # unknown flag type (67) | |
elif self.HP < 0.5 and once(): | |
useSkill(8, 'random') # Elf-Service (900729): Restore 8500000 HP to caster, Reduce DEF and SPR by 25% for 3 turns to caster | |
elif self.HP < 0.5 and once(): | |
useSkill(10, 'random') # Gift Exchange (900731): Fixed damage (8000) to all enemies, Restore 200 MP to all enemies | |
elif self.HP < 0.8 and once(): | |
useSkill(7, 'random') # Elf-Recovery (900728): Restore 850000 HP to caster, Reduce DEF and SPR by 20% for 3 turns to caster | |
elif var_68 == False: | |
useSkill(2, 'random') # Toy Pinwheel (900723): Magic wind damage (6x, MAG) to all enemies, Physical* wind damage (8x * 2 = 16x, ATK) to all enemies (ignore cover) | |
var_68 = True # unknown flag type (68) | |
elif var_69 == False: | |
useSkill(1, 'random') # Wind-Up Toy (900722): Magic wind damage (4x, MAG) to one enemy | |
var_69 = True # unknown flag type (69) | |
elif var_70 == False: | |
useSkill(1, 'random') # Wind-Up Toy (900722): Magic wind damage (4x, MAG) to one enemy | |
var_70 = True # unknown flag type (70) | |
elif var_71 == False: | |
useSkill(1, 'random') # Wind-Up Toy (900722): Magic wind damage (4x, MAG) to one enemy | |
var_71 = True # unknown flag type (71) | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP > 0.5: | |
useSkill(5, 'random') # Winds of Winter (900726): Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to all enemies | |
var_72 = True # unknown flag type (72) | |
white += 1 | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP > 0.5: | |
useSkill(5, 'random') # Winds of Winter (900726): Magic wind damage (3x, MAG) with consecutive damage increase (max. 22 times, +1x MAG each, 25x total) to all enemies | |
var_72 = True # unknown flag type (72) | |
white += 1 | |
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and self.HP < 0.5: | |
useSkill(11, 'random') # Winds of Winter Wonderland (900732): Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
var_72 = True # unknown flag type (72) | |
white += 1 | |
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and self.HP < 0.5: | |
useSkill(11, 'random') # Winds of Winter Wonderland (900732): Magic wind damage (6x, MAG) with consecutive damage increase (max. 13 times, +2x MAG each, 32x total) to all enemies | |
var_72 = True # unknown flag type (72) | |
white += 1 | |
elif var_72 == False: | |
useSkill(4, 'random') # Dash of Wonder (900725): Magic damage (2x, MAG) with consecutive damage increase (max. 56 times, +0.5x MAG each, 30x total) to one enemy | |
white += 1 | |
else: | |
attack('random') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment