Last active
February 22, 2018 16:17
-
-
Save aEnigmatic/fec63f7eee51b39a10944ecc1b90546b to your computer and use it in GitHub Desktop.
Leviathan 2* - GL - AI ONLY
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
### | |
# Leviathan | |
### | |
# Skills | |
### | |
# | |
# Tsunami (Magic) | |
# | |
# Magic water damage (5x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Waterga (Magic) | |
# | |
# Magic water damage (3x, MAG) to all enemies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Blizzaga (Magic) | |
# | |
# Magic ice damage (3x, MAG) to all enemies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Flood (Magic) | |
# | |
# Magic water damage (3.5x, MAG) to all enemies | |
# Reduce resistance to Lightning by 30% for 3 turns to all enemies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Stone Gaze (None) | |
# | |
# Inflict Petrify (100%) on one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Gigantic Tornado (Magic) | |
# | |
# Magic damage (2.6x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Strike (Physical) | |
# | |
# Physical damage (3x, ATK) to one enemy | |
# Reduce DEF by 50% for 2 turns to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Mow Down (Physical) | |
# | |
# Physical damage (2.5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Surge, raging waters! (None) | |
# | |
# Increase MAG by 80% for 2 turns to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Haste (None) | |
# | |
# No effect | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Protect (None) | |
# | |
# Increase DEF by 50% for 3 turns to one ally | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Sealing Foam (None) | |
# | |
# Inflict Stop (10%) for 2 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Bubbles of Rage (Magic) | |
# | |
# Magic damage (200x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Ferocious Current (None) | |
# | |
# Magic* damage (1x, MAG) to all enemies | |
# Reduce resistance to Water by 100% for 5 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if mango == True and white > 7: | |
end_turn() | |
white = 0 | |
elif black > 6 and apple == False: | |
useSkill(9, 'random') # Surge, raging waters! (173240): Increase MAG by 80% for 2 turns to caster | |
apple = True # reset next turn | |
honey = True # persistent | |
black = 0 | |
elif honey == True: | |
useSkill(14, 'random') # Ferocious Current (174370): Magic* damage (1x, MAG) to all enemies, Reduce resistance to Water by 100% for 5 turns to all enemies | |
apple = True # reset next turn | |
honey = False # persistent | |
sushi = True # persistent | |
elif sushi == True and apple == False: | |
useSkill(1, 'random') # Tsunami (173160): Magic water damage (5x, MAG) to all enemies | |
sushi = False # persistent | |
elif random() <= 0.10 and olive == True and self.HP < 0.6 and berry == False: | |
useSkill(12, 'random') # Sealing Foam (173270): Inflict Stop (10%) for 2 turns on all enemies | |
berry = True # reset next turn | |
ramen = True # persistent | |
elif olive == True and ramen == True and berry == False: | |
useSkill(13, 'random') # Bubbles of Rage (173280): Magic damage (200x, MAG) to one enemy | |
ramen = False # persistent | |
elif random() <= 0.10 and mango == True and self.HP < 0.6 and berry == False: | |
useSkill(12, 'random') # Sealing Foam (173270): Inflict Stop (10%) for 2 turns on all enemies | |
berry = True # reset next turn | |
ramen = True # persistent | |
white += 1 | |
elif mango == True and ramen == True and berry == False: | |
useSkill(13, 'random') # Bubbles of Rage (173280): Magic damage (200x, MAG) to one enemy | |
ramen = False # persistent | |
white += 1 | |
elif green > 4 and peach == False: | |
useSkill(4, 'random') # Flood (173190): Magic water damage (3.5x, MAG) to all enemies, Reduce resistance to Lightning by 30% for 3 turns to all enemies | |
peach = True # reset next turn | |
green = 0 | |
black += 1 | |
elif random() <= 0.50 and olive == False and mango == False: | |
useSkill(10, 'random') # Haste (173250): No effect | |
olive = True # reset next turn | |
elif olive == False and mango == False: | |
useSkill(11, 'random') # Protect (173260): Increase DEF by 50% for 3 turns to one ally | |
mango = True # reset next turn | |
elif random() <= 0.20 and mango == True and lemon == False: | |
useSkill(5, 'random') # Stone Gaze (173200): Inflict Petrify (100%) on one enemy | |
lemon = True # reset next turn | |
white += 1 | |
elif random() <= 0.20 and mango == True and grape == False: | |
useSkill(6, 'random') # Gigantic Tornado (173210): Magic damage (2.6x, MAG) to all enemies | |
grape = True # reset next turn | |
white += 1 | |
elif random() <= 0.20 and olive == True and lemon == False: | |
useSkill(5, 'random') # Stone Gaze (173200): Inflict Petrify (100%) on one enemy | |
lemon = True # reset next turn | |
elif random() <= 0.20 and olive == True and grape == False: | |
useSkill(6, 'random') # Gigantic Tornado (173210): Magic damage (2.6x, MAG) to all enemies | |
grape = True # reset next turn | |
elif random() <= 0.40 and olive == True: | |
useSkill(7, 'random') # Strike (173220): Physical damage (3x, ATK) to one enemy, Reduce DEF by 50% for 2 turns to one enemy | |
elif random() <= 0.40 and olive == True: | |
useSkill(8, 'random') # Mow Down (173230): Physical damage (2.5x, ATK) to all enemies | |
elif random() <= 0.30 and mango == True: | |
useSkill(2, 'random') # Waterga (173170): Magic water damage (3x, MAG) to all enemies | |
white += 1 | |
green += 1 | |
black += 1 | |
elif random() <= 0.30 and mango == True: | |
useSkill(3, 'random') # Blizzaga (173180): Magic ice damage (3x, MAG) to all enemies | |
white += 1 | |
elif olive == True: | |
attack('random') | |
elif mango == True: | |
attack('random') | |
white += 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment