Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created October 4, 2019 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aEnigmatic/6c6760e1152b1da19fc636bf8e26ce05 to your computer and use it in GitHub Desktop.
Save aEnigmatic/6c6760e1152b1da19fc636bf8e26ce05 to your computer and use it in GitHub Desktop.
DQ Vs. Missions
##
# Mission 'Vs. Raid! Forces of Darkness' (30260101)
#
# Battles
# * Malicious Killing Machine, Malicious Black Dragon
##
##
# Monster Info
##
#
# Monster Malicious Killing Machine (999064401, 10)
# Race Machina
# Level 99
# Actions 2-2
#
#
# Stats
# HP 40000000
# MP 100000
# ATK 900
# DEF 350
# MAG 910
# SPR 350
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning -50%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Laser Strike (217136) [Magic]
#
# Magic damage (1.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kacrackle Slash (217137) [Physical]
#
# Physical ice damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Desperate Attack (217152) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == False:
useRandomSkill('random')
apple = True # reset next turn
elif berry == False:
useRandomSkill('random')
berry = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Malicious Black Dragon (999066400, 11)
# Race Dragon
# Level 99
# Actions 2-2
#
#
# Stats
# HP 40000000
# MP 100000
# ATK 900
# DEF 350
# MAG 910
# SPR 350
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning -50%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Chomp (217140) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shocktail (217141) [Physical]
#
# Physical damage (4x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scorch (DQ XI S) (217142) [Magic]
#
# Magic fire damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == False:
useRandomSkill('random')
apple = True # reset next turn
else:
attack('random')
##
# Mission 'Vs. Indignus' (30270101)
#
# Battles
# * Indignus
##
##
# Monster Info
##
#
# Monster Indignus (304231000, 12)
# Race Dragon
# Level 99
# Actions 7-7
#
#
# Stats
# HP 60000000
# MP 100000
# ATK 900
# DEF 350
# MAG 910
# SPR 350
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -50%
# Dark 0%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Gigathrow (217143) [Magic]
#
# Magic damage (3.5x, MAG) to all enemies
# Inflict Paralyze (50%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Inferno Slash (217144) [Physical]
#
# Physical fire damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kacrack (217145) [Magic]
#
# Magic ice damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.60 and apple == False:
useRandomSkill('random')
apple = True # reset next turn
elif random() <= 0.10 and berry == False:
useRandomSkill('random')
berry = True # reset next turn
else:
attack('random')
##
# Mission 'Vs. Calasmos' (30280101)
#
# Battles
# * Calasmos
##
##
# Monster Info
##
#
# Monster Calasmos (304241000)
# Race Machina
# Level 99
# Actions 9-9
#
#
# Stats
# HP 60000000
# MP 100000
# ATK 900
# DEF 350
# MAG 910
# SPR 350
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Final Flame (217146) [Magic]
#
# Magic fire damage (7x, MAG) to all enemies
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Steal Time (DQ XI S) (217147) [None]
#
# Inflict Stop (100%) for one turn on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Disruptive Wave (DQ XI S) (217148) [None]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Kazapstrophe (217149) [Magic]
#
# Magic lightning damage (3x, MAG) to all enemies
# Reduce resistance to Lightning by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hexhalation (217150) [Magic]
#
# Magic dark damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fires up the Final Flame! (217151) [None]
#
# Reduce resistance to Fire by 50% for 3 turns to all enemies
# Unused parameters: [1]
# Increase ATK, DEF, MAG and SPR by 50% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if honey == True and apple == True and lemon == False:
endTurn()
honey = False # persistent
elif apple == True:
endTurn()
elif isTurnMod(3) and green == 7 and lemon == False:
useSkill(6, 'random') # Fires up the Final Flame! (217151): Reduce resistance to Fire by 50% for 3 turns to all enemies, Increase ATK, DEF, MAG and SPR by 50% for 3 turns to caster
green = 0
lemon = True # reset next turn
apple = True # reset next turn
honey = True # persistent
elif green == 7:
useSkill(4, 'random') # Chaotic Kazapstrophe (217149): Magic lightning damage (3x, MAG) to all enemies, Reduce resistance to Lightning by 50% for 3 turns to all enemies
green = 0
apple = True # reset next turn
elif honey == True and berry == False:
useSkill(1, 'random') # Final Flame (217146): Magic fire damage (7x, MAG) to all enemies
berry = True # reset next turn
elif honey == True and berry == True:
useSkill(3, 'random') # Disruptive Wave (DQ XI S) (217148): Remove all buffs and debuffs from all enemies
apple = True # reset next turn
elif self.HP < 0.8 and berry == False and once():
useSkill(2, 'random') # Steal Time (DQ XI S) (217147): Inflict Stop (100%) for one turn on one enemy
green += 1
berry = True # reset next turn
elif self.HP < 0.4 and berry == False and once():
useSkill(2, 'random') # Steal Time (DQ XI S) (217147): Inflict Stop (100%) for one turn on one enemy
green += 1
berry = True # reset next turn
elif berry == True and peach == False:
useSkill(4, 'random') # Chaotic Kazapstrophe (217149): Magic lightning damage (3x, MAG) to all enemies, Reduce resistance to Lightning by 50% for 3 turns to all enemies
green += 1
peach = True # reset next turn
elif self.HP < 0.5 and isTurnMod(2) and olive == False:
useSkill(5, 'random') # Hexhalation (217150): Magic dark damage (4x, MAG) to all enemies
green += 1
olive = True # reset next turn
elif isTurnMod(3) and olive == False:
useSkill(4, 'random') # Chaotic Kazapstrophe (217149): Magic lightning damage (3x, MAG) to all enemies, Reduce resistance to Lightning by 50% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif isTurnMod(2) and mango == False:
useSkill(2, 'random') # Steal Time (DQ XI S) (217147): Inflict Stop (100%) for one turn on one enemy
green += 1
mango = True # reset next turn
else:
attack('random')
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment