Created
August 28, 2018 18:35
-
-
Save aEnigmatic/1a3c7433e9dbdcf8670166da01054a00 to your computer and use it in GitHub Desktop.
Diabolos 3* - New Trial of the Demon
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 'New Trial of the Demon' (1230107) | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Diabolos (304001002) | |
# Race Demon | |
# Level 99 | |
# Actions 15-15 | |
# | |
# | |
# Stats | |
# HP 80000000 | |
# MP 100000 | |
# ATK 650 | |
# DEF 170 | |
# MAG 700 | |
# SPR 30 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 0% | |
# Ice 0% | |
# Lightning 0% | |
# Water 0% | |
# Wind 0% | |
# Earth 0% | |
# Light -100% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+10% / application) | |
# Poison 100% | |
# Blind 0% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 0% | |
# MAG 100% | |
# SPR 100% | |
# Stop 100% | |
# Charm 100% | |
# Berserk? 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 闇属性吸収 (100013) [Passive] | |
# | |
# Absorb Dark elemental attacks | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Shadow Strike (184340) [Physical] | |
# | |
# Physical damage (16x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Night Terror (184350) [Magic] | |
# | |
# Magic dark damage (1.2x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Shadow Impact (184360) [Magic] | |
# | |
# Magic dark damage (1.45x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Ruinous Omen (184370) [Magic] | |
# | |
# Magic dark damage (1.3x, MAG) to all enemies | |
# Reduce resistance to Dark by 60% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Demonic Trial (184380) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dark Barrier (184390) [None] | |
# | |
# Reduce physical damage taken by 100% to caster for 2 turns (can not be removed) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Blackout (184400) [None] | |
# | |
# Inflict Blind and Paralyze (100%) on all enemies | |
# Inflict Stop (60%) for 3 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dark Messenger (184410) [Magic] | |
# | |
# Magic dark damage (9.3x, MAG) to all enemies | |
# Reduce resistance to Dark by 100% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Gravity (184420) [Magic] | |
# | |
# 50% HP damage to one enemy | |
# Unused parameters: [50,100] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Graviga (184430) [Magic] | |
# | |
# 75% HP damage to all enemies | |
# Unused parameters: [75,100] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Death (184440) [Magic] | |
# | |
# [Death] | |
# Instant KO (60%) to one enemy | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Bioga (184450) [Magic] | |
# | |
# Magic dark damage (1.05x, MAG) to all enemies | |
# Inflict Poison (100%) on all enemies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Evil Mood (184460) [Magic] | |
# | |
# Restore 1050 (+8x, Heal) HP to all enemies | |
# Unused parameters: [100] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Evil Mood (184470) [None] | |
# | |
# Increase ATK and MAG by 30% for 2 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Evil Mood (184480) [None] | |
# | |
# Remove all buffs and debuffs from all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if guava == True: | |
endTurn() | |
elif self.HP < 0.2 and once(): | |
useSkill(7, 'random') # Blackout (184400): Inflict Blind and Paralyze (100%) on all enemies, Inflict Stop (60%) for 3 turns on all enemies | |
elif self.HP < 0.2 and once(): | |
useSkill(8, 'random') # Dark Messenger (184410): Magic dark damage (9.3x, MAG) to all enemies, Reduce resistance to Dark by 100% for 3 turns to all enemies | |
guava = True # reset next turn | |
pasta = True # persistent | |
pizza = True # persistent | |
sugar = True # persistent | |
elif self.HP < 0.4 and once() and sugar == False: | |
useSkill(7, 'random') # Blackout (184400): Inflict Blind and Paralyze (100%) on all enemies, Inflict Stop (60%) for 3 turns on all enemies | |
elif self.HP < 0.4 and once() and sugar == False: | |
useSkill(8, 'random') # Dark Messenger (184410): Magic dark damage (9.3x, MAG) to all enemies, Reduce resistance to Dark by 100% for 3 turns to all enemies | |
guava = True # reset next turn | |
pasta = True # persistent | |
pizza = True # persistent | |
elif self.HP < 0.6 and once() and pizza == False: | |
useSkill(7, 'random') # Blackout (184400): Inflict Blind and Paralyze (100%) on all enemies, Inflict Stop (60%) for 3 turns on all enemies | |
elif self.HP < 0.6 and once() and pizza == False: | |
useSkill(10, 'random') # Graviga (184430): 75% HP damage to all enemies | |
elif self.HP < 0.6 and once() and pizza == False: | |
useSkill(4, 'random') # Ruinous Omen (184370): Magic dark damage (1.3x, MAG) to all enemies, Reduce resistance to Dark by 60% for 3 turns to all enemies | |
guava = True # reset next turn | |
pasta = True # persistent | |
elif self.HP < 0.8 and once() and pasta == False: | |
useSkill(7, 'random') # Blackout (184400): Inflict Blind and Paralyze (100%) on all enemies, Inflict Stop (60%) for 3 turns on all enemies | |
elif self.HP < 0.8 and once() and pasta == False: | |
useSkill(10, 'random') # Graviga (184430): 75% HP damage to all enemies | |
guava = True # reset next turn | |
elif random() <= 0.11 and melon == False and self.HP < 0.5 and isTurnMod(2): | |
useSkill(13, 'random') # Evil Mood (184460): Restore 1050 (+8x, Heal) HP to all enemies | |
melon = True # reset next turn | |
elif random() <= 0.22 and melon == False and self.HP < 0.5 and isTurnMod(2): | |
useSkill(14, 'random') # Evil Mood (184470): Increase ATK and MAG by 30% for 2 turns to all enemies | |
melon = True # reset next turn | |
elif random() <= 0.33 and melon == False and self.HP < 0.5 and isTurnMod(2): | |
useSkill(15, 'random') # Evil Mood (184480): Remove all buffs and debuffs from all enemies | |
melon = True # reset next turn | |
elif random() <= 0.11 and melon == False and self.HP < 0.5 and isTurnMod(2): | |
useSkill(13, 'random') # Evil Mood (184460): Restore 1050 (+8x, Heal) HP to all enemies | |
melon = True # reset next turn | |
elif random() <= 0.22 and melon == False and self.HP < 0.5 and isTurnMod(2): | |
useSkill(14, 'random') # Evil Mood (184470): Increase ATK and MAG by 30% for 2 turns to all enemies | |
melon = True # reset next turn | |
elif random() <= 0.33 and melon == False and self.HP < 0.5 and isTurnMod(2): | |
useSkill(15, 'random') # Evil Mood (184480): Remove all buffs and debuffs from all enemies | |
melon = True # reset next turn | |
elif random() <= 0.11 and unit('1:player?_any').sufferedDamageLastTurn('dark', 'phys') and melon == False and self.HP > 0.5: | |
useSkill(13, 'random') # Evil Mood (184460): Restore 1050 (+8x, Heal) HP to all enemies | |
melon = True # reset next turn | |
elif random() <= 0.22 and unit('1:player?_any').sufferedDamageLastTurn('dark', 'mag') and melon == False and self.HP > 0.5: | |
useSkill(14, 'random') # Evil Mood (184470): Increase ATK and MAG by 30% for 2 turns to all enemies | |
melon = True # reset next turn | |
elif random() <= 0.33 and unit('1:player?_any').sufferedDamageLastTurn('dark', 'phys') and melon == False and self.HP > 0.5: | |
useSkill(15, 'random') # Evil Mood (184480): Remove all buffs and debuffs from all enemies | |
melon = True # reset next turn | |
elif random() <= 0.11 and unit('1:player?_any').sufferedDamageLastTurn('dark', 'mag') and melon == False and self.HP > 0.5: | |
useSkill(13, 'random') # Evil Mood (184460): Restore 1050 (+8x, Heal) HP to all enemies | |
melon = True # reset next turn | |
elif random() <= 0.22 and unit('1:player?_any').sufferedDamageLastTurn('dark', 'phys') and melon == False and self.HP > 0.5: | |
useSkill(14, 'random') # Evil Mood (184470): Increase ATK and MAG by 30% for 2 turns to all enemies | |
melon = True # reset next turn | |
elif random() <= 0.33 and unit('1:player?_any').sufferedDamageLastTurn('dark', 'mag') and melon == False and self.HP > 0.5: | |
useSkill(15, 'random') # Evil Mood (184480): Remove all buffs and debuffs from all enemies | |
melon = True # reset next turn | |
elif isTurnMod(4) and peach == False and self.HP < 0.5: | |
useSkill(6, 'random') # Dark Barrier (184390): Reduce physical damage taken by 100% to caster for 2 turns (can not be removed) | |
peach = True # reset next turn | |
elif black >= 9 and self.HP < 0.3: | |
endTurn() | |
black = 0 | |
honey = True # persistent | |
elif white >= 9 and self.HP < 0.3 and honey == True: | |
endTurn() | |
white = 0 | |
honey = False # persistent | |
elif black >= 8 and self.HP < 0.65: | |
endTurn() | |
black = 0 | |
honey = True # persistent | |
elif white >= 8 and self.HP < 0.65 and honey == True: | |
endTurn() | |
white = 0 | |
honey = False # persistent | |
elif black >= 7: | |
endTurn() | |
black = 0 | |
honey = True # persistent | |
elif white >= 7 and honey == True: | |
endTurn() | |
white = 0 | |
honey = False # persistent | |
elif random() <= 0.50 and white <= 3 and honey == True: | |
useSkill(1, 'random') # Shadow Strike (184340): Physical damage (16x, ATK) to one enemy | |
white = 1 | |
elif white <= 3 and honey == True: | |
useSkill(9, 'random') # Gravity (184420): 50% HP damage to one enemy | |
white = 1 | |
elif white <= 5 and honey == True: | |
useSkill(2, 'random') # Night Terror (184350): Magic dark damage (1.2x, MAG) to one enemy | |
white = 1 | |
elif apple == False and honey == True: | |
useSkill(12, 'random') # Bioga (184450): Magic dark damage (1.05x, MAG) to all enemies, Inflict Poison (100%) on all enemies | |
apple = True # reset next turn | |
elif berry == False and self.HP < 0.6 and honey == True: | |
useSkill(4, 'random') # Ruinous Omen (184370): Magic dark damage (1.3x, MAG) to all enemies, Reduce resistance to Dark by 60% for 3 turns to all enemies | |
white = 1 | |
berry = True # reset next turn | |
elif berry == False and self.HP > 0.6 and honey == True and isTurnMod(2): | |
useSkill(4, 'random') # Ruinous Omen (184370): Magic dark damage (1.3x, MAG) to all enemies, Reduce resistance to Dark by 60% for 3 turns to all enemies | |
white = 1 | |
berry = True # reset next turn | |
elif honey == True: | |
attack('random') | |
white = 1 | |
elif random() <= 0.50 and black <= 3: | |
useSkill(1, 'random') # Shadow Strike (184340): Physical damage (16x, ATK) to one enemy | |
black = 1 | |
elif black <= 3: | |
useSkill(11, 'random') # Death (184440): [Death], Instant KO (60%) to one enemy | |
black = 1 | |
elif black <= 5: | |
useSkill(2, 'random') # Night Terror (184350): Magic dark damage (1.2x, MAG) to one enemy | |
black = 1 | |
elif apple == False: | |
useSkill(3, 'random') # Shadow Impact (184360): Magic dark damage (1.45x, MAG) to all enemies | |
apple = True # reset next turn | |
elif berry == False and self.HP < 0.6: | |
useSkill(5, 'random') # Demonic Trial (184380): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
black = 1 | |
berry = True # reset next turn | |
elif berry == False and self.HP > 0.6 and isTurnMod(3): | |
useSkill(5, 'random') # Demonic Trial (184380): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
black = 1 | |
berry = True # reset next turn | |
else: | |
attack('random') | |
black = 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment