Created
June 28, 2018 13:43
-
-
Save aEnigmatic/d34adeaa62ab4f1fe9c8997e70c0b287 to your computer and use it in GitHub Desktop.
Golem 3* - New Trial of the Guardian
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 Guardian' (1125107) | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Golem (210011002) | |
# Race Stone | |
# Level 99 | |
# Actions 9-9 | |
# | |
# | |
# Stats | |
# HP 80000000 | |
# MP 100000 | |
# ATK 1450 | |
# DEF 100 | |
# MAG 550 | |
# SPR 25 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 0% | |
# Ice 0% | |
# Lightning 0% | |
# Water 0% | |
# Wind -100% | |
# Earth 0% | |
# Light 0% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 100% | |
# MAG 100% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk? 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 土属性吸収 (100007) [Passive] | |
# | |
# Absorb Earth elemental attacks | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Trample (179820) [Physical] | |
# | |
# Physical damage (5x, ATK) to one enemy | |
# Reduce DEF and SPR by 50% for 3 turns to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Kick Away (179830) [Physical] | |
# | |
# Physical damage (5x, ATK) to one enemy | |
# Reduce ATK and MAG by 50% for 3 turns to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Magnitude 8 (179840) [Physical] | |
# | |
# Magic* earth damage (10x, MAG) to all enemies | |
# Unused paramaters: [200] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Earthen Wall (179850) [None] | |
# | |
# Reduce physical damage taken by 100% to all allies for one turn (can not be removed) | |
# Reduce magic damage taken by 100% to all allies for one turn (can not be removed) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fragmental Rock (179860) [Magic] | |
# | |
# Magic earth damage (12x, MAG) to all enemies | |
# Unused paramaters: [200] | |
# Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies | |
# Unused paramaters: [0,0,1,10] | |
# Reduce resistance to Earth by 100% for 10 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if apple == True: | |
end_turn() | |
elif once(): | |
useSkill(5, 'random') # Fragmental Rock (179860): Magic earth damage (12x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies, Reduce resistance to Earth by 100% for 10 turns to all enemies | |
elif once(): | |
useSkill(4, 'random') # Earthen Wall (179850): Reduce physical damage taken by 100% to all allies for one turn (can not be removed), Reduce magic damage taken by 100% to all allies for one turn (can not be removed) | |
apple = True # reset next turn | |
elif self.HP < 0.8 and once(): | |
useSkill(5, 'random') # Fragmental Rock (179860): Magic earth damage (12x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies, Reduce resistance to Earth by 100% for 10 turns to all enemies | |
elif self.HP < 0.8 and uses() < 3: | |
useSkill(1, 'def_max') # Trample (179820): Physical damage (5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy | |
elif self.HP < 0.8 and once(): | |
useSkill(4, 'random') # Earthen Wall (179850): Reduce physical damage taken by 100% to all allies for one turn (can not be removed), Reduce magic damage taken by 100% to all allies for one turn (can not be removed) | |
apple = True # reset next turn | |
elif self.HP < 0.6 and once(): | |
useSkill(5, 'random') # Fragmental Rock (179860): Magic earth damage (12x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies, Reduce resistance to Earth by 100% for 10 turns to all enemies | |
elif self.HP < 0.6 and uses() < 3: | |
useSkill(1, 'def_max') # Trample (179820): Physical damage (5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy | |
elif self.HP < 0.6 and once(): | |
useSkill(4, 'random') # Earthen Wall (179850): Reduce physical damage taken by 100% to all allies for one turn (can not be removed), Reduce magic damage taken by 100% to all allies for one turn (can not be removed) | |
apple = True # reset next turn | |
elif self.HP < 0.4 and once(): | |
useSkill(5, 'random') # Fragmental Rock (179860): Magic earth damage (12x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies, Reduce resistance to Earth by 100% for 10 turns to all enemies | |
elif self.HP < 0.4 and uses() < 4: | |
useSkill(1, 'def_max') # Trample (179820): Physical damage (5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy | |
elif self.HP < 0.4 and once(): | |
useSkill(4, 'random') # Earthen Wall (179850): Reduce physical damage taken by 100% to all allies for one turn (can not be removed), Reduce magic damage taken by 100% to all allies for one turn (can not be removed) | |
apple = True # reset next turn | |
elif green > 4 and berry == False: | |
useSkill(3, 'random') # Magnitude 8 (179840): Magic* earth damage (10x, MAG) to all enemies | |
berry = True # reset next turn | |
green = 0 | |
elif self.HP < 0.4 and green == 2: | |
useSkill(5, 'random') # Fragmental Rock (179860): Magic earth damage (12x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies, Reduce resistance to Earth by 100% for 10 turns to all enemies | |
green += 1 | |
elif random() <= 0.20 and self.HP < 0.4: | |
useSkill(2, 'random') # Kick Away (179830): Physical damage (5x, ATK) to one enemy, Reduce ATK and MAG by 50% for 3 turns to one enemy | |
elif peach == False: | |
useSkill(1, 'random') # Trample (179820): Physical damage (5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy | |
peach = True # reset next turn | |
green += 1 | |
elif random() <= 0.35: | |
useSkill(1, 'random') # Trample (179820): Physical damage (5x, ATK) to one enemy, Reduce DEF and SPR by 50% 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