DrFetus

EO4 Enemy AI Routines

May 6th, 2017 (edited)
800
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.26 KB | None | 0 0
  1. If a condition somehow turns out to be impossible to fulfill, the enemy will simply resort to using a regular attack with standard targeting.
  2.  
  3. Co-op attacks will also prevent any required enemies from taking any actions. Instead, they will do nothing, and the message: "[Enemy name] stands ready!" will be displayed.
  4.  
  5. Standard targeting is the default targeting routine most enemies follow. How it works is that each party member has an assigned aggro value each time the enemy makes an attack. Said value can be a random number from 0 to 4. Each enemy then chooses a target to attack, with preference being given to characters in the front row and the character with the most HP. Chosen targets get a random number from 0 to 6 added onto their initial value. Taunt and other aggro skills add a random number from 3 to the maximum aggro value onto the buff owner's aggro value. When all of this is said and done, the character with the highest resulting aggro value is the one who is attacked.
  6.  
  7. Rare Breed AI
  8. =============
  9. Every time a rare breed glows, they gain a +30 boost to their action speed, which is then multiplied by 10 (before randomization is added in), and their damage output is increased by +20% for each turn that passes in battle. This can only be done 10 times. After the 10th turn, their damage stops increasing, so they can only deal 3 times the damage at most. Every time they glow, they follow this routine.
  10.  
  11. Turn 1: 14% chance to escape. (Targets self.) Only applies if the battle did not start out as a blindside.
  12. Turn 2 onward: 49% chance to escape. (Targets self.)
  13.  
  14. If the chance to escape fails, they just move onto their normal AI routine.
  15.  
  16. Grasseater
  17. ==========
  18. 59% chance to use a regular attack. (Standard targeting.)
  19. 41% chance to cast Jump Kick. (Standard targeting.)
  20.  
  21. Roller
  22. ======
  23. 49% chance to cast Rush Attack. (Standard targeting.)
  24. 51% chance to use a regular attack. (Standard targeting.)
  25.  
  26. Tree Rat
  27. ========
  28. If self is in the back row, use a regular attack. (Standard targeting.) Activate flag 1.
  29.  
  30. If flag 1 is active, cast Deadly Incisor. (Standard targeting.)
  31.  
  32. If HP is below 51%:
  33. 79% chance to cast Deadly Incisor. (Standard targeting.)
  34. 21% chance to use a regular attack. (Standard targeting.)
  35.  
  36. Else, use a regular attack. (Standard targeting.)
  37.  
  38. Woodfly
  39. =======
  40. On the 1st turn:
  41. 79% chance to cast Flashy Scales. (Standard targeting.)
  42. 21% chance to use a regular attack. (Standard targeting.)
  43.  
  44. If all party members are blind, use a regular attack. (Standard targeting.)
  45.  
  46. Else:
  47. 39% chance to use a regular attack. (Standard targeting.)
  48. 61% chance to cast Flashy Scales. (Targets party members that aren't blind.)
  49.  
  50. Angry Baboon
  51. ============
  52. If the party is blindsided:
  53. 29% chance to cast Swing. (Standard targeting.)
  54. 71% chance to use a regular attack. (Standard targeting.)
  55.  
  56. If at least 1 Big Roller is in the battle:
  57. If flag 1 is not active:
  58. 69% chance to cast Throw [2]. (Standard targeting.) Activate flag 1.
  59. Else:
  60. 49% chance to cast Swing. (Standard targeting.)
  61. 51% chance to use a regular attack. (Standard targeting.)
  62.  
  63. If HP is below 51%:
  64. 79% chance to cast Swing. (Standard targeting.) 79% chance to deactivate flag 1.
  65. 21% chance to use a regular attack. (Standard targeting.) Deactivate flag 1.
  66.  
  67. Else:
  68. 49% chance to use a regular attack. (Standard targeting.) 49% chance to deactivate flag 1.
  69. 51% chance to cast Swing. (Standard targeting.) 49% chance to deactivate flag 1.
  70.  
  71. If at least 1 Roller is in the battle:
  72. If flag 2 is not active:
  73. 69% chance to cast Throw [1]. (Standard targeting.) Activate flag 2.
  74. Else:
  75. 49% chance to cast Swing. (Standard targeting.)
  76. 51% chance to use a regular attack. (Standard targeting.)
  77.  
  78. If HP is below 51%:
  79. 79% chance to cast Swing. (Standard targeting.) 79% chance to deactivate flag 2.
  80. 21% chance to use a regular attack. (Standard targeting.) Deactivate flag 2.
  81.  
  82. Else:
  83. 49% chance to use a regular attack. (Standard targeting.) 49% chance to deactivate flag 2.
  84. 51% chance to cast Swing. (Standard targeting.) 49% chance to deactivate flag 2.
  85.  
  86. If HP is below 51%:
  87. 79% chance to cast Swing. (Standard targeting.)
  88. 21% chance to use a regular attack. (Standard targeting.)
  89.  
  90. Else:
  91. 49% chance to use a regular attack. (Standard targeting.)
  92. 51% chance to cast Swing. (Standard targeting.)
  93.  
  94. Forest Frog
  95. ===========
  96. If self is not in the back row:
  97. If at least 1 party member has their legs bound, cast Jump. (Targets party members with their legs bound.)
  98. Else cast Jump. (Standard targeting.)
  99.  
  100. Else, cast Sticky Tongue. (Standard targeting.)
  101.  
  102. Mandrake
  103. ========
  104. Use a regular attack. (Standard targeting.)
  105.  
  106. Ghost Owl
  107. =========
  108. 29% chance to use a regular attack. (Standard targeting.)
  109. 71% chance to cast Thunder Strike. (Standard targeting.)
  110.  
  111. Big Roller
  112. ==========
  113. 39% chance to cast Wheeled Attack. (Standard targeting.)
  114. 61% chance to use a regular attack. (Standard targeting.)
  115.  
  116. Deathstalker
  117. ============
  118. If self is not in the back row, cast Nerve Stab. (If all party members are paralyzed, use standard targeting. Else, targets party members that aren't paralyzed.)
  119.  
  120. Else, do nothing. Display message: "Deathstalker is watching."
  121.  
  122. Jig Lizard
  123. ==========
  124. If the turn is equal to 1, cast Camouflage. (Targets self.)
  125.  
  126. If self is in the camouflaged state, cast Icicle. (Standard targeting.)
  127.  
  128. Else:
  129. 39% chance to cast Camouflage. (Targets self.)
  130. If Camouflage does not get cast, 69% chance to cast Icicle. (Standard targeting.)
  131. Else, use a regular attack. (Standard targeting.)
  132.  
  133. Fanged Vine
  134. ===========
  135. If self is in the back row, cast Rising Bile. (Targets self.)
  136.  
  137. Else, use a regular attack. (Targets the front row.)
  138.  
  139. Forest Hare
  140. ===========
  141. If self is in the back row, cast Lightning Call. (Standard targeting.)
  142.  
  143. Else:
  144. 39% chance to cast Lightning Call. (Standard targeting.)
  145. 61% chance to use a regular attack. (Standard targeting.)
  146.  
  147. Trip Mushroom
  148. =============
  149. If the turn count is equal to 1:
  150. 69% chance to cast Panic Spores. (Targets party members that aren't panicking.)
  151. 31% chance to use a regular attack. (Standard targeting.)
  152.  
  153. If all party members are panicking, use a regular attack. (Standard targeting.)
  154.  
  155. Else:
  156. 49% chance to use a regular attack. (Standard targeting.)
  157. 51% chance to cast Panic Spores. (Targets party members that aren't panicking.)
  158.  
  159. Great Lynx
  160. ==========
  161. Run this AI script the moment it's the user's turn.
  162.  
  163. If HP is below 71%:
  164. 69% chance to cast Bite Off (Standard targeting.)
  165. 31% chance to use a regular attack. (Standard targeting.)
  166.  
  167. 49% chance to follow this routine:
  168. If it is the moment of the user's turn:
  169. If at least 1 party member has an aggro buff, cast Bite Off. (Standard targeting.)
  170. Else:
  171. 49% chance to cast Bite Off. (Targets the party member with the lowest HP.)
  172. 51% chance to cast Bite Off. (Standard targeting.)
  173. Else, use a regular attack. (Standard targeting.)
  174.  
  175. Else, use a regular attack. (Standard targeting.)
  176.  
  177. War Bison
  178. =========
  179. If self is below 100% HP, cast Rampage. (Standard targeting.)
  180.  
  181. Else, do nothing. Display message: "War Bison is watching."
  182.  
  183. Petaloid
  184. ========
  185. Run this AI script the moment it's the user's turn.
  186.  
  187. If self is not in the budding state:
  188. If it's the moment of the user's turn:
  189. If all party members are asleep, cast Petals. (Standard targeting.)
  190.  
  191. If at least 3 party members are asleep:
  192. 19% chance to use a regular attack if someone else is casting Sleeper [2]. (Standard targeting.)
  193. Else, cast Sleeper [2]. (Standard targeting.)
  194. 81% chance to cast Petals. (Standard targeting.)
  195.  
  196. If at least 2 party members are asleep:
  197. 29% chance to use a regular attack if someone else is casting Sleeper [2]. (Standard targeting.)
  198. Else, cast Sleeper [2]. (Standard targeting.)
  199. 71% chance to cast Petals. (Standard targeting.)
  200.  
  201. If at least 1 party member is asleep:
  202. 39% chance to use a regular attack if someone else is casting Sleeper [2]. (Standard targeting.)
  203. Else, cast Sleeper [2]. (Standard targeting.)
  204. 61% chance to cast Petals. (Standard targeting.)
  205.  
  206. Else:
  207. 79% chance to use a regular attack if someone else is casting Sleeper [2]. (Standard targeting.)
  208. Else, cast Sleeper [2]. (Standard targeting.)
  209. 21% chance to cast Petals. (Standard targeting.)
  210.  
  211. Else, use a regular attack. (Standard targeting.)
  212.  
  213. If all party members are asleep, use a regular attack. (Standard targeting.)
  214.  
  215. 69% chance to use a regular attack if someone else is casting Sleeper [1]. (Standard targeting.)
  216. Else, cast Sleeper [1]. (Targets party members that aren't asleep.)
  217. 31% chance to use a regular attack. (Standard targeting.)
  218.  
  219. Fire Bulb
  220. =========
  221. If self is in the expanded state, cast Self-Destruct. (Standard targeting.) This routine takes place before any rare breed routines.
  222.  
  223. If the party is blindsided, use a regular attack. (Standard targeting.)
  224.  
  225. If the action count is equal to 0:
  226. 74% chance to use a regular attack. (Standard targeting.)
  227. 26% chance to cast Expand. (Targets self.)
  228.  
  229. Else:
  230. 49% chance to use a regular attack. (Standard targeting.)
  231. 51% chance to cast Expand. (Targets self.)
  232.  
  233. Black Claw
  234. ==========
  235. If the turn count is equal to 1, cast Black Poison. (Standard targeting.)
  236.  
  237. If at least 1 party member is poisoned:
  238. 49% chance to cast Black Poison. (Standard targeting.)
  239. 51% chance to use a regular attack. (Standard targeting.)
  240.  
  241. Else, cast Black Poison. (Standard targeting.)
  242.  
  243. Glutton Vine
  244. ============
  245. If self is in the back row, cast Coiling Vine. (Standard targeting.)
  246.  
  247. If at least 1 party member has their legs bound, cast Bite. (Targets party members with their legs bound.)
  248.  
  249. Else:
  250. 49% chance to cast Bite. (Standard targeting.)
  251. 51% chance to use a regular attack. (Standard targeting.)
  252.  
  253. Raging Boar
  254. ===========
  255. 49% chance to cast Raging Fangs. (Standard targeting.)
  256. 51% chance to use a regular attack. (Standard targeting.)
  257.  
  258. Hollow Believer
  259. ===============
  260. If fought on Misty Ravine B2F:
  261. 49% chance to cast Icy Blast. (Standard targeting.)
  262. 51% chance to use a regular attack. (Standard targeting.)
  263.  
  264. Else:
  265. If self is in the back row:
  266. 79% chance to cast Icy Blast. (Standard targeting.)
  267. 21% chance to use a regular attack. (Standard targeting.)
  268.  
  269. If self is in the front row:
  270. 29% chance to cast Icy Blast. (Standard targeting.)
  271. 71% chance to use a regular attack. (Standard targeting.)
  272.  
  273. Largebill
  274. =========
  275. If HP is below 51%:
  276. 69% chance to cast Diving Press. (Standard targeting.)
  277. 31% chance to use a regular attack. (Standard targeting.)
  278.  
  279. Else:
  280. 29% chance to cast Diving Press. (Standard targeting.)
  281. 71% chance to use a regular attack. (Standard targeting.)
  282.  
  283. Hollow Roamer
  284. =============
  285. 49% chance to use a regular attack. (Standard targeting.)
  286. 51% chance to cast Blitzritter. (Standard targeting.)
  287.  
  288. Demon Hopper
  289. ============
  290. If HP is below 51%:
  291. If at least 1 party member is paralyzed, cast Crushing Kick. (Targets party members who are paralyzed.)
  292.  
  293. Else:
  294. 79% chance to cast Crushing Kick. (Standard targeting.)
  295. 21% chance to use a regular attack. (Standard targeting.)
  296.  
  297. If at least 1 party member is paralyzed, use a regular attack. (Targets party members who are paralyzed.)
  298.  
  299. Else, use a regular attack. (Standard targeting.)
  300.  
  301. Cave Bat
  302. ========
  303. If there are 1 or less enemies in the battle:
  304. If flag 1 is not active:
  305. If the turn count is equal to 10 or above, summon 1 Patrol Bat. Activate flag 1.
  306. Else, summon 1 Cave Bat.
  307.  
  308. Else:
  309. 69% chance to cast Annoying Waves. (Targets party members without head binds.)
  310. 31% chance to use a regular attack. (Standard targeting.)
  311.  
  312. Claw Beetle
  313. ===========
  314. Run this AI script the moment it's the user's turn.
  315.  
  316. If the party is blindsided, use a regular attack. (Standard targeting.)
  317.  
  318. If there are 1 or less enemies in the battle, use a regular attack. (Standard targeting.)
  319.  
  320. If no one else is casting Shell Wall:
  321. If an ally gets attacked, 39% chance to follow this routine:
  322. If it is the moment of the user's turn:
  323. If there are 1 or less enemies in the battle, use a regular attack. (Standard targeting.)
  324. Else, cast Shell Wall. (Targets the ally that was attacked.)
  325.  
  326. Else, use a regular attack. (Standard targeting.)
  327.  
  328. Else, use a regular attack. (Standard targeting.)
  329.  
  330. Else, use a regular attack. (Standard targeting.)
  331.  
  332. Maya Owl
  333. ========
  334. If self is in the back row:
  335. If fought on Golden Lair B1F, and the temperature is cold:
  336. If at least 1 person has their head bound, cast Ice Breath. (Targets party members with their heads bound.)
  337. Else, cast Ice Breath. (Standard targeting.)
  338.  
  339. If fought on Golden Lair B2F, and the temperature is cold:
  340. If at least 1 person has their head bound, cast Ice Breath. (Targets party members with their heads bound.)
  341. Else, cast Ice Breath. (Standard targeting.)
  342.  
  343. If fought on Golden Lair B3F, and the temperature is cold:
  344. If at least 1 person has their head bound, cast Ice Breath. (Targets party members with their heads bound.)
  345. Else, cast Ice Breath. (Standard targeting.)
  346.  
  347. If fought in the Underground Lake, and the temperature is cold:
  348. If at least 1 person has their head bound, cast Ice Breath. (Targets party members with their heads bound.)
  349. Else, cast Ice Breath. (Standard targeting.)
  350.  
  351. If fought in the Cramped Nest or the Toxic Cave:
  352. If at least 1 person has their head bound, cast Ice Breath. (Targets party members with their heads bound.)
  353. Else, cast Ice Breath. (Standard targeting.)
  354.  
  355. If at least 1 person has their head bound, cast Fire Breath. (Targets party members with their heads bound.)
  356.  
  357. Else, cast Fire Breath. (Standard targeting.)
  358.  
  359. Else, use a regular attack. (Standard targeting.)
  360.  
  361. Magma Spawn (Active)
  362. ====================
  363. 59% chance to cast Lava Lump. (Standard targeting.)
  364. 41% chance to use a regular attack. (Standard targeting.)
  365.  
  366. Magma Spawn (Dormant)
  367. =====================
  368. Do nothing. Display message: "Magma Spawn is weakened and cannot move!"
  369.  
  370. Glacier Spawn (Active)
  371. ======================
  372. 59% chance to cast Icicle Lump. (Standard targeting.)
  373. 41% chance to use a regular attack. (Standard targeting.)
  374.  
  375. Glacier Spawn (Dormant)
  376. =======================
  377. Do nothing. Display message: "Glacier Spawn is weakened and cannot move!"
  378.  
  379. Hexroot
  380. =======
  381. Use a regular attack. (Standard targeting.)
  382.  
  383. Jumping Frog
  384. ============
  385. If at least 1 Zapper Frog is in the battle:
  386. 79% chance to cast Belly Flop. (Standard targeting.)
  387. 21% chance to cast Jump. (Standard targeting.)
  388.  
  389. Else:
  390. 69% chance to cast Jump. (Standard targeting.)
  391. 31% chance to use a regular attack. (Standard targeting.)
  392.  
  393. Baboon
  394. ======
  395. Run this AI script the moment it's the user's turn.
  396.  
  397. If HP is below 51%:
  398. If it is the moment of the user's turn:
  399. If at least 1 party member has an aggro buff, cast Slicing Arm. (Standard targeting.)
  400. Else:
  401. 49% chance to cast Slicing Arm. (Targets the party member with the highest HP.)
  402. If Slicing Arm does not get cast, 79% chance to cast Slicing Arm. (Targets the party member with the lowest HP.)
  403. Else, cast Slicing Arm. (Standard targeting.)
  404.  
  405. Else, cast Slicing Arm. (Standard targeting.)
  406.  
  407. If it is the moment of the user's turn:
  408. If at least 1 party member has an aggro buff, cast Slicing Arm. (Standard targeting.)
  409. Else:
  410. 59% chance to cast Slicing Arm. (Targets the party member with the lowest HP.)
  411. 41% chance to cast Slicing Arm. (Standard targeting.)
  412.  
  413. Else, cast Slicing Arm. (Standard targeting.)
  414.  
  415. Venomshroom
  416. ===========
  417. If the turn count is equal to 1:
  418. If no one else is casting Poison Spores, cast Poison Spores. (Standard targeting.)
  419. Else, use a regular attack.
  420.  
  421. If at least 1 party member is poisoned:
  422. 49% chance to cast Poison Spores. (Standard targeting.)
  423. 51% chance to use a regular attack. (Standard targeting.)
  424.  
  425. Else, cast Poison Spores. (Standard targeting.)
  426.  
  427. Zapper Frog
  428. ===========
  429. If self is not in the back row, and flag 1 is not active, cast Electric Dive. (Standard targeting.) Activate flag 1.
  430.  
  431. Else:
  432. 29% chance to cast Electric Dive. (Standard targeting.)
  433. 71% chance to use a regular attack. (Standard targeting.)
  434.  
  435. Flame Rat
  436. =========
  437. If at least 1 Flame Lynx is in the battle:
  438. 69% chance to cast Hellish Sparks. (Standard targeting.)
  439. 31% chance to use a regular attack. (Standard targeting.)
  440.  
  441. If self is in the back row, use a regular attack. (Standard targeting.) Activate flag 1.
  442.  
  443. If flag 1 is active, cast Flaming Fang. (Standard targeting.)
  444.  
  445. If HP is below 51%:
  446. 79% chance to cast Flaming Fang. (Standard targeting.)
  447. 21% chance to use a regular attack. (Standard targeting.)
  448.  
  449. Else, use a regular attack. (Standard targeting.)
  450.  
  451. Medusa Tree
  452. ===========
  453. If self is not in the back row, use a regular attack. (Standard targeting.)
  454.  
  455. If at least 1 party member has their arms bound, use a regular attack. (Standard targeting.)
  456.  
  457. Else:
  458. 69% chance to cast Coiling Branch. (Targets the front row.)
  459. 31% chance to use a regular attack. (Standard targeting.)
  460.  
  461. Peach Crow
  462. ==========
  463. If HP is below 51%:
  464. 69% chance to cast Smashing Press. (Standard targeting.)
  465. 31% chance to use a regular attack. (Standard targeting.)
  466.  
  467. Else:
  468. 29% chance to cast Smashing Press. (Standard targeting.)
  469. 71% chance to use a regular attack. (Standard targeting.)
  470.  
  471. Steel Barb
  472. ==========
  473. If self is not in the back row, cast Stone Needle. (If all party members are petrified, use standard targeting. Else, target party members that aren't petrified.)
  474.  
  475. Else, do nothing. Display message: "Steel Barb is watching."
  476.  
  477. Flame Lynx
  478. ==========
  479. If HP is below 71%:
  480. 69% chance to cast Flame Claw. (Standard targeting.)
  481. 31% chance to use a regular attack. (Standard targeting.)
  482.  
  483. Else:
  484. 49% chance to cast Flame Claw. (Standard targeting.)
  485. 51% chance to use a regular attack. (Standard targeting.)
  486.  
  487. Proto-Bot
  488. =========
  489. If the party is blindsided:
  490. 20% chance to cast Target Search. (Targets the party member with the lowest HP.)
  491. 20% chance to cast Target Search. (Targets the party member with the lowest HP percentage.)
  492. 20% chance to cast Target Search. (Targets the party member with the lowest level.)
  493. 20% chance to cast Target Search. (Targets the back row.)
  494. 20% chance to cast Target Search. (Standard targeting.)
  495.  
  496. If the turn count is equal to 1:
  497. 20% chance to cast Target Search. (Targets the party member with the lowest HP.)
  498. 20% chance to cast Target Search. (Targets the party member with the lowest HP percentage.)
  499. 20% chance to cast Target Search. (Targets the party member with the lowest level.)
  500. 20% chance to cast Target Search. (Targets the back row.)
  501. 20% chance to cast Target Search. (Standard targeting.)
  502.  
  503. If anyone has an aggro debuff, use a regular attack. (Standard targeting.)
  504.  
  505. Else:
  506. 20% chance to cast Target Search. (Targets the party member with the lowest HP.)
  507. 20% chance to cast Target Search. (Targets the party member with the lowest HP percentage.)
  508. 20% chance to cast Target Search. (Targets the party member with the lowest level.)
  509. 20% chance to cast Target Search. (Targets the back row.)
  510. 20% chance to cast Target Search. (Standard targeting.)
  511.  
  512. Purple Anoir
  513. ============
  514. If the party is blindsided, cast Camouflage. (Targets self.)
  515.  
  516. If self is in the camouflaged state:
  517. If flag 1 is active, cast Frozen Tongue. (Standard targeting.)
  518. Else:
  519. 61% chance to cast Frozen Tongue. (Standard targeting.)
  520. 39% chance to use a regular attack. (Standard targeting.) Activate flag 1.
  521.  
  522. If flag 2 is active:
  523. 61% chance to cast Unseen Tongue. (Targets self.)
  524. 39% chance to use a regular attack. (Standard targeting.)
  525.  
  526. Else:
  527. 71% chance to cast Camouflage. (Targets self.) Activate flag 2.
  528. If Camouflage does not get cast, 31% chance to cast Unseen Tongue. (Targets self.)
  529. Else, use a regular attack. (Standard targeting.)
  530.  
  531. White Ape
  532. =========
  533. If at least 1 party member has the Armor Ripper debuff, use a regular attack. (Targets party members with the Armor Ripper debuff.)
  534.  
  535. Else:
  536. 61% chance to use a regular attack. (Standard targeting.)
  537. 39% chance to cast Armor Ripper. (Standard targeting.)
  538.  
  539. Proto-Hunter
  540. ============
  541. If a Proto-bot or a Silent Killer is in the battle:
  542. If HP is below 51%, cast Spark. (Standard targeting.)
  543. Else:
  544. 65% chance to cast Spark. (Standard targeting.)
  545. 35% chance to use a regular attack. (Standard targeting.)
  546.  
  547. 50% chance to cast Spark. (Standard targeting.)
  548.  
  549. If flag 1 is active, use a regular attack. (Standard targeting.)
  550.  
  551. Else, do nothing. Display message: "Proto-Hunter is searching for a target." Activate flag 1.
  552.  
  553. Suicide Hare
  554. ============
  555. If there are 1 or less enemies in the battle, cast Self-Destruct. (Standard targeting.)
  556.  
  557. Else, use a regular attack. (Standard targeting.)
  558.  
  559. Eviloid
  560. =======
  561. Run this AI script the moment it's the user's turn.
  562.  
  563. If self is not in the budding state:
  564. If all party members are panicking, cast Petals. (Standard targeting.)
  565.  
  566. If at least 3 party members are panicking:
  567. 29% chance to cast Panic Pollen [2]. (Standard targeting.)
  568. 71% chance to cast Petals. (Standard targeting.)
  569.  
  570. If at least 2 party members are panicking:
  571. 39% chance to cast Panic Pollen [2]. (Standard targeting.)
  572. 61% chance to cast Petals. (Standard targeting.)
  573.  
  574. If at least 1 party members is panicking:
  575. 49% chance to cast Panic Pollen [2]. (Standard targeting.)
  576. 51% chance to cast Petals. (Standard targeting.)
  577.  
  578. Else:
  579. 79% chance to cast Panic Pollen [2]. (Targets party members that aren't panicking.)
  580. 21% chance to cast Petals. (Standard targeting.)
  581.  
  582. If all party members are panicking, use a regular attack. (Standard targeting.)
  583.  
  584. Else:
  585. 69% chance to cast Panic Pollen [1]. (Targets party members that aren't panicking.)
  586. 31% chance to use a regular attack. (Standard targeting.)
  587.  
  588. Cursed Shroom
  589. =============
  590. Use a regular attack. (Standard targeting.)
  591.  
  592. Blue Wallaby
  593. ============
  594. If the party is blindsided, use a regular attack. (Standard targeting.)
  595.  
  596. If flag 1 is not active, cast Cross Counter. (Standard targeting.) Activate flag 1.
  597.  
  598. Else, use a regular attack. (Standard targeting.) Deactivate flag 1.
  599.  
  600. Clawed Mole
  601. ===========
  602. If at least 1 party member has their legs bound, cast Sharp Claw. (Targets party members with their legs bound.)
  603.  
  604. Else:
  605. 79% chance to cast Sharp Claw. (Standard targeting.)
  606. 21% chance to use a regular attack. (Standard targeting.)
  607.  
  608. Dragonfly
  609. =========
  610. If the party is blindsided, cast Binding Ambush. (Standard targeting.)
  611.  
  612. If the turn count is equal to 1, cast Binding Ambush. (Standard targeting.)
  613.  
  614. Else, use a regular attack. (Standard targeting.)
  615.  
  616. Venomfly
  617. ========
  618. If the party is blindsided, use a regular attack. (Standard targeting.)
  619.  
  620. If the turn count is equal to 1:
  621. 79% chance to cast Poison. (Standard targeting.)
  622. 21% chance to use a regular attack. (Standard targeting.)
  623.  
  624. If all party members are poisoned, use a regular attack. (Standard targeting.)
  625.  
  626. Else:
  627. 39% chance to use a regular attack. (Standard targeting.)
  628. 61% chance to cast Poison. (Standard targeting.)
  629.  
  630. Bloody Knuckle
  631. ==============
  632. If the party is blindsided, use a regular attack. (Standard targeting.)
  633.  
  634. If flag 1 is not active:
  635. 69% chance to cast Boomerang Hook. (Standard targeting.) Activate flag 1.
  636. 31% chance to use a regular attack. (Standard targeting.) Activate flag 1.
  637.  
  638. Else, cast Cross Counter. (Standard targeting.) Deactivate flag 1.
  639.  
  640. Volt Cat
  641. ========
  642. If self is not in the back row:
  643. If flag 2 is not active, cast Thunderclap. (Standard targeting.) Activate flag 2.
  644. Else:
  645. 69% chance to cast Thunderclap. (Standard targeting.)
  646. 31% chance to use a regular attack. (Standard targeting.)
  647.  
  648. If flag 1 is not active, cast Shivering Glare. (Standard targeting.) Activate flag 1.
  649.  
  650. Else, use a regular attack. (Standard targeting.)
  651.  
  652. Magma Beast (Active)
  653. ====================
  654. 59% chance to cast Thermal Wave. (Standard targeting.)
  655. 41% chance to use a regular attack. (Standard targeting.)
  656.  
  657. Magma Beast (Dormant)
  658. =====================
  659. Do nothing. Display message: "Magma Beast is weakened and cannot move!"
  660.  
  661. Glacier Beast (Active)
  662. ======================
  663. 59% chance to cast Icy Mist. (Standard targeting.)
  664. 41% chance to use a regular attack. (Standard targeting.)
  665.  
  666. Glacier Beast (Dormant)
  667. =======================
  668. Do nothing. Display message: "Glacier Beast is weakened and cannot move!"
  669.  
  670. Cold Claw
  671. =========
  672. If HP is below 51%:
  673. 69% chance to cast Frost Claw. (Standard targeting.)
  674. 31% chance to use a regular attack. (Standard targeting.)
  675.  
  676. Else:
  677. 29% chance to cast Frost Claw. (Standard targeting.)
  678. 71% chance to use a regular attack. (Standard targeting.)
  679.  
  680. Evilroot
  681. ========
  682. Use a regular attack. (Standard targeting.)
  683.  
  684. Hollow Hoplite
  685. ==============
  686. If HP is below 51%:
  687. 79% chance to cast Skewer. (Targets the front row.)
  688. 21% chance to use a regular attack. (Standard targeting.)
  689.  
  690. Else:
  691. 49% chance to cast Skewer. (Targets the front row.)
  692. 51% chance to use a regular attack. (Standard targeting.)
  693.  
  694. Ice Bulb
  695. ========
  696. If self is in the expanded state, cast Icy Ruin. (Standard targeting.) This routine takes place before any rare breed routines.
  697.  
  698. If the party is blindsided, use a regular attack. (Standard targeting.)
  699.  
  700. If the action count is equal to 0:
  701. 74% chance to use a regular attack. (Standard targeting.)
  702. 26% chance to cast Expand. (Targets self.)
  703.  
  704. Else:
  705. 49% chance to use a regular attack. (Standard targeting.)
  706. 51% chance to cast Expand. (Targets self.)
  707.  
  708. Thunder Hare
  709. ============
  710. Use a regular attack on the 1st turn. (Standard targeting.)
  711.  
  712. If flag 1 is active:
  713. 40% chance to escape. (Targets self.)
  714. 60% chance to use a regular attack. (Standard targeting.)
  715.  
  716. If self is not in the back row:
  717. 69% chance to do nothing. Display message: "Thunder Hare is panicked!" Activate flag 1.
  718. 31% chance to use a regular attack. (Standard targeting.)
  719.  
  720. Else:
  721. 69% chance to cast Heavenly Bolt. (Standard targeting.)
  722. 31% chance to use a regular attack. (Standard targeting.)
  723.  
  724. Angry Ape
  725. =========
  726. If flag 1 is not active, cast Charge. (Standard targeting.) Activate flag 1.
  727.  
  728. Else, cast Ripping Arm. (Standard targeting.) Deactivate flag 1.
  729.  
  730. Curse Locust
  731. ============
  732. If HP is below 51%:
  733. If all party members are cursed, use a regular attack. (Standard targeting.)
  734. Else:
  735. 79% chance to cast Cursed Kick. (Targets party members that aren't cursed.)
  736. 21% chance to use a regular attack. (Standard targeting.)
  737.  
  738. Else:
  739. 39% chance to cast Cursed Kick. (Targets party members that aren't cursed.)
  740. 61% chance to use a regular attack. (Standard targeting.)
  741.  
  742. Flying Beetle
  743. =============
  744. Run this AI script the moment it's the user's turn.
  745.  
  746. If the party is blindsided, use a regular attack. (Standard targeting.)
  747.  
  748. If there are 1 or less enemies in the battle, use a regular attack. (Standard targeting.)
  749.  
  750. If the turn count is a multiple of 2, use a regular attack. (Standard targeting.)
  751.  
  752. If no one else is casting Crab Shell, an enemy is being attacked, and self is not in the back row:
  753. If it is the moment of the user's turn:
  754. If there is only 1 enemy in the front row, use a regular attack. (Standard targeting.)
  755. Else, cast Crab Shell. (Targets self.)
  756.  
  757. Else, use a regular attack. (Standard targeting.)
  758.  
  759. Else, use a regular attack. (Standard targeting.)
  760.  
  761. Sleeping Lion
  762. =============
  763. If flag 1 is not active, cast King's Claws. (Standard targeting.) Activate flag 1.
  764.  
  765. Else:
  766. 61% chance to cast King's Claws. (Standard targeting.)
  767. 39% chance to use a regular attack. (Standard targeting.)
  768.  
  769. Vampire Bat
  770. ===========
  771. If there is a Rafflesia in the battle:
  772. If there are 2 or less enemies in the battle, and the turn count is equal to or below 4, summon 1 Vampire Bat.
  773. If there are 2 Vampire Bats in the battle, and someone else is casting Call Ally, and the turn count is equal to or less than 4, summon 1 Vampire Bat.
  774.  
  775. If there are 3 or more Vampire Bats in the battle:
  776. If the turn count is equal to or above 6, use a regular attack. (Standard targeting.)
  777. Else, cast Vapid Slash. (Standard targeting.)
  778.  
  779. If someone else is casting Call Ally, cast Bloodsucker. (Standard targeting.)
  780.  
  781. If there 3 enemies in the front row, and the turn count is equal to or below 4, summon 1 Vampire Bat in the back row.
  782.  
  783. If the turn count is equal to or less than 4, summon 1 Vampire Bat in the front row.
  784.  
  785. Else:
  786. 49% chance to cast Bloodsucker. (Standard targeting.)
  787. 51% chance to use a regular attack. (Standard targeting.)
  788.  
  789. Stun Eryngii
  790. ============
  791. If HP is below 71%:
  792. 79% chance to cast Nerve Spore. (Standard targeting.)
  793. 21% chance to use a regular attack. (Standard targeting.)
  794.  
  795. Else:
  796. 59% chance to cast Nerve Spore. (Standard targeting.)
  797. 41% chance to use a regular attack. (Standard targeting.)
  798.  
  799. Mauler Mole
  800. ===========
  801. If flag 1 is not active, cast Piercing Claw. (Standard targeting.) Activate flag 1.
  802.  
  803. Else:
  804. 49% chance to use a regular attack. (Standard targeting.)
  805. 51% chance to cast Piercing Claw. (Standard targeting.)
  806.  
  807. Plated Roller
  808. =============
  809. If HP is below 51%:
  810. 69% chance to cast Ram. (Standard targeting.)
  811. 31% chance to use a regular attack. (Standard targeting.)
  812.  
  813. Else:
  814. 29% chance to cast Ram. (Standard targeting.)
  815. 71% chance to use a regular attack. (Standard targeting.)
  816.  
  817. Beetle Lord
  818. ===========
  819. Run this AI script the moment it's the user's turn.
  820.  
  821. If the party is blindsided, use a regular attack. (Standard targeting.)
  822.  
  823. If there is only 1 enemy in the battle, use a regular attack. (Standard targeting.)
  824.  
  825. If the turn count is a multiple of 2, use a regular attack. (Standard targeting.)
  826.  
  827. If no one else is casting Shell Castle, and an enemy is being attacked:
  828. If it is the moment of the user's turn:
  829. If there is only 1 enemy in the battle, use a regular attack. (Standard targeting.)
  830. Else, cast Shell Castle. (Targets self.)
  831.  
  832. Else, use a regular attack.
  833.  
  834. Else, use a regular attack.
  835.  
  836. Wrath Bloom
  837. ===========
  838. If flag 1 is not active, cast Charge. (Standard targeting.) Activate flag 1.
  839.  
  840. Else, cast Thorny Rain. (Standard targeting.) Deactivate flag 1.
  841.  
  842. Hollow Magus
  843. ============
  844. If self is not in the back row, and there are no enemies in the back row:
  845. If turn count is equal to 4 or below, Summons 1 Hollow Magus in the back row.
  846. Else, use a regular attack. (Standard targeting.)
  847.  
  848. If flag 1 is not active, cast Bloody Pact. (Standard targeting.) Activate flag 1.
  849.  
  850. Else:
  851. 79% chance to cast Icy Purge. (Standard targeting.)
  852. 21% chance to use a regular attack. (Standard targeting.)
  853.  
  854. Thunder Spawn (Active)
  855. ======================
  856. Cast Unload. (Standard targeting.)
  857.  
  858. Thunder Spawn (Dormant)
  859. =======================
  860. Do nothing. Display message: "Thunder Spawn is watching."
  861.  
  862. Muskoid
  863. =======
  864. Run this AI script the moment it's the user's turn.
  865.  
  866. If the party is blindsided:
  867. If it is the moment of the user's turn, cast Ruinous Pollen [1]. (Targets party members that aren't petrified.)
  868. Else, use a regular attack. (Standard targeting.)
  869.  
  870. If self is not in the budding state:
  871. If flag 1 is active, cast Petals. (Standard targeting.)
  872. Else, cast Ruinous Pollen [2] (Level 2). (Standard targeting.) Activate flag 1.
  873.  
  874. 69% chance to follow this routine:
  875. If it is the moment of the user's turn, cast Ruinous Pollen [1]. (Targets party members that aren't petrified.)
  876. Else, use a regular attack. (Standard targeting.)
  877.  
  878. Else, use a regular attack. (Standard targeting.)
  879.  
  880. King Dragonfly
  881. ==============
  882. Keep track of all of the following enemies within the battle:
  883. Mauler Mole
  884. Stun Eryngii
  885. Gasser Tree
  886. King Dragonfly
  887. Hollow Magus
  888. Beetle Lord
  889. Muskoid
  890. Plated Roller
  891. Wrath Bloom
  892. Thunder Spawn (Active)
  893. Thunder Spawn (Dormant)
  894. Red Lion
  895. Mothlord
  896.  
  897. If at least 4 of the listed enemies have died, cast Revenge Blade (Level 4). (Standard targeting.)
  898.  
  899. If 3 of the listed enemies have died, cast Revenge Blade (Level 3). (Standard targeting.)
  900.  
  901. If 2 of the listed enemies have died, cast Revenge Blade (Level 2). (Standard targeting.)
  902.  
  903. If 1 of the listed enemies has died, cast Revenge Blade (Level 1). (Standard targeting.)
  904.  
  905. Else, do nothing. Display message: "King Dragonfly is watching."
  906.  
  907. Gasser Tree
  908. ===========
  909. If the party is blindsided, use a regular attack. (Standard targeting.)
  910.  
  911. If the action count is equal to 0:
  912. If no one else is casting Poisonous Bind, use a regular attack. (Standard targeting.)
  913. Else, cast Poisonous Bind. (Standard targeting.)
  914.  
  915. If the turn count is a multiple of 4:
  916. If no one else is casting Poisonous Bind, use a regular attack. (Standard targeting.)
  917. Else, cast Poisonous Bind. (Standard targeting.)
  918.  
  919. Red Lion
  920. ========
  921. Cast Biting Flurry. (Standard targeting.)
Add Comment
Please, Sign In to add comment