Advertisement
DrFetus

EO2 Boss AI

Jan 1st, 2020 (edited)
821
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.75 KB | None | 0 0
  1. Note: All bosses have a failsafe behavior in which they are forced to defend if somehow none of the routines in the AI get followed. This is to prevent enemies from skipping turns like they could in the first Etrian Odyssey game due to errors in the AI.
  2.  
  3. Also, with anything regarding turn counts, be aware that it does not match up with the in-game turn counter, as the one the enemies check starts counting up from 0 instead of 1. Also anything that checks for a multiple of a turn count considers 0 to be a multiple of the specified number as well, causing that routine to fire on the first turn in the battle if possible.
  4.  
  5. Chimaera
  6. ========
  7. If HP is less than or equal to 25%:
  8. 39% chance to cast Pile. (Targets a random party member.) Activate flag 1.
  9. If Pile does not get cast, 39% chance to cast 2-hit. (Targets a random party member.)
  10. If 2-hit does not get cast, 39% chance to use a regular attack. (Targets a random party member.)
  11. Else, cast Blaze. (Standard targeting.)
  12.  
  13. If HP is less than or equal to 50%:
  14. If flag 1 is not active, cast Blaze. (Standard targeting.) Activate flag 1.
  15. If Blaze does not get cast, 44% chance to cast Pile. (Targets a random party member.) Activate flag 1.
  16. If Pile does not get cast, 44% chance to cast 2-hit. (Targets a random party member.)
  17. If 2-hit does not get cast, use a regular attack. (Targets a random party member.)
  18.  
  19. If HP is less than or equal to 75%:
  20. If flag 0 is not active, cast Blaze. (Standard targeting.) Activate flag 0.
  21. If Blaze does not get cast, 59% chance to cast 2-hit. (Targets the front row.)
  22. Else, use a regular attack. (Targets the front row.)
  23.  
  24. Else:
  25. 49% chance to cast 2-hit. (Targets the front row.)
  26. 51% chance to use a regular attack. (Targets the front row.)
  27.  
  28. Slaveimp
  29. ========
  30. If Chimaera is in the battle and is at or less than 100% HP:
  31. If Chimaera is in the battle and is at or less than 75% HP, and no one has an attack buff:
  32. 49% chance to cast Heal. (Targets Chimaera.)
  33. If Heal does not get cast, 74% chance to cast Aura. (Targets the enemy with the lowest HP.)
  34. Else, use a regular attack. (Standard targeting.)
  35.  
  36. If Chimaera is in the battle and is at or less than 75% HP, and at least 1 enemy has an attack buff:
  37. 74% chance to cast Heal. (Targets Chimaera.)
  38. 26% chance to use a regular attack. (Targets the enemy with the lowest HP.)
  39.  
  40. If at least 1 enemy has an attack buff, use a regular attack. (Targets the party member with the lowest HP.)
  41.  
  42. If no enemy has an attack buff:
  43. 74% chnace to cast Aura. (Standard targeting.)
  44. 26% chance to use a regular attack. (Targets the party member with the lowest HP.)
  45.  
  46. Else, use a regular attack. (Targets the party member with the lowest HP.)
  47.  
  48. Else:
  49. 50% chance to cast Flight. (Standard targeting.)
  50. 50% chance to use a regular attack. (Targets the party member with the lowest HP.)
  51.  
  52. Hellion
  53. =======
  54. If flag 0 is not active, cast Roar. (Standard targeting.) Activate flag 0.
  55.  
  56. If the party has 11 or more buffs, 50% chance to cast Atrocity. (Standard targeting.)
  57.  
  58. If HP is below 25%:
  59. 30% chance to cast Roar. (Standard targeting.)
  60. If Roar does not get cast, 60% chance to cast Inferno. (Standard targeting.)
  61. If Inferno does not get cast, 90% chance to cast Embrace. (Standard targeting.)
  62. Else, cast Kingfire. (Standard targeting.)
  63.  
  64. If HP is below 50%:
  65. 19% chance to cast Inferno. (Standard targeting.)
  66. If Inferno does not get cast, 59% chance to cast Embrace. (Standard targeting.)
  67. If Embrace does not get cast, 74% chance to cast Kingfire. (Standard targeting.)
  68. Else, use a regular attack. (Standard targeting.)
  69.  
  70. If HP is below 75%:
  71. 44% chance to cast Inferno. (Standard targeting.)
  72. If Inferno does not get cast, 44% chance to cast Embrace. (Standard targeting.)
  73. Else, use a regular attack. (Standard targeting.)
  74.  
  75. Else:
  76. 39% chance to cast Inferno. (Targets the front row.)
  77. If Inferno does not get cast, 39% chance to cast Embrace. (Targets the front row.)
  78. Else, use a regular attack. (Targets the front row.)
  79.  
  80. Artelind
  81. ========
  82. If at least 1 party member is poisoned, cast Poison. (Targets party members that are poisoned.)
  83.  
  84. If at least 1 party member is paralyzed, cast Thread. (Targets party members that are paralyzed.)
  85.  
  86. If at least 1 party member is asleep, cast Cage. (Targets party members that are asleep.)
  87.  
  88. If at least 1 party member is blind, cast Laugh. (Targets party members that are blind.)
  89.  
  90. If HP is below 50%, 50% chance to cast Blossom. (Standard targeting.)
  91.  
  92. If no enemy has an attack buff:
  93. If HP is below 50%:
  94. 20% chance to cast Deathash. (Standard targeting.)
  95. If Deathash does not get cast, 80% chance to cast Dance. (Standard targeting.)
  96. Else, use a regular attack. (Standard targeting.)
  97.  
  98. Else:
  99. 40% chance to cast Deathash. (Standard targeting.)
  100. If Deathash does not get cast, 60% chance to cast Dance. (Standard targeting.)
  101. Else, use a regular attack. (Standard targeting.)
  102.  
  103. If at least 1 enemy has an attack buff: [NOTE: Artelind was originally planned to use a skill called Dream, which would have placed an attack buff on both her and Wilhelm. As she no longer has access to this skill in the final release, this routine is completely inaccessible.]
  104. If HP is below 50%:
  105. 80% chance to cast Dance. (Standard targeting.)
  106. 20% chance to use a regular attack. (Standard targeting.)
  107.  
  108. Else:
  109. 50% chance to cast Dance. (Standard targeting.)
  110. 50% chance to use a regular attack. (Standard targeting.)
  111.  
  112. Else, cast Deathash. (Standard targeting.)
  113.  
  114. Wilhelm
  115. =======
  116. If at least 1 party member takes at least 125% damage from Fire attacks, 32% chance to cast Fireshot. (Targets party members that take at least 125% damage from Fire attacks.)
  117.  
  118. If at least 1 party member takes at least 125% damage from Ice attacks, 65% chance to cast Iceshot. (Targets party members that take at least 125% damage from Ice attacks.)
  119.  
  120. If at least 1 party member takes at least 125% damage from Volt attacks, cast Voltshot. (Targets party members that take at least 125% damage from Volt attacks.)
  121.  
  122. If HP is less than 50%:
  123. 20% chance to cast Fireshot. (Standard targeting.)
  124. If Fireshot does not get cast, 45% chance to cast Iceshot. (Standard targeting.)
  125. If Iceshot does not get cast, 70% chance to cast Voltshot. (Standard targeting.)
  126. If Voltshot does not get cast, 95% chance to cast Joyshot. (Standard targeting.)
  127. Else, cast Sonics. (Standard targeting.)
  128.  
  129. Else:
  130. 25% chance to cast Fireshot. (Standard targeting.)
  131. If Fireshot does not get cast, 50% chance to cast Iceshot. (Standard targeting.)
  132. If Iceshot does not get cast, 75% chance to cast Voltshot. (Standard targeting.)
  133. Else, cast Joyshot. (Standard targeting.)
  134.  
  135. Scylla
  136. ======
  137. If HP is less than or equal to 50%, and flag 1 is not active, cast Embrace [1]. (Standard targeting.) Activate flag 1.
  138.  
  139. If HP is less than or equal to 25%:
  140. If at least 1 party member is leg bound, cast Embrace [2]. (Targets party members that are leg bound.)
  141. If at least 1 party member is asleep, cast Embrace [2]. (Targets party members that are asleep.)
  142. If at least 1 party member is confused, cast Embrace [2]. (Targets party members that are confused.)
  143. If at least 1 party member is blind, cast Embrace [2]. (Targets party members that are blind.)
  144. If at least 1 party member is paralyzed, cast Embrace [2]. (Targets party members that are paralyzed.)
  145.  
  146. If HP is less than or equal to 25%:
  147. 25% chance to cast Cry Soul. (Standard targeting.)
  148. If Cry Soul does not get cast, 50% chance to cast Embrace [2]. (Standard targeting.)
  149. If Embrace does not get cast, 75% chance to cast Tentacle. (Standard targeting.)
  150. Else, cast Six Sins. (Standard targeting.)
  151.  
  152. If HP is less than or equal to 50%:
  153. If at least 1 party member is asleep:
  154. 49% chance to cast Cry Soul. (Standard targeting.)
  155. 51% chance to use a regular attack. (Targets party members that are asleep.)
  156.  
  157. Else:
  158. 25% chance to cast Cry Soul. (Standard targeting.)
  159. If Cry Soul does not get cast, 50% chance to cast Lullaby. (Standard targeting.)
  160. If Lullaby does not get cast, 75% chance to cast Embrace [2]. (Standard targeting.)
  161. Else, use a regular attack. (Standard targeting.)
  162.  
  163. Else:
  164. If at least 1 party member is asleep:
  165. 24% chance to cast Cry Soul. (Standard targeting.)
  166. 76% chance to use a regular attack. (Targets party members that are asleep.)
  167.  
  168. Else:
  169. 25% chance to cast Cry Soul. (Standard targeting.)
  170. If Cry Soul does not get cast, 50% chance to cast Tentacle. (Standard targeting.)
  171. If Tentacle does not get cast, 75% chance to cast Lullaby. (Standard targeting.)
  172. Else, use a regular attack. (Standard targeting.)
  173.  
  174. Harpuia
  175. =======
  176. If self has 1 or more debuffs, 50% chance to cast Talons. (Target self.)
  177.  
  178. If the turn count is a multiple of 4, cast Shriek. (Standard targeting.)
  179.  
  180. Else:
  181. 40% chance to cast Claw. (Targets a random party member.)
  182. If Claw does not get cast, 40% chance to cast Feather. (Targets a random party member.)
  183. If Feather does not get cast, 40% chance to cast Banquet. (Targets a random party member.)
  184. Else, use a regular attack. (Targets a random party member.)
  185.  
  186. Colossus
  187. ========
  188. If self has 2 or more debuffs, or the party has 6 or more buffs, 75% chance to cast Mad Rush (Standard targeting.)
  189.  
  190. If a Fire, Ice, or Volt attack was used on the last turn, 45% chance to cast Barrier. (Standard targeting.)
  191.  
  192. If at least 1 party member is paralyzed, cast Destroy. (Standard targeting.)
  193.  
  194. If HP is below 50%:
  195. 25% chance to cast Destroy. (Standard targeting.)
  196. If Destroy does not get cast, 50% chance to cast Horns. (Standard targeting.)
  197. If Horns does not get cast, 75% chance to cast Brandish. (Standard targeting.)
  198. Else, cast Breath. (Standard targeting.)
  199.  
  200. Else:
  201. 25% chance to cast Destroy. (Standard targeting.)
  202. If Destroy does not get cast, 50% chance to cast Horns. (Standard targeting.)
  203. If Horns does not get cast, 75% chance to cast Brandish. (Standard targeting.)
  204. Else, use a regular attack. (Targets the party member with the lowest HP.)
  205.  
  206. Overlord [1]
  207. ============
  208. If HP is less than 50%:
  209. If flag 0 is not active, cast AACV. (Targets a random enemy.) Activate flag 0.
  210. If flag 1 is not active, cast LRDA. (Targets a random party member.) Activate flag 1.
  211. If flag 2 is not active, cast VOID2. (Targets a random party member.) Activate flag 2.
  212. If flag 3 is not active, cast MACV. (Targets a random enemy.) Activate flag 3.
  213. Else, cast REPAIR. (Targets a random enemy.) Deactivate flags 0, 1, 2, and 3.
  214.  
  215. Else:
  216. If flag 10 is not active, cast LRDA. (Targets a random enemy.) Activate flag 0.
  217. If flag 11 is not active, cast MACV. (Targets a random party member.) Activate flag 1.
  218. If flag 12 is not active, cast REPAIR. (Targets a random enemy.) Activate flag 2.
  219. If flag 13 is not active, cast AACV. (Targets a random enemy.) Activate flag 3.
  220. Else, cast VOID1. (Targets a random party member.) Deactivate flags 10, 11, 12, and 13.
  221.  
  222. Overlord [2]
  223. ============
  224. If the party has 11 or more buffs, 50% chance to cast Dance. (Targets a random party member.)
  225.  
  226. If self has 2 or more debuffs, 75% chance to cast Seek. (Targets self.)
  227.  
  228. If the turn count is a multiple of 5, 75% chance to cast Solitude. (Targets a random party member.)
  229.  
  230. If HP is less than 25%:
  231. 19% chance to cast Distress. (Targets a random party member.)
  232. If Distress does not get cast, 39% chance to cast Travel. (Targets a random party member.)
  233. If Travel does not get cast, 59% chance to cast Sunlight. (Targets a random party member.)
  234. If Sunlight does not get cast, 79% chance to cast Ice Rain. (Targets a random party member.)
  235. Else, cast Voltself. (Targets a random party member.)
  236.  
  237. If HP is less than 50%:
  238. 19% chance to cast Distress. (Targets a random party member.)
  239. If Distress does not get cast, 39% chance to cast Travel. (Targets a random party member.)
  240. If Travel does not get cast, 59% chance to cast Sunlight. (Targets a random party member.)
  241. If Sunlight does not get cast, 79% chance to cast Ice Rain. (Targets a random party member.)
  242. Else, cast Voltself. (Targets a random party member.)
  243.  
  244. If HP is less than 75%:
  245. 19% chance to cast Distress. (Targets a random party member.)
  246. If Distress does not get cast, 39% chance to cast Travel. (Targets a random party member.)
  247. If Travel does not get cast, 59% chance to cast Sunlight. (Targets a random party member.)
  248. If Sunlight does not get cast, 79% chance to cast Ice Rain. (Targets a random party member.)
  249. Else, cast Voltself. (Targets a random party member.)
  250.  
  251. Else:
  252. 19% chance to cast Distress. (Targets a random party member.)
  253. If Distress does not get cast, 39% chance to cast Travel. (Targets a random party member.)
  254. If Travel does not get cast, 59% chance to cast Sunlight. (Targets a random party member.)
  255. If Sunlight does not get cast, 79% chance to cast Ice Rain. (Targets a random party member.)
  256. Else, cast Voltself. (Targets a random party member.)
  257.  
  258. Salamox
  259. =======
  260. If flag 1 is not active, cast Breath. (Standard targeting.) Activate flags 0 and 1.
  261.  
  262. If flag 0 is active, deactivate flag 0, then:
  263. 60% chance to cast Tail. (Targets the front row.)
  264. 40% chance to cast Bloodcry. (Standard targeting.) Activate flag 2.
  265.  
  266. If flag 2 is active, deactivate flag 2, then:
  267. 50% chance to cast Tail. (Targets the front row.)
  268. 50% chance to cast Breath. (Standard targeting.) Activate flag 0.
  269.  
  270. If flag 3 is active, deactivate flag 3, then: [NOTE: flag 3 can't ever be active in this fight, causing this block of code to go completely unused.]
  271. 44% chance to cast Tail. (Targets the front row.)
  272. If Tail does not get cast, 49% chance to cast Tail. (Targets the back row.)
  273. Else, cast Breath. (Standard targeting.) Activate flag 0.
  274.  
  275. If HP is greater than 26%:
  276. 30% chance to cast Tail. (Targets the front row.)
  277. If Tail does not get cast, 50% chance to cast Bloodcry. (Standard targeting.)
  278. Else, cast Breath. (Standard targeting.) Activate flag 0.
  279.  
  280. 30% chance to cast Tail. (Targets the front row.)
  281.  
  282. If Tail does not get cast, 50% chance to cast Bloodcry. (Standard targeting.)
  283.  
  284. Else, cast Breath. (Standard targeting.)
  285.  
  286. Golem
  287. =====
  288. If turn count is equal to or less than 1, and flag 1 is not active, cast Rocksoul. (Targets self.) Activate flag 1.
  289.  
  290. If turn count is a multiple of 5, cast Reflect. (Targets a random enemy.)
  291.  
  292. If HP is below 35%:
  293. If no enemy has a regeneration buff, cast Regen. (Targets self.)
  294. If Regen does not get cast, cast Hammer. (Targets the back row.)
  295. Else, cast Hammers. (Targets a random party member.)
  296.  
  297. If HP is below 80%:
  298. If no enemy has an elemental defense buff, and no enemy has a defense buff:
  299. 69% chance to cast Ward. (Targets self.)
  300. 31% chance to cast Block. (Targets self.)
  301.  
  302. If at least 1 enemy has an elemental defense buff, and no enemy has a defense buff:
  303. 49% chance to cast Hammers. (Targets the back row.)
  304. 51% chance to cast Block. (Targets self.)
  305.  
  306. If no enemy has an elemental defense buff, and at least 1 enemy has a defense buff:
  307. 79% chance to cast Ward. (Targets self.)
  308. 21% chance to cast Hammers. (Targets a random party member.)
  309.  
  310. If at least 1 enemy has an elemental defense buff, and at least 1 enemy has a defense buff:
  311. 49% chance to cast Hammer. (Targets the back row.)
  312. 51% chance to cast Hammers. (Targets a random party member.)
  313.  
  314. If no enemy has an attack buff:
  315. 39% chance to cast Hammer. (Targets the back row.)
  316. 61% chance to cast Rocksoul. (Targets self.)
  317.  
  318. If at least 1 enemy has an attack buff:
  319. 49% chance to cast Hammer. (Targets the back row.)
  320. 51% chance to use a regular attack. (Targets the back row.)
  321.  
  322. Wyvern
  323. ======
  324. If turn count is equal to or less than 1, and flag 1 is not active, cast Tornado. (Targets a random party member.) Activate flag 1.
  325.  
  326. If HP is below 25%:
  327. If self does not have a head bind:
  328. 9% chance to cast Talon. (Targets a random party member.)
  329. If Talon does not get cast, 19% chance to cast Tailwhip. (Targets a random party member.)
  330. If Tailwhip does not get cast, 29% chance to cast Tornado. (Targets a random party member.)
  331. Else, cast Sky Ray. (Targets a random party member.)
  332.  
  333. If self has a head bind:
  334. 29% chance to cast Talon. (Targets a random party member.)
  335. If Talon does not get cast, 69% chance to cast Tailwhip. (Targets a random party member.)
  336. If Tailwhip does not get cast, 79% chance to cast Tornado. (Targets a random party member.)
  337. Else, cast Sky Ray. (Targets a random party member.)
  338.  
  339. If HP is below 50%:
  340. 9% chance to cast Talon. (Targets a random party member.)
  341. If Talon does not get cast, 19% chance to cast Tailwhip. (Targets a random party member.)
  342. If Tailwhip does not get cast, 29% chance to cast Tornado. (Targets a random party member.)
  343. If Tornado does not get cast, cast Sky Ray. (Targets a random party member.)
  344. Else, use a regular attack. (Targets a random party member.)
  345.  
  346. If no party member has their legs bound:
  347. 49% chance to cast Tornado. (Targets a random party member.)
  348. If Tornado does not get cast, 69% chance to cast Tailwhip. (Targets a random party member.)
  349. Else, cast Talon. (Targets a random party member.)
  350.  
  351. If at least 1 party member has their legs bound:
  352. 49% chance to cast Talon. (Targets a random party member.)
  353. If Talon does not get cast, 59% chance to cast Tailwhip. (Targets a random party member.)
  354. Else, use a regular attack. (Targets a random party member.)
  355.  
  356. Briareus
  357. ========
  358. If flag 1 is not active, cast Wail (Standard targeting.) Activate flags 0 and 1.
  359.  
  360. If turn count is equal to or less than 1, and flag 1 is not active, cast Wail. (Targets self.) Activate flag 1.
  361.  
  362. If flag 0 is active, deactivate flag 0, then:
  363. 59% chance to cast Grind. (Standard targeting.)
  364. If Grind does not get cast, 89% chance to cast Spike. (Standard targeting.)
  365. If Spike does not get cast, 94% chance to cast Meteor. (Standard targeting.)
  366. Else, cast 100 Hits. (Standard targeting.)
  367.  
  368. If HP is below 35%:
  369. If self does not have an arm bind:
  370. 59% chance to cast Spike. (Standard targeting.)
  371. If Spike does not get cast, 79% chance to cast 100 Hits. (Standard targeting.)
  372. Else, use a regular attack. (Standard targeting.)
  373.  
  374. If self has an arm bind, and no enemies have an attack buff:
  375. 79% chance to cast 100 Hits. (Standard targeting.)
  376. 21% chance to cast Wail. (Targets self.)
  377.  
  378. If self has an arm bind, and at least 1 enemy has an attack buff, cast 100 Hits. (Standard targeting.)
  379.  
  380. If HP is below 70%:
  381. If self does not have an arm bind:
  382. 39% chance to cast Grind. (Standard targeting.)
  383. If Grind does not get cast, 79% chance to cast Meteor. (Standard targeting.)
  384. If Meteor does not get cast, Spike. (Standard targeting.)
  385. Else, use a regular attack. (Standard targeting.)
  386.  
  387. If self has an arm bind, and no enemies have an attack buff:
  388. 79% chance to cast 100 Hits. (Standard targeting.)
  389. If 100 Hits does not get cast, 89% chance to cast Grind. (Standard targeting.)
  390. Else, cast Wail. (Targets self.)
  391.  
  392. If self has an arm bind, and at least 1 enemy has an attack buff:
  393. 19% chance to cast Grind. (Standard targeting.)
  394. 81% chance to cast 100 Hits. (Standard targeting.)
  395.  
  396. If self does not have an arm bind, and no enemies have an attack buff:
  397. 19% chance to cast Grind. (Standard targeting.)
  398. If Grind does not get cast, 39% chance to cast Meteor. (Standard targeting.)
  399. Else, cast Wail. (Targets self.)
  400.  
  401. If self does not have an arm bind, and at least 1 enemy has an attack buff:
  402. 19% chance to cast Grind. (Standard targeting.)
  403. If Grind does not get cast, 39% chance to cast Meteor. (Standard targeting.)
  404. Else, use a regular attack. (Standard targeting.)
  405.  
  406. If self has an arm bind, and no enemies have an attack buff:
  407. 69% chance to cast 100 Hits. (Standard targeting.)
  408. If 100 Hits does not get cast, 89% chance to cast Grind. (Standard targeting.)
  409. Else, cast Wail. (Targets self.)
  410.  
  411. If self has an arm bind, and at least 1 enemy has an attack buff:
  412. 19% chance to cast Grind. (Standard targeting.)
  413. 81% chance to cast 100 Hits. (Standard targeting.)
  414.  
  415. Wyrm
  416. ====
  417. If turn count is less than or equal to 1, and flag 1 is not active, cast Searing. (Targets a random party member.) Activate flag 1.
  418.  
  419. If the turn count is a multiple of 5, cast Searing. (Targets a random party member.)
  420.  
  421. If HP is below 45%:
  422. If self does not have a head bind:
  423. 39% chance to cast Assault. (Targets a random party member.)
  424. If Assault does not get cast, 59% chance to cast Strike. (Targets self.)
  425. Else, cast Beat. (Targets a random party member.)
  426.  
  427. If self has a head bind:
  428. 39% chance to cast Quake. (Targets a random party member.)
  429. 61% chance to cast Assault. (Targets a random party member.)
  430.  
  431. If HP is below 70%:
  432. If no enemy has an attack buff:
  433. 49% chance to cast Strike. (Targets self.)
  434. 51% chance to cast Beat. (Targets a random party member.)
  435.  
  436. If at least 1 enemy has an attack buff:
  437. 39% chance to cast Beat. (Targets a random party member.)
  438. 61% chance to cast Quake. (Targets a random party member.)
  439.  
  440. If self does not have a head bind:
  441. 79% chance to cast Howling. (Targets a random party member.)
  442. 21% chance to use a regular attack. (Targets a random party member.)
  443.  
  444. If self has a head bind:
  445. 49% chance to cast Beat. (Targets a random party member.)
  446. If Beat does not get cast, 69% chance to cast Quake. (Targets a random party member.)
  447. Else, use a regular attack. (Targets a random party member.)
  448.  
  449. Drake
  450. =====
  451. If turn count is a multiple of 5, 80% chance to cast Frigid. (Targets a random party member.)
  452.  
  453. If the turn count is less than or equal to 1, and flag 1 is not active, cast Iceblock. (Targets self.) Activate flag 1.
  454.  
  455. If HP is below 35%:
  456. If at least 1 enemy does not have a regeneration buff:
  457. 40% chance to cast Regen. (Targets self.)
  458. If Regen does not get cast, 60% chance to cast 0 Point. (Targets a random party member.)
  459. Else, cast Shower. (Targets a random party member.)
  460.  
  461. If self does not have a head bind:
  462. 49% chance to cast 0 Point. (Targets a random party member.)
  463. 51% chance to cast Shower. (Targets a random party member.)
  464.  
  465. If self has a head bind, cast Shower. (Targets a random party member.)
  466.  
  467. If a party member cast Tornado last turn, cast 0 Point. (Targets a random party member.) [Inaccessible routine due to where it's placed.]
  468.  
  469. If HP is below 70%:
  470. If self does not have a head bind:
  471. 49% chance to cast Shower. (Targets a random party member.)
  472. If Shower does not get cast, 69% chance to cast 0 Point. (Targets a random party member.)
  473. Else, use a regular attack. (Targets a random party member.)
  474.  
  475. If self has a head bind, cast Shower. (Targets a random party member.)
  476.  
  477. If no enemy has an elemental defense buff:
  478. 25% chance to cast Iceblock. (Targets self.)
  479. If Iceblock does not get cast, 50% chance to cast 0 Point. (Targets a random party member.)
  480. Else, cast Shower. (Targets a random party member.)
  481.  
  482. If at least 1 enemy has an elemental defense buff, cast Shower. (Targets a random party member.)
  483.  
  484. Dragon
  485. ======
  486. If turn count is less than or equal to 1, and flag 1 is not active, cast Voltage. (Targets a random party member.) Activate flag 1.
  487.  
  488. If the turn count is a multiple of 7, 94% chance to cast Voltage. (Targets a random party member.) [BUG: Inaccessible routine due to an error in the code.]
  489.  
  490. If the party has 11 or more buffs:
  491. 69% chance to cast Corrupt. (Targets a random party member.)
  492. 31% chance to cast Fangs. (Targets a random party member.)
  493.  
  494. If any party member has an attack buff: [BUG: Was supposed to check self for the attack buff.]
  495. 30% chance to cast Curse. (Targets a random party member.)
  496. If Curse does not get cast, 60% chance to cast Blow. (Targets a random party member.)
  497. Else, use a regular attack. (Targets a random party member.)
  498.  
  499. 3% chance to cast Voltage. (Targets a random party member.)
  500.  
  501. If HP is below 50%:
  502. 45% chance to cast Curse. (Targets the back row.)
  503. If Curse does not get cast, 65% chance to cast Blow. (Targets a random party member.)
  504. If Blow does not get cast, 85% chance to cast Fury. (Targets a random enemy.)
  505. Else, cast Fangs. (Standard targeting.)
  506.  
  507. Else:
  508. 45% chance to cast Curse. (Targets a random party member.)
  509. If Curse does not get cast, 65% chance to cast Blow. (Targets a random party member.)
  510. If Blow does not get cast, 85% chance to use a regular attack. (Targets a random enemy.)
  511. Else, cast Fury. (Targets self.)
  512.  
  513. Ur-Child
  514. ========
  515. If self has 2 or more debuffs, and the party has 12 or more buffs, 60% chance to cast Light. (Targets a random enemy.)
  516.  
  517. If self has 3 debuffs, or a party member cast Dampen last turn, 80% chance to cast Release. (Targets self.)
  518.  
  519. If a party member cast Bait or Magibait last turn, 5% chance to cast Wildance. (Targets self.)
  520.  
  521. 3% chance to cast Heatskin. (Targets self.)
  522.  
  523. If it is dawn, day, or dusk:
  524. If flag 1 is not active, cast Sacrifice. (Targets a random party member.) Activate flag 1.
  525. If flag 2 is not active:
  526. If flag 20 is not active, cast Hymn [1]. (Targets a random party member.) Activate flag 20.
  527. If flag 21 is not active, cast Hymn [2]. (Targets a random party member.) Activate flag 21.
  528. Else, cast Dirge. (Targets a random party member.) Deactivate flags 20 and 21.
  529.  
  530. If flag 3 is not active, activate flag 3, then:
  531. If the party has 12 or more buffs, cast Hatred. (Targets a random party member.)
  532. Else, cast Boast. (Targets a random party member.)
  533.  
  534. If flag 4 is not active, cast Obey. (Targets a random party member.) Activate flag 4.
  535. If flag 5 is not active, cast Boast. (Targets a random party member.) Activate flag 5.
  536. If flag 6 is not active, cast Rest. (Targets a random enemy.) Activate flag 6.
  537. If flag 7 is not active, cast Solitude. (Targets a random party member.) Activate flag 7.
  538. If flag 8 is not active, cast Anger. (Targets a random party member.) Activate flag 8.
  539. If flag 9 is not active, cast Sadness. (Targets a random party member.) Activate flag 9.
  540. If flag 10 is not active, cast Mercy. (Targets a random party member.) Activate flag 10.
  541. If flag 11 is not active, cast Wildance. (Targets a random party member.) Activate flag 11.
  542. If flag 12 is not active, cast Rest. (Targets self.) Activate flag 12.
  543. Else, deactivate flags 0 through 12, then:
  544. If a party member cast Bait, Provoke, Preen, or Doze Off last turn, cast End Wind. (Targets a random party member.)
  545. Else, cast Begone. (Targets party members that are asleep.)
  546.  
  547. If it is night:
  548. 10% chance to cast Heatskin. (Targets a random party member.)
  549. If Heatskin does not get cast, 20% chance to cast Solitude. (Targets a random party member.)
  550. If Solitude does not get cast, 30% chance to cast Begone. (Targets a random party member.)
  551. If Begone does not get cast, 40% chance to cast Wildance. (Targets a random party member.)
  552. If Wildance does not get cast, 50% chance to cast Hymn [1]. (Targets a random party member.)
  553. If Hymn [1] does not get cast, 60% chance to cast Hymn [2]. (Targets a random party member.)
  554. If Hymn [2] does not get cast, 70% chance to cast Dirge. (Targets a random party member.)
  555. If Dirge does not get cast, 80% chance to cast Obey. (Targets a random party member.)
  556. Else, cast Boast. (Targets a random party member.)
  557.  
  558. Else, use a regular attack. (Targets a random party member.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement