Advertisement
DrFetus

EO4 QR Code Enemy AI Routines

Jun 29th, 2017 (edited)
587
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.64 KB | None | 0 0
  1. Mega Pooka
  2. ==========
  3. If HP is below 6%, cast Healing (Level 2). (Targets self.)
  4.  
  5. If HP is below 16%:
  6. 39% chance to cast Healing (Level 2). (Targets self.)
  7. 61% chance to do nothing. Display message: "Mega Pooka is floating..."
  8.  
  9. If flag 2 is not active:
  10. If HP is below 71%:
  11. If flag 1 is active, do nothing. Display message: "Mega Pooka is floating..." Activate flag 2.
  12. Else, cast Charge. (Targets self.) Activate flag 1.
  13.  
  14. If the turn count is a multiple of 8:
  15. 19% chance to cast Poison Dust. (Standard targeting.)
  16. 30% chance to cast Rampage. (Standard targeting.)
  17. 40% chance to cast Wheeled Attack. (Standard targeting.)
  18. 11% chance to do nothing. Display message: "Mega Pooka is floating..."
  19.  
  20. If the turn count is a multiple of 5:
  21. 29% chance to cast Diving Press. (Standard targeting.)
  22. 30% chance to cast Sticky Tongue. (Standard targeting.)
  23. 30% chance to cast Lightning Call. (Standard targeting.)
  24. 11% chance to do nothing. Display message: "Mega Pooka is floating..."
  25.  
  26. If the turn count is a multiple of 3:
  27. 24% chance to cast Rising Bile. (Targets self.)
  28. 30% chance to cast Icicle. (Standard targeting.)
  29. 25% chance to cast Rush. (Standard targeting.)
  30. 10% chance to cast Stone Eye (Level 2). (Standard targeting.)
  31. 11% chance to do nothing. Display message: "Mega Pooka is floating..."
  32.  
  33. Else, do nothing. Display message: "Mega Pooka is floating..."
  34.  
  35. Glacier Fiend
  36. =============
  37. Cast Avalanche on the 1st turn. (Standard targeting.)
  38.  
  39. On turns that are multiplies of 4:
  40. 69% chance to cast Avalanche. (Standard targeting.)
  41. 15% chance to cast Icicle Lump. (Standard targeting.)
  42. 16% chance to use a regular attack. (Standard targeting.)
  43.  
  44. Else:
  45. 59% chance to cast Icicle Lump. (Standard targeting.)
  46. 41% chance to use a regular attack. (Standard targeting.)
  47.  
  48. Evil Locust
  49. ===========
  50. On the 1st turn:
  51. 34% chance to cast Head Kick. (Standard targeting.)
  52. 33% chance to cast Armlock. (Standard targeting.)
  53. 33% chance to cast Trip. (Standard targeting.)
  54.  
  55. On the 2nd turn:
  56. If Head Kick was cast on the 1st turn:
  57. 49% chance to cast Armlock. (Standard targeting.)
  58. 51% chance to cast Trip. (Standard targeting.)
  59. If Armlock was cast on the 1st turn:
  60. 49% chance to cast Head Kick. (Standard targeting.)
  61. 51% chance to cast Trip. (Standard targeting.)
  62. If Trip was cast on the 1st turn:
  63. 49% chance to cast Head Kick. (Standard targeting.)
  64. 51% chance to cast Armlock. (Standard targeting.)
  65.  
  66. On the 3rd turn:
  67. If Head Kick was not cast on the first two turns, cast Head Kick. (Standard targeting.)
  68. If Armlock was not cast on the first two turns, cast Armlock. (Standard targeting.)
  69. If Trip was not cast on the first two turns, cast Trip. (Standard targeting.)
  70.  
  71. Cast Lightning Kick on the 4th turn. (Standard targeting.)
  72.  
  73. Else:
  74. 34% chance to cast Head Kick. (Standard targeting.)
  75. 33% chance to cast Armlock. (Standard targeting.)
  76. 33% chance to cast Trip. (Standard targeting.)
  77.  
  78.  
  79. Elite Locust
  80. ============
  81. 69% chance to use a regular attack. (Standard targeting.)
  82. 31% chance to cast Jump Kick. (Standard targeting.)
  83.  
  84. Drake
  85. =====
  86. Cast Poison Breath on the 1st turn. (Standard targeting.)
  87.  
  88. If no one is poisoned, 59% chance to cast Poison Breath. (Standard targeting.)
  89.  
  90. From 100% to 51% HP:
  91. If at least 1 party member is below 51% HP, 29% chance to cast Sonic Bite. (Targets the party member with the lowest HP.)
  92.  
  93. Else:
  94. 39% chance to cast Flame Breath. (Standard targeting.)
  95. 20% chance to cast Sonic Bite. (Targets the party member with the lowest HP.)
  96. 41% chance to use a regular attack. (Standard targeting.)
  97.  
  98. From 50% HP to death:
  99. If at least 1 party member is below 51% HP, 49% chance to cast Sonic Bite. (Targets the party member with the lowest HP.)
  100.  
  101. Else:
  102. 39% chance to cast Flame Breath. (Standard targeting.)
  103. 40% chance to cast Sonic Bite. (Targets the party member with the lowest HP.)
  104. 21% chance to use a regular attack. (Standard targeting.)
  105.  
  106. Doom Bison
  107. ==========
  108. If self is alone:
  109. Cast Raring Roar. (Targets self.) This routine can only activate once.
  110.  
  111. 49% chance to cast Bull Stamp. (Standard targeting.)
  112. 51% chance to cast Double Horns. (Standard targeting.)
  113.  
  114. If self is not at full HP:
  115. If no one in the party has the Withering Glare debuff, and it was not cast on the last 4 turns, cast withering Glare (Standard targeting.)
  116.  
  117. If another Doom Bison already cast Withering Glare on the same turn:
  118. 29% chance to cast Bull Stamp. (Standard targeting.)
  119. If Bull Stamp does not get cast, 19% chance to cast Double Horns. (Standard targeting.)
  120. If Double Horns does not get cast, use a regular attack. (Standard targeting.)
  121.  
  122. If no one in the party has the Withering Glare debuff:
  123. 19% chance to cast Withering Glare. (Standard targeting.)
  124. If Withering Glare does not get cast, 29% chance to cast Bull Stamp. (Standard targeting.)
  125. If Bull Stamp does not get cast, 19% chance to cast Double Horns. (Standard targeting.)
  126. If Double Horns does not get cast, use a regular attack. (Standard targeting.)
  127.  
  128. Else:
  129. 29% chance to cast Bull Stamp. (Standard targeting.)
  130. If Bull Stamp does not get cast, 19% chance to cast Double Horns. (Standard targeting.)
  131. If Double Horns does not get cast, use a regular attack. (Standard targeting.)
  132.  
  133. Else, do nothing. Display message: "Doom Bison is watching."
  134.  
  135. Blade Tortoise
  136. ==============
  137. Cast Defend once HP falls below 51%. (Standard targeting.)
  138.  
  139. If HP is below 51% and Defend was not cast on the last 3 turns, cast Defend. (Standard targeting.)
  140.  
  141. From 100% to 51% HP:
  142. 69% chance to cast Break Spin. (Standard targeting.)
  143.  
  144. If Break Spin does not get cast:
  145. 34% chance to cast Spin Rush. (Standard targeting.)
  146. 45% chance to cast Drill Rush. (Targets the front row.)
  147. 21% chance to use a regular attack. (Standard targeting.)
  148.  
  149. From 50% HP to death:
  150. 69% chance to cast Break Spin. (Standard targeting.)
  151.  
  152. If Break Spin does not get cast:
  153. 59% chance to cast Spin Rush. (Standard targeting.)
  154. 41% chance to cast Drill Rush. (Targets the front row.)
  155.  
  156. Horned Lion
  157. ===========
  158. 39% chance to cast Lion's Blade. (Standard targeting.)
  159.  
  160. If the party has at least 5 buffs, 39% chance to cast Sublime Fang. (Targets party members with buffs.)
  161.  
  162. If the party has at least 1 buff, 19% chance to cast Sublime Fang. (Targets party members with buffs.)
  163.  
  164. Cast Lion's Rage once HP falls below 51%. (Targets self.)
  165.  
  166. From 100% to 51% HP:
  167. 34% chance to cast Silencing Claw. (Standard targeting.)
  168. 50% chance to cast Fang Slice. (Standard targeting.)
  169. 16% chance to use a regular attack. (Standard targeting.)
  170.  
  171. From 50% HP to death:
  172. 59% chance to cast Silencing Claw. (Standard targeting.)
  173. 41% chance to cast Fang Slice. (Standard targeting.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement