Advertisement
DrFetus

EO3 Enemy AI (WIP)

Nov 27th, 2017
548
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.08 KB | None | 0 0
  1. Fanged Fish
  2. ===========
  3. If there is a Devilfish in the battle, use a regular attack. (Standard targeting.)
  4.  
  5. From 100% to 81% HP:
  6. 29% chance to cast Sharp Fang. (Standard targeting.)
  7. 71% chance to use a regular attack. (Standard targeting.)
  8.  
  9. From 80% HP to death:
  10. 59% chance to cast Sharp Fang. (Standard targeting.)
  11. 41% chance to use a regular attack. (Standard targeting.)
  12.  
  13. Deadly Durian
  14. =============
  15. If there is at least 1 Furyhorn, Raging Tyrant, or Greedy Lizard in the battle:
  16. 29% chance to cast Thorn. (Standard targeting.)
  17. 71% chance to use a regular attack. (Standard targeting.)
  18.  
  19. If fought on the 3rd or a higher floor, cast Thorn on the 1st turn. (Targets party members that aren't blind.)
  20.  
  21. If fought on the 4th or a higher floor, there are 2 or less enemies in the battle, but no Titan Arum is in the battle, and flag 3 is not active:
  22. 89% chance to summon 1 Titan Arum. Activate flag 3.
  23. 11% chance to use a regular attack. (Standard targeting.)
  24.  
  25. If fought on the 3rd floor, there are 2 or less enemies in the battle, but no Titan Arum is in the battle, and flag 2 is not active:
  26. 69% chance to summon 1 Titan Arum. Activate flag 2.
  27. 11% chance to use a regular attack. (Standard targeting.)
  28.  
  29. If fought on the 2nd floor, there are 2 or less enemies in the battle, but no Titan Arum is in the battle, and flag 1 is not active:
  30. 1% chance to summon 1 Titan Arum. Activate flag 1.
  31. If a Titan Arum is not summoned, 20% chance to cast Thorn. (Targets party members that aren't blind.) Activate flag 1.
  32. If Thorn is not cast, use a regular attack. (Standard targeting.)
  33.  
  34. From 100% to 81% HP:
  35. 19% chance to cast Thorn (Standard targeting.)
  36. 81% chance to use a regular attack. (Standard targeting.)
  37.  
  38. From 80% HP to death:
  39. If at least 1 party member is blind:
  40. 19% chance to cast Thorn (Standard targeting.)
  41. 81% chance to use a regular attack. (Standard targeting.)
  42.  
  43. Else:
  44. 39% chance to cast Thorn (Standard targeting.)
  45. 61% chance to use a regular attack. (Standard targeting.)
  46.  
  47. Forest Frog
  48. ===========
  49. From 100% to 51% HP:
  50. 29% chance to cast Jump. (Standard targeting.)
  51. 71% chance to use a regular attack. (Standard targeting.)
  52.  
  53. From 50% HP to death:
  54. 89% chance to cast Jump. (Standard targeting.)
  55. 11% chance to use a regular attack. (Standard targeting.)
  56.  
  57. Great Lynx
  58. ==========
  59. From 100% to 81% HP:
  60. 9% chance to cast Bite Off (Standard targeting.)
  61. 91% chance to use a regular attack. (Standard targeting.)
  62.  
  63. From 80% to death:
  64. 79% chance to cast Bite Off (Standard targeting.)
  65. 21% chance to use a regular attack. (Standard targeting.)
  66.  
  67. Claw Shrimp
  68. ===========
  69. If HP is below 100%:
  70. 69% chance to cast Claw Cut (Level 2). (Standard targeting.)
  71. 31% chance to use a regular attack. (Standard targeting.)
  72.  
  73. Else, use a regular attack. (Standard targeting.)
  74.  
  75. Great Platypus
  76. ==============
  77. If HP is below 100%:
  78. 49% chance to cast Poison Tail. (Standard targeting.)
  79. 51% chance to use a regular attack. (Standard targeting.)
  80.  
  81. If at least 1 party member is poisoned, use a regular attack. (Standard targeting.)
  82.  
  83. On self's 1st turn in battle, 79% chance to cast Poison Tail. (Standard targeting.)
  84.  
  85. Else, use a regular attack. (Standard targeting.)
  86.  
  87. Titan Arum
  88. ==========
  89. If there is at least 1 Deadly Durian in the battle:
  90. 79% chance to cast Decay Breath. (Standard targeting.)
  91. 21% chance to use a regular attack. (Standard targeting.)
  92.  
  93. Cast Vine Dance on the 1st turn. (Standard targeting.)
  94.  
  95. From 100% to 51% HP:
  96. 29% chance to cast Vine Dance. (Standard targeting.)
  97. 71% chance to use a regular attack. (Standard targeting.)
  98.  
  99. From 50% HP to death:
  100. If at least 1 party member has the plague:
  101. 19% chance to cast Vine Dance. (Standard targeting.)
  102. 81% chance to defend. (Targets self.)
  103.  
  104. Else:
  105. 69% chance to cast Vine Dance. (Standard targeting.)
  106. If Vine Dance does not get cast, 49% chance to defend. (Targets self.)
  107. If self does not defend, use a regular attack. (Standard targeting.)
  108.  
  109. Largebill
  110. =========
  111. From 100% to 81% HP:
  112. 29% chance to cast Chomp. (Standard targeting.)
  113. 61% chance to use a regular attack. (Standard targeting.)
  114.  
  115. From 80% HP to death:
  116. 69% chance to cast Chomp. (Standard targeting.)
  117. 31% chance to use a regular attack. (Standard targeting.)
  118.  
  119. Gigapede
  120. ========
  121. On the 1st turn:
  122. If there is only 1 Gigapede in the battle:
  123. 29% chance to use a regular attack. (Standard targeting.)
  124. 71% chance to cast 100-Leg Bind. (Standard targeting.)
  125.  
  126. If at least 1 party member has their legs bound, use a regular attack. (Standard targeting.)
  127.  
  128. If a regular attack does not get used, 79% chance to use a regular attack. (Standard targeting.)
  129.  
  130. Else, use 100-Leg Bind. (Standard targeting.)
  131.  
  132. Venomshroom
  133. ===========
  134. From 100% to 91% HP:
  135. 19% chance to defend. (Targets self.)
  136. 81% chance to use a regular attack. (Standard targeting.)
  137.  
  138. From 90% HP to death:
  139. 9% chance to defend. (Targets self.)
  140. 91% chance to use a regular attack. (Standard targeting.)
  141.  
  142. Spotted Frog
  143. ============
  144. From 100% to 81% HP:
  145. 19% chance to cast Jump (Level 2). (Standard targeting.)
  146. 81% chance to use a regular attack. (Standard targeting.)
  147.  
  148. From 80% HP to death:
  149. 69% chance to cast Jump (Level 2). (Standard targeting.)
  150. 31% chance to use a regular attack. (Standard targeting.)
  151.  
  152. Scylla Crab
  153. ===========
  154. On the 1st turn, defend. (Targets self.)
  155.  
  156. From 100% to 91% HP:
  157. Use a regular attack. (Standard targeting.)
  158.  
  159. From 90% HP to death:
  160. 59% chance to cast Ruin Claw. (Standard targeting.)
  161. 41% chance to use a regular attack. (Standard targeting.)
  162.  
  163. Starry Slug
  164. ===========
  165. If flag 1 is not active, cast Membrane. (Targets self.) Activate flag 1.
  166.  
  167. From 100% to 51% HP:
  168. 59% chance to defend. (Targets self.)
  169. If self did not defend, 89% chance to use a regular attack. (Standard targetign.)
  170. If a regular attack was not used, cast Icicle. (Standard targeting.)
  171.  
  172. From 50% HP to death:
  173. 89% chance to cast Icicle. (Standard targeting.)
  174. 11% chance to use a regular attack. (Standard targeting.)
  175.  
  176. Devilfish
  177. =========
  178. If at least 2 Fanged Fish are in the battle, it is their 1st turn in the battle, and flag 1 is not active:
  179. 79% chance to cast Ferocious Fish. (Standard targeting.) Activate flag 1. Deactivate flag 2.
  180. 21% chance to use a regular attack. (Standard targeting.)
  181.  
  182. If there is at least 1 Furyhorn, Raging Tyrant, or Greedy Lizard in the battle:
  183. From 100% to 51% HP:
  184. 29% chance to cast Sharp Fang (Level 2). (Standard targeting.)
  185. 71% chance to use a regular attack. (Standard targeting.) Deactivate flag 1.
  186.  
  187. From 50% HP to death:
  188. 69% chance to cast Sharp Fang (Level 2). (Standard targeting.) Deactivate flag 1.
  189. 31% chance to use a regular attack. (Standard targeting.)
  190.  
  191. If there are 2 or less enemies in the battle, and flag 2 is not active:
  192. 69% chance to summon 2 Fanged Fish. Deactivate flag 1. Activate flag 2.
  193. 31% chance to use a regular attack. (Standard targeting.)
  194.  
  195. From 100% to 51% HP:
  196. 29% chance to cast Sharp Fang (Level 2). (Standard targeting.)
  197. 71% chance to use a regular attack. (Standard targeting.) Deactivate flag 1.
  198.  
  199. From 50% HP to death:
  200. 69% chance to cast Sharp Fang (Level 2). (Standard targeting.) Deactivate flag 1.
  201. 31% chance to use a regular attack. (Standard targeting.)
  202.  
  203. Great Anaconda
  204. ==============
  205. From 100% to 51% HP:
  206. If at least 1 party member has their arms bound, use a regular attack. (Standard targeting.)
  207. Else, cast Choke. (Standard targeting.)
  208.  
  209. From 50% HP to death:
  210. 69% chance to cast Choke. (Standard targeting.)
  211. 31% chance to use a regular attack. (Standard targeting.)
  212.  
  213. Red Starfish
  214. ============
  215. If at least 1 Scaled Dragon, Sea Wanderer, or Abyssal Death is in the battle:
  216. From 100% to 81% HP:
  217. 49% chance to cast Icicle (Level 3). (Standard targeting.)
  218. 51% chance to use a regular attack. (Standard targeting.)
  219.  
  220. From 80% HP to death:
  221. 69% chance to cast Icicle (Level 3). (Standard targeting.)
  222. 31% chance to use a regular attack. (Standard targeting.)
  223.  
  224. If there is at least 1 King Starfish in the battle, and flag 1 is not active:
  225. Use a regular attack. (Standard targeting.) Activate flag 1.
  226.  
  227. If the turn count is at 5 or above and flag 1 is not active:
  228. Use a regular attack. (Standard targeting.) Activate flag 1.
  229.  
  230. If fought on floor 7:
  231. If there are 2 or less enemies in the battle:
  232. If there is at least 1 King Starfish in the battle:
  233. From 100% to 81% HP:
  234. 49% chance to cast Icicle (Level 3). (Standard targeting.)
  235. 51% chance to use a regular attack. (Standard targeting.)
  236.  
  237. From 80% HP to death:
  238. 69% chance to cast Icicle (Level 3). (Standard targeting.)
  239. 31% chance to use a regular attack. (Standard targeting.)
  240.  
  241. If flag 1 is not active, 19% chance to summon 1 King Starfish. Activate flag 1.
  242.  
  243. From 100% to 81% HP:
  244. 49% chance to cast Icicle (Level 3). (Standard targeting.)
  245. 51% chance to use a regular attack. (Standard targeting.)
  246.  
  247. From 80% HP to death:
  248. 69% chance to cast Icicle (Level 3). (Standard targeting.)
  249. 31% chance to use a regular attack. (Standard targeting.)
  250.  
  251. From 100% to 81% HP:
  252. 49% chance to cast Icicle (Level 3). (Standard targeting.)
  253. 51% chance to use a regular attack. (Standard targeting.)
  254.  
  255. From 80% HP to death:
  256. 69% chance to cast Icicle (Level 3). (Standard targeting.)
  257. 31% chance to use a regular attack. (Standard targeting.)
  258.  
  259. Else:
  260. From 100% to 81% HP:
  261. 49% chance to cast Icicle (Level 3). (Standard targeting.)
  262. 51% chance to use a regular attack. (Standard targeting.)
  263.  
  264. From 80% HP to death:
  265. 69% chance to cast Icicle (Level 3). (Standard targeting.)
  266. 31% chance to use a regular attack. (Standard targeting.)
  267.  
  268. Pandora Egg
  269. ===========
  270. If there is at least 1 Vampire Tree, at least 1 Dreamsmasher, or at least 1 Revelationer in the battle:
  271. 19% chance to cast Shell (Level 3.) (Targets self.)
  272. 81% chance to use a regular attack. (Standard targeting.)
  273.  
  274. If fought on floor 21:
  275. If self has taken 0 actions:
  276. 9% chance to hatch into a Clionean.
  277. 5% chance to hatch into a Longicorn.
  278. 75% chance to cast Shell (Level 3). (Targets self.)
  279. 11% chance to use a regular attack. (Standard targeting.)
  280.  
  281. If self has taken 1 action:
  282. 19% chance to hatch into a Clionean.
  283. 15% chance to hatch into a Longicorn.
  284. 30% chance to cast Shell (Level 3). (Targets self.)
  285. 36% chance to use a regular attack. (Standard targeting.)
  286.  
  287. If self has taken 2 actions:
  288. 29% chance to hatch into a Clionean.
  289. 20% chance to hatch into a Longicorn.
  290. 5% chance to hatch into a Insectortoise.
  291. 15% chance to cast Shell (Level 3). (Targets self.)
  292. 31% chance to use a regular attack. (Standard targeting.)
  293.  
  294. If self has taken 3 actions:
  295. 29% chance to hatch into a Clionean.
  296. 25% chance to hatch into a Longicorn.
  297. 15% chance to hatch into a Insectortoise.
  298. 5% chance to cast Shell (Level 3). (Targets self.)
  299. 26% chance to use a regular attack. (Standard targeting.)
  300.  
  301. Else:
  302. 34% chance to hatch into a Clionean.
  303. 35% chance to hatch into a Longicorn.
  304. 31% chance to hatch into a Insectortoise.
  305.  
  306. If fought on floor 22, 23, or 24:
  307. If there are at least 4 Pandora Eggs in the battle:
  308. If self has taken 0 actions:
  309. 9% chance to hatch into a Clionean.
  310. 10% chance to hatch into a Insectortoise.
  311. 70% chance to cast Shell (Level 3). (Targets self.)
  312. 11% chance to use a regular attack. (Standard targeting.)
  313.  
  314. If self has taken 1 action:
  315. 19% chance to hatch into a Clionean.
  316. 15% chance to hatch into a Insectortoise.
  317. 30% chance to cast Shell (Level 3). (Targets self.)
  318. 36% chance to use a regular attack. (Standard targeting.)
  319.  
  320. If self has taken 2 actions:
  321. 29% chance to hatch into a Clionean.
  322. 30% chance to hatch into a Insectortoise.
  323. 10% chance to cast Shell (Level 3). (Targets self.)
  324. 31% chance to use a regular attack. (Standard targeting.)
  325.  
  326. If self has taken 3 actions:
  327. 34% chance to hatch into a Clionean.
  328. 35% chance to hatch into a Insectortoise.
  329. 5% chance to cast Shell (Level 3). (Targets self.)
  330. 26% chance to use a regular attack. (Standard targeting.)
  331.  
  332. Else:
  333. 49% chance to hatch into a Clionean.
  334. 51% chance to hatch into a Insectortoise.
  335.  
  336. If there are 3 or less enemies in the battle:
  337. If self has taken 0 actions:
  338. 9% chance to hatch into a Clionean.
  339. 5% chance to hatch into a Longicorn.
  340. 5% chance to hatch into a Insectortoise.
  341. 70% chance to cast Shell (Level 3). (Targets self.)
  342. 11% chance to use a regular attack. (Standard targeting.)
  343.  
  344. If self has taken 1 action:
  345. 14% chance to hatch into a Clionean.
  346. 10% chance to hatch into a Longicorn.
  347. 10% chance to hatch into a Insectortoise.
  348. 30% chance to cast Shell (Level 3). (Targets self.)
  349. 36% chance to use a regular attack. (Standard targeting.)
  350.  
  351. If self has taken 2 actions:
  352. 19% chance to hatch into a Clionean.
  353. 30% chance to hatch into a Longicorn.
  354. 10% chance to hatch into a Insectortoise.
  355. 10% chance to cast Shell (Level 3). (Targets self.)
  356. 31% chance to use a regular attack. (Standard targeting.)
  357.  
  358. If self has taken 3 actions:
  359. 24% chance to hatch into a Clionean.
  360. 25% chance to hatch into a Longicorn.
  361. 25% chance to hatch into a Insectortoise.
  362. 5% chance to cast Shell (Level 3). (Targets self.)
  363. 21% chance to use a regular attack. (Standard targeting.)
  364.  
  365. Else:
  366. 34% chance to hatch into a Clionean.
  367. 35% chance to hatch into a Longicorn.
  368. 31% chance to hatch into a Insectortoise.
  369.  
  370. Else:
  371. If self has taken 0 actions:
  372. 9% chance to hatch into a Clionean.
  373. 10% chance to hatch into a Insectortoise.
  374. 70% chance to cast Shell (Level 3). (Targets self.)
  375. 11% chance to use a regular attack. (Standard targeting.)
  376.  
  377. If self has taken 1 action:
  378. 19% chance to hatch into a Clionean.
  379. 15% chance to hatch into a Insectortoise.
  380. 30% chance to cast Shell (Level 3). (Targets self.)
  381. 36% chance to use a regular attack. (Standard targeting.)
  382.  
  383. If self has taken 2 actions:
  384. 29% chance to hatch into a Clionean.
  385. 30% chance to hatch into a Insectortoise.
  386. 10% chance to cast Shell (Level 3). (Targets self.)
  387. 31% chance to use a regular attack. (Standard targeting.)
  388.  
  389. If self has taken 3 actions:
  390. 34% chance to hatch into a Clionean.
  391. 35% chance to hatch into a Insectortoise.
  392. 5% chance to cast Shell (Level 3). (Targets self.)
  393. 26% chance to use a regular attack. (Standard targeting.)
  394.  
  395. Else:
  396. 49% chance to hatch into a Clionean.
  397. 51% chance to hatch into a Insectortoise.
  398.  
  399. If there is at least 1 Omnivore or at least 1 Insectortoise in the battle:
  400. If self has taken 0 actions:
  401. If Hatch does not get cast:
  402. 19% chance to hatch into a Insectortoise.
  403. 70% chance to cast Shell (Level 3). (Targets self.)
  404. 11% chance to use a regular attack. (Standard targeting.)
  405.  
  406. Else:
  407. 79% chance to cast Shell (Level 3). (Targets self.)
  408. 21% chance to use a regular attack. (Standard targeting.)
  409.  
  410. If self has taken 1 actions:
  411. If Hatch does not get cast:
  412. 49% chance to hatch into a Insectortoise.
  413. 15% chance to cast Shell (Level 3). (Targets self.)
  414. 36% chance to use a regular attack. (Standard targeting.)
  415.  
  416. Else:
  417. 29% chance to cast Shell (Level 3). (Targets self.)
  418. 71% chance to use a regular attack. (Standard targeting.)
  419.  
  420. If self has taken 2 actions:
  421. If Hatch does not get cast:
  422. 69% chance to hatch into a Insectortoise.
  423. 15% chance to cast Shell (Level 3). (Targets self.)
  424. 16% chance to use a regular attack. (Standard targeting.)
  425.  
  426. Else:
  427. 14% chance to cast Shell (Level 3). (Targets self.)
  428. 86% chance to use a regular attack. (Standard targeting.)
  429.  
  430. If Hatch does not get cast, hatch into a Insectortoise.
  431.  
  432. Else:
  433. 9% chance to cast Shell (Level 3). (Targets self.)
  434. 91% chance to use a regular attack. (Standard targeting.)
  435.  
  436. If there is at least 1 Longicorn in the battle:
  437. If self has taken 0 actions:
  438. If Hatch does not get cast:
  439. 19% chance to hatch into a Longicorn.
  440. 70% chance to cast Shell (Level 3). (Targets self.)
  441. 11% chance to use a regular attack. (Standard targeting.)
  442.  
  443. Else:
  444. 79% chance to cast Shell (Level 3). (Targets self.)
  445. 21% chance to use a regular attack. (Standard targeting.)
  446.  
  447. If self has taken 1 actions:
  448. If Hatch does not get cast:
  449. 49% chance to hatch into a Longicorn.
  450. 15% chance to cast Shell (Level 3). (Targets self.)
  451. 36% chance to use a regular attack. (Standard targeting.)
  452.  
  453. Else:
  454. 29% chance to cast Shell (Level 3). (Targets self.)
  455. 71% chance to use a regular attack. (Standard targeting.)
  456.  
  457. If self has taken 2 actions:
  458. If Hatch does not get cast:
  459. 69% chance to hatch into a Longicorn.
  460. 15% chance to cast Shell (Level 3). (Targets self.)
  461. 16% chance to use a regular attack. (Standard targeting.)
  462.  
  463. Else:
  464. 14% chance to cast Shell (Level 3). (Targets self.)
  465. 86% chance to use a regular attack. (Standard targeting.)
  466.  
  467. If Hatch does not get cast, hatch into a Longicorn.
  468.  
  469. Else:
  470. 9% chance to cast Shell (Level 3). (Targets self.)
  471. 91% chance to use a regular attack. (Standard targeting.)
  472.  
  473. If there is at least 1 Clionean in the battle:
  474. If self has taken 0 actions:
  475. If Hatch does not get cast:
  476. 19% chance to hatch into a Clionean.
  477. 70% chance to cast Shell (Level 3). (Targets self.)
  478. 11% chance to use a regular attack. (Standard targeting.)
  479.  
  480. Else:
  481. 79% chance to cast Shell (Level 3). (Targets self.)
  482. 21% chance to use a regular attack. (Standard targeting.)
  483.  
  484. If self has taken 1 actions:
  485. If Hatch does not get cast:
  486. 49% chance to hatch into a Clionean.
  487. 15% chance to cast Shell (Level 3). (Targets self.)
  488. 36% chance to use a regular attack. (Standard targeting.)
  489.  
  490. Else:
  491. 29% chance to cast Shell (Level 3). (Targets self.)
  492. 71% chance to use a regular attack. (Standard targeting.)
  493.  
  494. If self has taken 2 actions:
  495. If Hatch does not get cast:
  496. 69% chance to hatch into a Clionean.
  497. 15% chance to cast Shell (Level 3). (Targets self.)
  498. 16% chance to use a regular attack. (Standard targeting.)
  499.  
  500. Else:
  501. 14% chance to cast Shell (Level 3). (Targets self.)
  502. 86% chance to use a regular attack. (Standard targeting.)
  503.  
  504. If Hatch does not get cast, hatch into a Clionean.
  505.  
  506. Else:
  507. 9% chance to cast Shell (Level 3). (Targets self.)
  508. 91% chance to use a regular attack. (Standard targeting.)
  509.  
  510. If self has taken 0 actions:
  511. 6% chance to hatch into a Clionean.
  512. 7% chance to hatch into a Insectortoise.
  513. 7% chance to hatch into a Longicorn.
  514. 70% chance to cast Shell (Level 3). (Targets self.)
  515. 10% chance to use a regular attack. (Standard targeting.)
  516.  
  517. If self has taken 1 action:
  518. 14% chance to hatch into a Clionean.
  519. 15% chance to hatch into a Longicorn.
  520. 15% chance to hatch into a Insectortoise.
  521. 25% chance to cast Shell (Level 3). (Targets self.)
  522. 31% chance to use a regular attack. (Standard targeting.)
  523.  
  524. If self has taken 2 actions:
  525. 24% chance to hatch into a Clionean.
  526. 25% chance to hatch into a Longicorn.
  527. 25% chance to hatch into a Insectortoise.
  528. 10% chance to cast Shell (Level 3). (Targets self.)
  529. 16% chance to use a regular attack. (Standard targeting.)
  530.  
  531. Else:
  532. 32% chance to hatch into a Clionean.
  533. 33% chance to hatch into a Longicorn.
  534. 35% chance to hatch into a Insectortoise.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement