Advertisement
DrFetus

EO5 Dragon Zombie AI

Dec 20th, 2017
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. Zombie Dragon
  2. =============
  3. If Dark Breath is not active and [Mystery condition], cast Dark Breath. (Standard targeting.)
  4.  
  5. If flag 1 is not active, cast Poison Rain. (Standard targeting.) Activate flag 1.
  6.  
  7. If HP is below 51%, and flag 2 is not active, cast Cursed Rain. (Standard targeting.) Activate flag 2.
  8.  
  9. If global flag R2 is active:
  10. If HP is below 26%:
  11. If R0 is greater than 4, 40% chance to activate flag 3.
  12. If R0 is less than or equal to 4, 70% chance to activate flag 3.
  13. If HP is below 51%:
  14. If R0 is greater than 4, 30% chance to activate flag 3.
  15. If R0 is less than or equal to 4, 50% chance to activate flag 3.
  16. Else:
  17. If R0 is less than or equal to 4, 30% chance to activate flag 3.
  18. If flag 3 is active, cast Fire Breath. (Standard targeting.) Deactivate flag 3.
  19.  
  20. If HP is below 51%:
  21. If self is not cursed, 50% chance to cast Cursed Rain. (Standard targeting.)
  22.  
  23. If global flag R2 is not active, 30% chance to cast Fire Breath. (Standard targeting.)
  24.  
  25. Else:
  26. 40% chance to cast Dragon Quake. (Standard targeting.)
  27. 40% chance to follow this routine:
  28. If at least 1 party member has their head, arms, or legs bound:
  29. 50% chance to cast Crushing Bite. (Standard targeting.)
  30. 50% chance to use a regular attack. (Standard targeting.)
  31. Else:
  32. Cast Crushing Bite. (Standard targeting.)
  33. 20% chance to use a regular attack. (Standard targeting.)
  34.  
  35. If HP is below 76%:
  36. If self is not poisoned, 60% chance to cast Poison Rain. (Standard targeting.)
  37.  
  38. If global flag R2 is not active, 30% chance to cast Fire Breath. (Standard targeting.)
  39.  
  40. Else:
  41. 30% chance to follow this routine:
  42. If at least 1 party member has the Ice Crush debuff, 50% chance to cast Ice Crush. (Standard targeting.)
  43.  
  44. If no one has the Ice Crush debuff, cast Ice Crush. (Standard targeting.)
  45.  
  46. Else, use a regular attack. (Standard targeting.)
  47. 30% chance to cast Loud Stomping. (Standard targeting.)
  48. 30% chance to follow this routine:
  49. If at least 1 party member has their head, arms, or legs bound:
  50. 50% chance to cast Crushing Bite. (Standard targeting.)
  51. 50% chance to use a regular attack. (Standard targeting.)
  52. Else:
  53. Cast Crushing Bite. (Standard targeting.)
  54. 10% chance to use a regular attack. (Standard targeting.)
  55.  
  56. Else:
  57. If self is not poisoned, 40% chance to cast Poison Rain. (Standard targeting.)
  58.  
  59. If global flag R2 is not active, 20% chance to cast Fire Breath. (Standard targeting.)
  60.  
  61. Else:
  62. 30% chance to follow this routine:
  63. If at least 1 party member has the Ice Crush debuff, 30% chance to cast Ice Crush. (Standard targeting.)
  64.  
  65. If no one has the Ice Crush debuff, cast Ice Crush. (Standard targeting.)
  66.  
  67. Else, use a regular attack. (Standard targeting.)
  68. 40% chance to cast Loud Stomping. (Standard targeting.)
  69. 30% chance to use a regular attack. (Standard targeting.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement