Advertisement
DrFetus

EO2 FOE AI

Dec 31st, 2019
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.68 KB | None | 0 0
  1. Note: All FOEs have a failsafe behavior in which they are forced to use a random attack with standard targeting 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.
  4.  
  5. Due to the FOE system being a glitch ridden mess, blindside routines will not trigger if FOEs run into your back. Instead, they only trigger if you ran into them without triggering a guaranteed blindside, and the game decided to make the battle a blindside through RNG.
  6.  
  7. Furyhorn
  8. ========
  9. If the party is not blindsided and flag 1 is not active, cast Step. (Targets Landsknechts, Protectors, Dark Hunters, Ronin, or Beasts.) Activate flag 1.
  10.  
  11. If HP is below 75%:
  12. 75% chance to cast Step. (Targets party members that aren't confused.)
  13. 25% chance to use a regular attack. (Targets party members that aren't confused.)
  14.  
  15. Else:
  16. 50% chance to cast Step. (Targets party members that aren't confused.)
  17. 50% chance to use a regular attack. (Targets party members that aren't confused.)
  18.  
  19. Furylord
  20. ========
  21. If the party is not blindsided and flag 1 is not active, cast Step. (Targets Landsknechts, Protectors, Dark Hunters, Ronin, or Beasts.) Activate flag 1.
  22.  
  23. If HP is below 75%:
  24. 75% chance to cast Step. (Targets party members that aren't confused.)
  25. 25% chance to use a regular attack. (Targets party members that aren't confused.)
  26.  
  27. Else:
  28. 50% chance to cast Step. (Targets party members that aren't confused.)
  29. 50% chance to use a regular attack. (Targets party members that aren't confused.)
  30.  
  31. Raptor
  32. ======
  33. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  34. 90% chance to cast Fangs. (Targets the front row.)
  35. 10% chance to cast Fangs. (Targets the back row.)
  36.  
  37. If HP is below 50%:
  38. 79% chance to cast Fangs. (Targets the front row.)
  39. 21% chance to cast Fangs. (Targets the back row.)
  40.  
  41. Else:
  42. 69% chance to cast Fangs. (Targets the front row.)
  43. 31% chance to cast Fangs. (Targets the back row.)
  44.  
  45. Trigourd
  46. ========
  47. If the party is blindsided, and flag 1 is not active, cast Pain. (Standard targeting.) Activate flag 1.
  48.  
  49. If flag 0 is active, deactivate flag 0, then: [NOTE: Flag 0 can't ever be active in this fight, causing this block of code to go completely unused.]
  50. 69% chance to cast Pain. (Standard targeting.)
  51. 31% chance to use a regular attack. (Standard targeting.)
  52.  
  53. If HP is below 30%:
  54. 59% chance to cast Pain. (Standard targeting.)
  55. 41% chance to use a regular attack. (Standard targeting.)
  56.  
  57. If HP is below 60%:
  58. 39% chance to cast Pain. (Standard targeting.)
  59. If Pain does not get cast, 59% chance to cast Whisper. (Standard targeting.)
  60. Else, use a regular attack. (Standard targeting.)
  61.  
  62. Else:
  63. 29% chance to cast Pain. (Standard targeting.)
  64. If Pain does not get cast, 69% chance to cast Whisper. (Standard targeting.)
  65. Else, use a regular attack. (Standard targeting.)
  66.  
  67. Redwood
  68. =======
  69. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  70. 79% chance to cast Poison. (Standard targeting.)
  71. 21% chance to use a regular attack. (Standard targeting.)
  72.  
  73. If HP is below 30%:
  74. 79% chance to cast Poison. (Standard targeting.)
  75. 21% chance to use a regular attack. (Standard targeting.)
  76.  
  77. If HP is below 60%:
  78. 59% chance to cast Poison. (Standard targeting.)
  79. 41% chance to use a regular attack. (Standard targeting.)
  80.  
  81. Else:
  82. 39% chance to cast Poison. (Standard targeting.)
  83. 61% chance to use a regular attack. (Standard targeting.)
  84.  
  85. Razeking
  86. ========
  87. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  88. 39% chance to cast Crusher. (Standard targeting.)
  89. If Crusher does not get cast, 79% chance to Axe Roar. (Standard targeting.)
  90. Else, use a regular attack. (Standard targeting.)
  91.  
  92. If HP is below 30%:
  93. 49% chance to cast Crusher. (Standard targeting.)
  94. If Crusher does not get cast, 89% chance to Axe Roar. (Standard targeting.)
  95. Else, use a regular attack. (Standard targeting.)
  96.  
  97. If HP is below 60%:
  98. 39% chance to cast Crusher. (Standard targeting.)
  99. If Crusher does not get cast, 69% chance to Axe Roar. (Standard targeting.)
  100. Else, use a regular attack. (Standard targeting.)
  101.  
  102. Else:
  103. 19% chance to cast Crusher. (Standard targeting.)
  104. If Crusher does not get cast, 39% chance to Axe Roar. (Standard targeting.)
  105. Else, use a regular attack. (Standard targeting.)
  106.  
  107. Darksoar
  108. ========
  109. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  110. 79% chance to cast Dust. (Standard targeting.)
  111. 21% chance to use a regular attack. (Standard targeting.)
  112.  
  113. If HP is below 30%:
  114. 79% chance to cast Dust. (Standard targeting.)
  115. 21% chance to use a regular attack. (Standard targeting.)
  116.  
  117. If HP is below 60%:
  118. 59% chance to cast Dust. (Standard targeting.)
  119. 41% chance to use a regular attack. (Standard targeting.)
  120.  
  121. Else:
  122. 39% chance to cast Dust. (Standard targeting.)
  123. 61% chance to use a regular attack. (Standard targeting.)
  124.  
  125. Killclaw
  126. ========
  127. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  128. 79% chance to cast Claws. (Standard targeting.)
  129. 21% chance to use a regular attack. (Standard targeting.)
  130.  
  131. If HP is below 30%:
  132. 79% chance to cast Claws. (Standard targeting.)
  133. 21% chance to use a regular attack. (Standard targeting.)
  134.  
  135. If HP is below 60%:
  136. 59% chance to cast Claws. (Standard targeting.)
  137. 41% chance to use a regular attack. (Standard targeting.)
  138.  
  139. Else:
  140. 39% chance to cast Claws. (Standard targeting.)
  141. 61% chance to use a regular attack. (Standard targeting.)
  142.  
  143. Armoth
  144. ======
  145. If flag 2 is not active, cast Charge. (Targets self.) Activate flags 0 and 2.
  146.  
  147. If the party is blindsided, and flag 2 is not active, cast Charge. (Targets self.) Activate flag 2.
  148.  
  149. If flag 0 is active, deactivate flag 0, then:
  150. 80% chance to cast Bullrush. (Standard targeting.)
  151. 20% chance to use a regular attack. (Standard targeting.)
  152.  
  153. If HP is below 25%:
  154. If no enemy has an attack buff:
  155. 4% chance to cast Charge. (Targets self.) Activate flag 0.
  156. If Charge does not get cast, 54% chance to cast Bullrush. (Standard targeting.)
  157. Else, use a regular attack. (Standard targeting.)
  158.  
  159. If at least 1 enemy has an attack buff:
  160. 49% chance to cast Bullrush. (Standard targeting.)
  161. 51% chance to use a regular attack. (Standard targeting.)
  162.  
  163. If HP is below 50%:
  164. If no enemy has an attack buff:
  165. 29% chance to cast Charge. (Targets self.) Activate flag 0.
  166. If Charge does not get cast, 59% chance to cast Bullrush. (Standard targeting.)
  167. Else, use a regular attack. (Standard targeting.)
  168.  
  169. If at least 1 enemy has an attack buff:
  170. 49% chance to cast Bullrush. (Standard targeting.)
  171. 51% chance to use a regular attack. (Standard targeting.)
  172.  
  173. If no enemy has an attack buff:
  174. 9% chance to cast Bullrush. (Standard targeting.)
  175. If Bullrush does not get cast, 89% chance to cast Charge. (Targets self.) Activate flag 0.
  176. Else, use a regular attack. (Standard targeting.)
  177.  
  178. If at least 1 enemy has an attack buff:
  179. 39% chance to cast Bullrush. (Standard targeting.)
  180. 61% chance to use a regular attack. (Standard targeting.)
  181.  
  182. Shelltor
  183. ========
  184. If the party is blindsided, and flag 1 is not active, cast Defend. (Targets self.) Activate flag 1.
  185.  
  186. If HP is below 30%:
  187. 69% chance to cast Jaws. (Standard targeting.)
  188. 31% chance to use a regular attack. (Standard targeting.)
  189.  
  190. If HP is below 60%:
  191. If no enemy has a defense buff:
  192. 29% chance to cast Defend. (Targets self.)
  193. If Defend does not get cast, 69% chance to cast Jaws. (Standard targeting.)
  194. Else, use a regular attack. (Standard targeting.)
  195.  
  196. If at least 1 enemy has a defense buff:
  197. 59% chance to cast Jaws. (Standard targeting.)
  198. 41% chance to use a regular attack. (Standard targeting.)
  199.  
  200. If no enemy has a defense buff:
  201. 49% chance to cast Defend. (Targets self.)
  202. If Defend does not get cast, 69% chance to cast Jaws. (Standard targeting.)
  203. Else, use a regular attack. (Standard targeting.)
  204.  
  205. If at least 1 enemy has a defense buff:
  206. 39% chance to cast Jaws. (Standard targeting.)
  207. 61% chance to use a regular attack. (Standard targeting.)
  208.  
  209. Flygourd
  210. ========
  211. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  212. 19% chance to cast Pain. (Standard targeting.)
  213. If Pain does not get cast, 79% chance to cast Dance. (Standard targeting.)
  214. Else, use a regular attack. (Standard targeting.)
  215.  
  216. If HP is below 60%:
  217. If no party member has a head bind:
  218. 9% chance to cast Dance. (Standard targeting.)
  219. If Dance does not get cast, 59% chance to cast Pain. (Standard targeting.)
  220. Else, use a regular attack. (Standard targeting.)
  221.  
  222. If at least 1 party member has a head bind:
  223. 49% chance to cast Pain. (Standard targeting.)
  224. 51% chance to use a regular attack. (Standard targeting.)
  225.  
  226. If no party member has a head bind:
  227. 59% chance to cast Dance. (Standard targeting.)
  228. If Dance does not get cast, 79% chance to cast Pain. (Standard targeting.)
  229. Else, use a regular attack. (Standard targeting.)
  230.  
  231. If at least 1 party member has a head bind:
  232. 39% chance to cast Pain. (Standard targeting.)
  233. 61% chance to use a regular attack. (Standard targeting.)
  234.  
  235. Cocatris
  236. ========
  237. If the party is blindsided, and flag 1 is not active, cast Petrify. (Standard targeting.) Activate flag 1.
  238.  
  239. If HP is below 99%, cast Petrify. (Targets party members that aren't petrified.)
  240.  
  241. Else, use a regular attack. (Standard targeting.)
  242.  
  243. Deathman
  244. ========
  245. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  246. 59% chance to cast Edge. (Standard targeting.)
  247. 41% chance to use a regular attack. (Standard targeting.)
  248.  
  249. If HP is below 35%:
  250. 44% chance to cast Edge. (Standard targeting.)
  251. 56% chance to use a regular attack. (Standard targeting.)
  252.  
  253. If HP is below 70%:
  254. 29% chance to cast Edge. (Standard targeting.)
  255. 71% chance to use a regular attack. (Standard targeting.)
  256.  
  257. Else:
  258. 19% chance to cast Edge. (Standard targeting.)
  259. 81% chance to use a regular attack. (Standard targeting.)
  260.  
  261. Guardian
  262. ========
  263. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  264. 34% chance to cast Head EM. (Standard targeting.)
  265. If Head EM does not get cast, 69% chance to cast Arms EM. (Standard targeting.)
  266. Else, cast Legs EM. (Standard targeting.)
  267.  
  268. If HP is below 50%:
  269. If no party member has a head bind, arm bind, or a leg bind:
  270. 34% chance to cast Head EM. (Standard targeting.)
  271. If Head EM does not get cast, 19% chance to cast Arms EM. (Standard targeting.)
  272. If Arms EM does not get cast, 29% chance to cast Legs EM. (Standard targeting.)
  273. Else, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
  274.  
  275. If at least 1 party member has a head bind, arm bind, or a leg bind, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
  276.  
  277. If no party member has a head bind, arm bind, or a leg bind:
  278. 29% chance to cast Head EM. (Standard targeting.)
  279. If Head EM does not get cast, 59% chance to cast Arms EM. (Standard targeting.)
  280. If Arms EM does not get cast, 89% chance to cast Legs EM. (Standard targeting.)
  281. Else, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
  282.  
  283. If at least 1 party member is not fully bound, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
  284.  
  285. Stir Eye
  286. ========
  287. If not every party member is not cursed, cast Glare. (Standard targeting.)
  288.  
  289. Else, use a regular attack. (Standard targeting.)
  290.  
  291. Dinolich
  292. ========
  293. If flag 0 is active, cast Predator. (Targets the back row.)
  294.  
  295. If the party is blindsided, and flag 2 is not active, cast Charge. (Targets self.) Activate flag 2.
  296.  
  297. If HP is less than 99%:
  298. 55% chance to cast Charge. (Targets self.) Activate flag 0.
  299. 45% chance to use a regular attack. (Targets the back row.)
  300.  
  301. Else, cast Charge. (Targets self.) Activate flag 0.
  302.  
  303. Asterios
  304. ========
  305. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  306. 79% chance to cast Smash. (Standard targeting.)
  307. 21% chance to use a regular attack. (Standard targeting.)
  308.  
  309. If HP is below 30%:
  310. 79% chance to cast Smash. (Standard targeting.)
  311. 21% chance to use a regular attack. (Standard targeting.)
  312.  
  313. If HP is below 60%:
  314. 59% chance to cast Smash. (Standard targeting.)
  315. 41% chance to use a regular attack. (Standard targeting.)
  316.  
  317. Else:
  318. 39% chance to cast Smash. (Standard targeting.)
  319. 61% chance to use a regular attack. (Standard targeting.)
  320.  
  321. Riptor
  322. ======
  323. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  324. 79% chance to cast Fangs. (Standard targeting.)
  325. 21% chance to use a regular attack. (Standard targeting.)
  326.  
  327. If HP is below 30%:
  328. 79% chance to cast Fangs. (Standard targeting.)
  329. 21% chance to use a regular attack. (Standard targeting.)
  330.  
  331. If HP is below 60%:
  332. 59% chance to cast Fangs. (Standard targeting.)
  333. 41% chance to use a regular attack. (Standard targeting.)
  334.  
  335. Else:
  336. 39% chance to cast Fangs. (Standard targeting.)
  337. 61% chance to use a regular attack. (Standard targeting.)
  338.  
  339. Hexgourd
  340. ========
  341. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  342. 79% chance to cast Hellfire. (Standard targeting.)
  343. 21% chance to use a regular attack. (Standard targeting.)
  344.  
  345. If HP is below 30%:
  346. 79% chance to cast Hellfire. (Standard targeting.)
  347. 21% chance to use a regular attack. (Standard targeting.)
  348.  
  349. If HP is below 60%:
  350. 59% chance to cast Hellfire. (Standard targeting.)
  351. 41% chance to use a regular attack. (Standard targeting.)
  352.  
  353. Else:
  354. 39% chance to cast Hellfire. (Standard targeting.)
  355. 61% chance to use a regular attack. (Standard targeting.)
  356.  
  357. Raidmole
  358. ========
  359. If HP is below 50%:
  360. 50% chance to cast Claws. (Standard targeting.)
  361. 50% chance to use a regular attack. (Standard targeting.)
  362.  
  363. Else:
  364. 10% chance to cast Claws. (50% chance to use standard targeting. Else, targets the party member with the highest HP.)
  365. 90% chance to use a regular attack. (50% chance to use standard targeting. Else, targets the party member with the highest HP.)
  366.  
  367. Sonicker
  368. ========
  369. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  370. 59% chance to cast Claws. (Standard targeting.)
  371. 41% chance to cast Fangs. (Standard targeting.)
  372.  
  373. If HP is below 30%:
  374. 19% chance to cast Fangs. (Standard targeting.)
  375. If Fangs does not get cast, 61% chance to cast Claws. (Standard targeting.)
  376. Else, use a regular attack. (Standard targeting.)
  377.  
  378. If HP is below 60%:
  379. 49% chance to cast Fangs. (Standard targeting.)
  380. If Fangs does not get cast, 59% chance to cast Claws. (Standard targeting.)
  381. Else, use a regular attack. (Standard targeting.)
  382.  
  383. Else:
  384. 29% chance to cast Fangs. (Standard targeting.)
  385. If Fangs does not get cast, 39% chance to cast Claws. (Standard targeting.)
  386. Else, use a regular attack. (Standard targeting.)
  387.  
  388. Kilohorn
  389. ========
  390. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  391. 69% chance to cast Neigh. (Standard targeting.)
  392. If Neigh does not get cast, 89% chance to cast Deathorn. (Standard targeting.)
  393. Else, use a regular attack. (Standard targeting.)
  394.  
  395. If HP is below 30%:
  396. 9% chance to cast Neigh. (Targets party members that aren't afraid.)
  397. If Neigh does not get cast, 79% chance to cast Deathorn. (Standard targeting.)
  398. Else, use a regular attack. (Standard targeting.)
  399.  
  400. If HP is below 60%:
  401. 29% chance to cast Neigh. (Targets party members that aren't afraid.)
  402. If Neigh does not get cast, 59% chance to cast Deathorn. (Standard targeting.)
  403. Else, use a regular attack. (Standard targeting.)
  404.  
  405. Else:
  406. 39% chance to cast Neigh. (Targets party members that aren't afraid.)
  407. If Neigh does not get cast, 59% chance to cast Deathorn. (Standard targeting.)
  408. Else, use a regular attack. (Standard targeting.)
  409.  
  410. Icefiend
  411. ========
  412. If turn count is greater than 20, summon 1 Voltking.
  413.  
  414. If the battle can load 2 more Snowsoul sprites:
  415. 10% chance to summon 2 Snowsouls.
  416. If the Snowsouls were not summoned, 55% chance to cast Icebreath. (Standard targeting.)
  417. Else, use a regular attack. (Standard targeting.)
  418.  
  419. If battle can load 1 more Snowsoul sprite:
  420. 15% chance to summon 1 Snowsoul.
  421. If the Snowsoul was not summoned, 70% chance to cast Icebreath. (Standard targeting.)
  422. Else, use a regular attack. (Standard targeting.)
  423.  
  424. Else, cast Icebreath. (Standard targeting.)
  425.  
  426. Pollener
  427. ========
  428. If the party is blindsided, and flag 1 is not active, cast Sleeper. (Standard targeting.) Activate flag 1.
  429.  
  430. If every player is asleep, cast Petals. (Standard targeting.)
  431.  
  432. Else:
  433. 80% chance to cast Sleeper. (Standard targeting.)
  434. 20% chance to use a regular attack. (Standard targeting.)
  435.  
  436. Stalker
  437. =======
  438. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  439. 89% chance to cast Amputate. (Targets the front row.)
  440. 11% chance to cast Amputate. (Targets the back row.)
  441.  
  442. If it has been at least 2 turns since turn 25:
  443. 79% chance to cast Scythe. (Targets the front row.)
  444. 21% chance to cast Scythe. (Targets the back row.)
  445.  
  446. If flag 0 is active, deactive flag 0, then:
  447. 34% chance to cast Amputate. (Targets the front row.)
  448. If Amputate does not get cast, 69% chance to cast Amputate. (Targets the back row.)
  449. If Amputate does not get cast, 89% chance to cast Scythe. (Targets the front row.)
  450. Else, cast Scythe. (Targets the back row.)
  451.  
  452. If HP is below 25%:
  453. 19% chance to cast Amputate. (Targets the front row.)
  454. If Amputate does not get cast, 29% chance to cast Amputate. (Targets the back row.)
  455. If Amputate does not get cast, 64% chance to cast Scythe. (Targets the front row.) Activate flag 0.
  456. Else, cast Scythe. (Targets the back row.) Activate flag 0.
  457.  
  458. Else:
  459. 89% chance to cast Amputate. (Targets the front row.)
  460. 11% chance to cast Amputate. (Targets the back row.)
  461.  
  462. Fireking
  463. ========
  464. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  465. 89% chance to cast Roar. (Standard targeting.)
  466. 11% chance to cast Fury. (Standard targeting.)
  467.  
  468. If flag 0 is active, deactive flag 0, then: [NOTE: Flag 0 can't ever be active in this fight, causing this block of code to go completely unused.]
  469. 34% chance to cast Fury. (Targets the fornt row.)
  470. If Fury does not get cast, then 69% chance to cast Fury. (Targets the back row.)
  471. Else, use a regular attack. (Targets the front row.)
  472.  
  473. If HP is below 30%:
  474. 34% chance to cast Fury. (Standard targeting.)
  475. If Fury does not get cast, then 69% chance to cast Roar. (Standard targeting.)
  476. Else, use a regular attack. (Standard targeting.)
  477.  
  478. If HP is below 60%:
  479. 39% chance to cast Fury. (Standard targeting.)
  480. If Fury does not get cast, then 59% chance to cast Roar. (Standard targeting.)
  481. Else, use a regular attack. (Standard targeting.)
  482.  
  483. Else:
  484. 29% chance to cast Fury. (Standard targeting.)
  485. If Fury does not get cast, then 69% chance to cast Roar. (Standard targeting.)
  486. Else, use a regular attack. (Standard targeting.)
  487.  
  488. Helldra
  489. =======
  490. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  491. 79% chance to cast Fang. (Standard targeting.)
  492. 21% chance to use a regular attack. (Standard targeting.)
  493.  
  494. If HP is below 30%:
  495. 79% chance to cast Fang. (Standard targeting.)
  496. 21% chance to use a regular attack. (Standard targeting.)
  497.  
  498. If HP is below 60%:
  499. 29% chance to cast Fang. (Standard targeting.)
  500. 71% chance to use a regular attack. (Standard targeting.)
  501.  
  502. Else:
  503. 9% chance to cast Fang. (Standard targeting.)
  504. 91% chance to use a regular attack. (Standard targeting.)
  505.  
  506. Voltking
  507. ========
  508. If the party is blindsided, and flag 1 is not active, activate flag 1, then:
  509. 89% chance to cast Roar. (Standard targeting.)
  510. 11% chance to cast Fury. (Standard targeting.)
  511.  
  512. If HP is below 30%:
  513. 59% chance to cast Fury. (Standard targeting.)
  514. 41% chance to use a regular attack. (Standard targeting.)
  515.  
  516. If HP is below 60%:
  517. If no party member is afraid:
  518. 34% chance to cast Fury. (Standard targeting.)
  519. If Fury does not get cast, then 54% chance to cast Roar. (Standard targeting.)
  520. Else, use a regular attack. (Targets party members that are afraid.)
  521.  
  522. If at least 1 party member is afraid:
  523. 59% chance to cast Fury. (Standard targeting.)
  524. 41% chance to use a regular attack. (Standard targeting.)
  525.  
  526. If no party member is afraid:
  527. 29% chance to cast Fury. (Standard targeting.)
  528. If Fury does not get cast, then 69% chance to cast Roar. (Standard targeting.)
  529. Else, use a regular attack. (Targets party members that are afraid.)
  530.  
  531. If at least 1 party member is afraid:
  532. 29% chance to cast Fury. (Standard targeting.)
  533. 71% chance to use a regular attack. (Standard targeting.)
  534.  
  535. Beamedge
  536. ========
  537. If the party is blindsided, and flag 1 is not active, cast Sever. (Standard targeting.) Activate flag 1.
  538.  
  539. If HP is below 50%:
  540. 80% chance to cast Sever. (Standard targeting.)
  541. 20% chance to use a regular attack. (Standard targeting.)
  542.  
  543. Else, use a regular attack. (Standard targeting.)
  544.  
  545. Evildra
  546. =======
  547. If flag 2 is not active, cast Charge. (Targets self.) Activate flags 0 and 2.
  548.  
  549. If the party is blindsided, and flag 2 is not active, cast Charge. (Targets self.) Activate flag 2.
  550.  
  551. If flag 0 is active, deactivate flag 0, then:
  552. 69% chance to cast Banquet. (Standard targeting.)
  553. 31% chance to use a regular attack. (Standard targeting.)
  554.  
  555. If HP is below 30%:
  556. 80% chance to cast Banquet. (Standard targeting.)
  557. 20% chance to use a regular attack. (Standard targeting.)
  558.  
  559. If HP is below 50%:
  560. If no enemy has an attack buff:
  561. 19% chance to cast Charge. (Targets self.) Activate flag 0.
  562. If Charge does not get cast, 59% chance to cast Banquet. (Standard targeting.)
  563. Else, use a regular attack. (Standard targeting.)
  564.  
  565. If at least 1 enemy has an attack buff:
  566. 39% chance to cast Banquet. (Standard targeting.)
  567. 61% chance to use a regular attack. (Standard targeting.)
  568.  
  569. If no enemy has an attack buff:
  570. 29% chance to cast Charge. (Targets self.) Activate flag 0.
  571. If Charge does not get cast, 49% chance to cast Banquet. (Standard targeting.)
  572. Else, use a regular attack. (Standard targeting.)
  573.  
  574. If at least 1 enemy has an attack buff:
  575. 39% chance to cast Banquet. (Standard targeting.)
  576. 61% chance to use a regular attack. (Standard targeting.)
  577.  
  578. Iceking
  579. =======
  580. If the party is blindsided, and flag 1 is not active, cast Ice Blow. (Standard targeting.) Activate flag 1.
  581.  
  582. If HP is below 30%:
  583. 69% chance to cast Ice Blow. (Standard targeting.)
  584. 31% chance to use a regular attack. (Standard targeting.)
  585.  
  586. If HP is below 60%:
  587. 49% chance to cast Ice Blow. (Standard targeting.)
  588. 51% chance to use a regular attack. (Standard targeting.)
  589.  
  590. Else:
  591. 29% chance to cast Ice Blow. (Standard targeting.)
  592. 71% chance to use a regular attack. (Standard targeting.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement