Created
September 12, 2019 11:22
-
-
Save aEnigmatic/876a24f3354baaa8b9379f2b9c3fd3f0 to your computer and use it in GitHub Desktop.
The Empress Supreme - LGD
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 'The Empress Supreme - LGD' (9630203) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * Empress's Knight, Captain of the Empress's Guard, Empress Supreme Morgana [+ Evil Drake, Evil Drake] | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Empress's Knight (900010680) | |
# Race Human | |
# Level 100 | |
# Actions 10-10 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 50000000 | |
# MP 100000 | |
# ATK 800 | |
# DEF 5000 | |
# MAG 800 | |
# SPR 5000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 0% | |
# Ice 0% | |
# Lightning 0% | |
# Water 0% | |
# Wind 0% | |
# Earth 0% | |
# Light -200% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+5% / application) | |
# Poison 0% | |
# Blind 100% | |
# Sleep 0% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 0% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 0% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Skills | |
### | |
# | |
# Weapon Destroyer (900349) [None] | |
# | |
# Reduce ATK and MAG by 99% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Armor Destroyer (900350) [None] | |
# | |
# Reduce DEF and SPR by 99% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Evil shall not prevail! (900351) [None] | |
# | |
# Increase ATK and MAG by 100% for 3 turns to all allies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Blade of Justice (900352) [Physical] | |
# | |
# Physical damage (6x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Knight's Slash (900353) [Physical] | |
# | |
# Physical dark damage (8x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Apply Bandage (900354) [None] | |
# | |
# Restore 5% HP to one ally | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fair Fight (900355) [None] | |
# | |
# Remove all buffs and debuffs from all units | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Glory to the Empress! (900356) [None] | |
# | |
# Reduce magic damage taken by 100% to caster for one turn (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if melon == True: | |
endTurn() | |
elif once(): | |
useSkill(8, 'random') # Glory to the Empress! (900356): Reduce magic damage taken by 100% to caster for one turn (can not be removed) | |
melon = True # reset next turn | |
elif unit('2:ally:900010681:Captain of the Empress's Guard').is('alive') and peach == False: | |
useSkill(8, 'random') # Glory to the Empress! (900356): Reduce magic damage taken by 100% to caster for one turn (can not be removed) | |
peach = True # reset next turn | |
elif random() <= 0.05 and unit('2:ally:900010681:Captain of the Empress's Guard').HP < 0.6 and olive == False: | |
useSkill(6, 'hp_min') # Apply Bandage (900354): Restore 5% HP to one ally | |
olive = True # reset next turn | |
elif isTurnMod(5): | |
useSkill(3, 'random') # Evil shall not prevail! (900351): Increase ATK and MAG by 100% for 3 turns to all allies | |
melon = True # reset next turn | |
elif isTurnMod(3) and guava == False: | |
useSkill(5, 'random') # Knight's Slash (900353): Physical dark damage (8x, ATK) to all enemies | |
guava = True # reset next turn | |
elif random() <= 0.20 and self.HP < 0.8: | |
useSkill(1, 'random') # Weapon Destroyer (900349): Reduce ATK and MAG by 99% for 3 turns to all enemies | |
elif random() <= 0.20 and self.HP < 0.8: | |
useSkill(2, 'random') # Armor Destroyer (900350): Reduce DEF and SPR by 99% for 3 turns to all enemies | |
elif unit('1:ally:any').hitByLastTurn('attack') and mango == False: | |
useSkill(7, 'random') # Fair Fight (900355): Remove all buffs and debuffs from all units | |
mango = True # reset next turn | |
elif random() <= 0.10: | |
useSkill(4, 'random') # Blade of Justice (900352): Physical damage (6x, ATK) to one enemy | |
else: | |
attack('random') | |
## | |
# Monster Info | |
## | |
# | |
# Monster Captain of the Empress's Guard (900010681) | |
# Race Human | |
# Level 100 | |
# Actions 10-10 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 70000000 | |
# MP 100000 | |
# ATK 1000 | |
# DEF 3000 | |
# MAG 1500 | |
# SPR 3000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 500% | |
# Ice 0% | |
# Lightning 500% | |
# Water 500% | |
# Wind 0% | |
# Earth 500% | |
# Light -50% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+5% / application) | |
# Poison 100% | |
# Blind 0% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 0% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 0% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Skills | |
### | |
# | |
# Dark Strike (900341) [Magic] | |
# | |
# Magic dark damage (30x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Punishment (900342) [Magic] | |
# | |
# Magic damage (10x, MAG) to all enemies | |
# Reduce resistance to Ice, Wind, Light and Dark by 200% for 5 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# You cannot hurt us! (900343) [None] | |
# | |
# Add Fire, Lightning, Water and Earth element (100%) to physical attacks for 99 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Blade of Justice (900344) [Physical] | |
# | |
# Physical damage (8x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Knight's Slash (900345) [Physical] | |
# | |
# Physical dark damage (10x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Captain's Rage (900346) [None] | |
# | |
# Dodge 3 physical attacks for 99 turns to caster | |
# Unknown parameters: [1] | |
# Increase ATK, DEF, MAG and SPR by 200% for 99 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Final Breath (900347) [None] | |
# | |
# Auto-revive (100% HP) for 99 turns to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# For my Empress! (900348) [None] | |
# | |
# Reduce physical damage taken by 100% to caster for one turn (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if grape == True: | |
endTurn() | |
elif once(): | |
useSkill(8, 'random') # For my Empress! (900348): Reduce physical damage taken by 100% to caster for one turn (can not be removed) | |
grape = True # reset next turn | |
elif unit('2:ally:900010680:Empress's Knight').is('alive') and berry == False: | |
useSkill(8, 'random') # For my Empress! (900348): Reduce physical damage taken by 100% to caster for one turn (can not be removed) | |
berry = True # reset next turn | |
elif unit('2:ally:900010680:Empress's Knight').HP < 0.6 and once(): | |
wait() # No action | |
elif unit('2:ally:900010680:Empress's Knight').is('dead') and once(): | |
useSkill(6, 'random') # Captain's Rage (900346): Dodge 3 physical attacks for 99 turns to caster, Increase ATK, DEF, MAG and SPR by 200% for 99 turns to caster | |
elif isTurnMod(5): | |
useSkill(2, 'random') # Punishment (900342): Magic damage (10x, MAG) to all enemies, Reduce resistance to Ice, Wind, Light and Dark by 200% for 5 turns to all enemies | |
grape = True # reset next turn | |
elif isTurnMod(3) and gourd == False: | |
useSkill(5, 'random') # Knight's Slash (900345): Physical dark damage (10x, ATK) to all enemies | |
gourd = True # reset next turn | |
elif random() <= 0.20 and self.HP < 0.6: | |
useSkill(1, 'random') # Dark Strike (900341): Magic dark damage (30x, MAG) to one enemy | |
elif random() <= 0.20 and self.HP < 0.6: | |
useSkill(2, 'random') # Punishment (900342): Magic damage (10x, MAG) to all enemies, Reduce resistance to Ice, Wind, Light and Dark by 200% for 5 turns to all enemies | |
elif self.HP < 0.2 and var_63 == False: | |
useSkill(7, 'random') # Final Breath (900347): Auto-revive (100% HP) for 99 turns to caster | |
var_63 = True # unknown flag type | |
elif random() <= 0.10: | |
useSkill(4, 'random') # Blade of Justice (900344): Physical damage (8x, ATK) to one enemy | |
else: | |
attack('random') | |
## | |
# Monster Info | |
## | |
# | |
# Monster Evil Drake (900010682) | |
# Race Dragon | |
# Level 100 | |
# Actions 8-8 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 10000000 | |
# MP 100000 | |
# ATK 600 | |
# DEF 1000 | |
# MAG 600 | |
# SPR 1000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 500% | |
# Ice 0% | |
# Lightning 500% | |
# Water 500% | |
# Wind 0% | |
# Earth 500% | |
# Light -200% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 0% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Skills | |
### | |
# | |
# Shadow Breath (900357) [Magic] | |
# | |
# Magic dark damage (10x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Mystic Slash (900358) [Magic] | |
# | |
# Magic damage (10x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Midnight Claw (900359) [Physical] | |
# | |
# Physical damage (12x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fatal Dive (900360) [Physical] | |
# | |
# Physical damage (10x, ATK) per turn to one enemy for one turn | |
# Unused parameters: [0,0,900360] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Enclosing Darkness (900361) [Physical] | |
# | |
# Restore 10% HP to all allies | |
# Sacrifice 20% HP to deal physical damage (10x, ATK) to all enemies | |
# Unknown parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Immeasurable Rage (900362) [None] | |
# | |
# Increase ATK and MAG by 300% for 99 turns to caster (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if var_65 == True: | |
endTurn() | |
elif unit('2:ally:900010686:Empress Supreme Morgana').is('dead') and apple == False: | |
useSkill(6, 'random') # Immeasurable Rage (900362): Increase ATK and MAG by 300% for 99 turns to caster (can not be removed) | |
apple = True # reset next turn | |
elif isTurnMod(3) and var_64 == False: | |
useSkill(1, 'random') # Shadow Breath (900357): Magic dark damage (10x, MAG) to all enemies | |
var_64 = True # unknown flag type | |
elif isTurnMod(5) and var_65 == False: | |
useSkill(4, 'random') # Fatal Dive (900360): Physical damage (10x, ATK) per turn to one enemy for one turn | |
var_65 = True # unknown flag type | |
elif random() <= 0.10 and self.HP < 0.7: | |
useSkill(5, 'random') # Enclosing Darkness (900361): Restore 10% HP to all allies, Sacrifice 20% HP to deal physical damage (10x, ATK) to all enemies | |
elif random() <= 0.15: | |
useSkill(2, 'random') # Mystic Slash (900358): Magic damage (10x, MAG) to one enemy | |
elif random() <= 0.15: | |
useSkill(3, 'random') # Midnight Claw (900359): Physical damage (12x, ATK) to one enemy | |
else: | |
attack('random') | |
## | |
# Monster Info | |
## | |
# | |
# Monster Evil Drake (900010683, 900010682) | |
# Race Dragon | |
# Level 100 | |
# Actions 8-8 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 10000000 | |
# MP 100000 | |
# ATK 600 | |
# DEF 1000 | |
# MAG 600 | |
# SPR 1000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 500% | |
# Ice 0% | |
# Lightning 500% | |
# Water 500% | |
# Wind 0% | |
# Earth 500% | |
# Light -200% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 0% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Skills | |
### | |
# | |
# Shadow Breath (900357) [Magic] | |
# | |
# Magic dark damage (10x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Mystic Slash (900358) [Magic] | |
# | |
# Magic damage (10x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Midnight Claw (900359) [Physical] | |
# | |
# Physical damage (12x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fatal Dive (900360) [Physical] | |
# | |
# Physical damage (10x, ATK) per turn to one enemy for one turn | |
# Unused parameters: [0,0,900360] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Enclosing Darkness (900361) [Physical] | |
# | |
# Restore 10% HP to all allies | |
# Sacrifice 20% HP to deal physical damage (10x, ATK) to all enemies | |
# Unknown parameters: [0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Immeasurable Rage (900362) [None] | |
# | |
# Increase ATK and MAG by 300% for 99 turns to caster (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if var_65 == True: | |
endTurn() | |
elif unit('2:ally:900010686:Empress Supreme Morgana').is('dead') and apple == False: | |
useSkill(6, 'random') # Immeasurable Rage (900362): Increase ATK and MAG by 300% for 99 turns to caster (can not be removed) | |
apple = True # reset next turn | |
elif isTurnMod(3) and var_64 == False: | |
useSkill(1, 'random') # Shadow Breath (900357): Magic dark damage (10x, MAG) to all enemies | |
var_64 = True # unknown flag type | |
elif isTurnMod(5) and var_65 == False: | |
useSkill(4, 'random') # Fatal Dive (900360): Physical damage (10x, ATK) per turn to one enemy for one turn | |
var_65 = True # unknown flag type | |
elif random() <= 0.10 and self.HP < 0.7: | |
useSkill(5, 'random') # Enclosing Darkness (900361): Restore 10% HP to all allies, Sacrifice 20% HP to deal physical damage (10x, ATK) to all enemies | |
elif random() <= 0.15: | |
useSkill(2, 'random') # Mystic Slash (900358): Magic damage (10x, MAG) to one enemy | |
elif random() <= 0.15: | |
useSkill(3, 'random') # Midnight Claw (900359): Physical damage (12x, ATK) to one enemy | |
else: | |
attack('random') | |
## | |
# Monster Info | |
## | |
# | |
# Monster Empress Supreme Morgana (900010686) | |
# Race Human | |
# Level 100 | |
# Actions 15-15 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 120000000 | |
# MP 100000 | |
# ATK 400 | |
# DEF 1000 | |
# MAG 500 | |
# SPR 1000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 500% | |
# Ice 0% | |
# Lightning 500% | |
# Water 500% | |
# Wind 0% | |
# Earth 500% | |
# Light -50% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 0% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 100% | |
# MAG 100% | |
# SPR 100% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Skills | |
### | |
# | |
# Empress Supreme (900327) [None] | |
# | |
# Reduce physical damage taken by 100% to caster for one turn (can not be removed) | |
# Unused parameters: [1] | |
# Reduce magic damage taken by 100% to caster for one turn (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Glacial Needles (900328) [Magic] | |
# | |
# Magic ice damage (5x, MAG) to one enemy | |
# Reduce resistance to Ice by 150% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Void Blast (900329) [Magic] | |
# | |
# Magic dark damage (8x, MAG) to one enemy | |
# Reduce resistance to Dark by 200% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Storm Winds (900330) [Magic] | |
# | |
# Magic wind damage (5x, MAG) to one enemy | |
# Reduce resistance to Wind by 150% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Halo Beam (900331) [Magic] | |
# | |
# Magic light damage (5x, MAG) to one enemy | |
# Reduce resistance to Light by 150% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Unstable Energy (900332) [None] | |
# | |
# Magic* damage (EvoMAG * (8x MAG + 0x SPR)) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elemental Enervation (900333) [None] | |
# | |
# Reduce resistance to Ice by 100% and resistance to Wind, Light and Dark by 300% for 99 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Awaken, my minions! (900334) [Hybrid] | |
# | |
# Summon Evil Drake (900010683) | |
# Summon Morgana (900010686) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Crystallized Spikes (900335) [Magic] | |
# | |
# Magic ice damage (6x, MAG) to all enemies | |
# Inflict Stop (50%) for 3 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Shadow Wail (900336) [Magic] | |
# | |
# Magic dark damage (15x, MAG) to all enemies | |
# Remove resistances to Poison from all enemies for 3 turns | |
# Inflict Poison (100%) on all enemies | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Storm Gale (900337) [Magic] | |
# | |
# Magic wind damage (6x, MAG) to all enemies | |
# Remove resistances to Disease from all enemies for 3 turns | |
# Inflict Disease (100%) on all enemies | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Holy Radiance (900338) [Magic] | |
# | |
# Magic light damage (8x, MAG) to all enemies | |
# Remove resistances to Blind from all enemies for 3 turns | |
# Inflict Blind (100%) on all enemies | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Spectral Cutter (900339) [Physical] | |
# | |
# Cast Death (100%) or deal physical damage (15x * 1 = 15x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Arcane Explosion (900340) [None] | |
# | |
# Magic* damage (EvoMAG * (15x MAG + 0x SPR)) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if lemon == True: | |
endTurn() | |
elif once(): | |
useSkill(1, 'random') # Empress Supreme (900327): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed) | |
lemon = True # reset next turn | |
elif unit('2:ally:900010680:Empress's Knight').is('alive') and apple == False: | |
useSkill(1, 'random') # Empress Supreme (900327): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed) | |
apple = True # reset next turn | |
elif unit('2:ally:900010681:Captain of the Empress's Guard').is('alive') and apple == False: | |
useSkill(1, 'random') # Empress Supreme (900327): Reduce physical damage taken by 100% to caster for one turn (can not be removed), Reduce magic damage taken by 100% to caster for one turn (can not be removed) | |
apple = True # reset next turn | |
elif unit('2:ally:900010680:Empress's Knight').is('dead') and once(): | |
useSkill(6, 'random') # Unstable Energy (900332): Magic* damage (EvoMAG * (8x MAG + 0x SPR)) to all enemies | |
honey = True # persistent | |
elif unit('2:ally:900010680:Empress's Knight').is('dead') and isTurnMod(5) and var_62 == False: | |
useSkill(6, 'random') # Unstable Energy (900332): Magic* damage (EvoMAG * (8x MAG + 0x SPR)) to all enemies | |
var_62 = True # unknown flag type | |
elif unit('2:ally:900010681:Captain of the Empress's Guard').is('dead') and once(): | |
useSkill(7, 'random') # Elemental Enervation (900333): Reduce resistance to Ice by 100% and resistance to Wind, Light and Dark by 300% for 99 turns to all enemies | |
honey = True # persistent | |
elif unit('2:ally:900010681:Captain of the Empress's Guard').is('dead') and isTurnMod(5) and var_61 == False: | |
useSkill(13, 'random') # Spectral Cutter (900339): Cast Death (100%) or deal physical damage (15x * 1 = 15x, ATK) to one enemy | |
var_61 = True # unknown flag type | |
elif random() <= 0.01 and honey == True: | |
useSkill(9, 'random') # Crystallized Spikes (900335): Magic ice damage (6x, MAG) to all enemies, Inflict Stop (50%) for 3 turns on all enemies | |
elif random() <= 0.05 and honey == True: | |
useSkill(10, 'random') # Shadow Wail (900336): Magic dark damage (15x, MAG) to all enemies, Remove resistances to Poison from all enemies for 3 turns, Inflict Poison (100%) on all enemies | |
elif random() <= 0.05 and honey == True: | |
useSkill(11, 'random') # Storm Gale (900337): Magic wind damage (6x, MAG) to all enemies, Remove resistances to Disease from all enemies for 3 turns, Inflict Disease (100%) on all enemies | |
elif random() <= 0.05 and honey == True: | |
useSkill(12, 'random') # Holy Radiance (900338): Magic light damage (8x, MAG) to all enemies, Remove resistances to Blind from all enemies for 3 turns, Inflict Blind (100%) on all enemies | |
elif self.HP < 0.7 and once(): | |
useSkill(8, 'random') # Awaken, my minions! (900334): Summon Evil Drake (900010683), Summon Morgana (900010686) | |
elif self.HP < 0.7 and once(): | |
useSkill(14, 'random') # Arcane Explosion (900340): Magic* damage (EvoMAG * (15x MAG + 0x SPR)) to all enemies | |
elif self.HP < 0.5 and once(): | |
useSkill(14, 'random') # Arcane Explosion (900340): Magic* damage (EvoMAG * (15x MAG + 0x SPR)) to all enemies | |
elif self.HP < 0.3 and once(): | |
useSkill(14, 'random') # Arcane Explosion (900340): Magic* damage (EvoMAG * (15x MAG + 0x SPR)) to all enemies | |
elif self.HP < 0.1 and once(): | |
useSkill(14, 'random') # Arcane Explosion (900340): Magic* damage (EvoMAG * (15x MAG + 0x SPR)) to all enemies | |
elif random() <= 0.05: | |
useSkill(2, 'random') # Glacial Needles (900328): Magic ice damage (5x, MAG) to one enemy, Reduce resistance to Ice by 150% for 3 turns to one enemy | |
elif random() <= 0.05: | |
useSkill(3, 'random') # Void Blast (900329): Magic dark damage (8x, MAG) to one enemy, Reduce resistance to Dark by 200% for 3 turns to one enemy | |
elif random() <= 0.05: | |
useSkill(4, 'random') # Storm Winds (900330): Magic wind damage (5x, MAG) to one enemy, Reduce resistance to Wind by 150% for 3 turns to one enemy | |
elif random() <= 0.05: | |
useSkill(5, 'random') # Halo Beam (900331): Magic light damage (5x, MAG) to one enemy, Reduce resistance to Light by 150% for 3 turns to one enemy | |
else: | |
attack('random') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment