Advertisement
DrFetus

Ur-Devil

Jan 14th, 2020
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.30 KB | None | 0 0
  1. Ur-Devil
  2. ========
  3. [NOTE: Call Ally level 1 activates battle flag 2, Call Ally level 2 activates battle flag 4, Call Ally levels 3 and 4 activates battle flag 6, Lost in Sadness activates battle flag 27, and Amplify activates battle flag 29.
  4.  
  5. Counter 1: Turn count within a phase.
  6. Counter 2: Number of times the phase has looped.
  7. Counter 3: Number of times the Ur-Eyes have been summoned.
  8. Counter 4: Phase number.]
  9.  
  10. Cap the duration of Panic to 3 turns.
  11. Cap the duration of Fear to 3 turns.
  12. Cap the duration of Paralysis to 4 turns.
  13. Cap the duration of Blind to 4 turns.
  14. Cap the duration of Head Bind to 4 turns.
  15. Cap the duration of Arm Bind to 4 turns.
  16. Cap the duration of Leg Bind to 4 turns.
  17.  
  18. Run this AI script the moment it's the user's turn.
  19.  
  20. If it is not the end of the turn and not the start of the turn:
  21. If anyone cast Perfect Defense or True Endurance, activate user flag 15.
  22. If user flag 9 is not active, set counter 4 to 1. Activate user flag 9.
  23. Add 1 to counter 1.
  24.  
  25. End of turn parameters:
  26. If the difficulty is set to Picnic:
  27. If HP is below 51%, and none of the Ur-Eyes are in the battle, user flag 14 is not active, and counter 3 is equal to 0, cast Call Ally (Level 1). (Targets self.) Display message: "The Ur-Eye is opening!"
  28. If it is the moment of the user's turn, set counters 1 and 2 to 0, set counter 4 to 2, set counter 3 to 1, deactivate user flags 4, 5, and 10, and activate user flag 14.
  29.  
  30. If the difficulty is set to Standard:
  31. If HP is below 66%, and none of the Ur-Eyes are in the battle, user flag 14 is not active, and counter 3 is equal to 0, cast Call Ally (Level 1). (Targets self.) Display message: "The Ur-Eye is opening!"
  32. If it is the moment of the user's turn, set counters 1 and 2 to 0, set counter 4 to 2, set counter 3 to 1, deactivate user flags 4, 5, and 10, and activate user flag 14.
  33.  
  34. If HP is below 31%, and none of the Ur-Eyes are in the battle, user flag 14 is not active, and counter 3 is equal to 1, cast Call Ally (Level 2). (Targets self.) Display message: "The Ur-Eye is opening!"
  35. If it is the moment of the user's turn, set counters 1 and 2 to 0, set counter 4 to 4, set counter 3 to 2, activate user flag 14, and deactivate user flags 10, 4, 5, and 6.
  36.  
  37. If HP is below 31%, or counter 1 is equal to 12 or above:
  38. If none of the Ur-Eyes are in the battle, user flag 14 is not active, and counter 3 is equal to 2, cast Call Ally (Level 3). (Targets self.) Display message: "The Ur-Eye is opening!"
  39. If it is the moment of the user's turn, set counters 1 and 2 to 0, set counter 4 to 6, set counter 3 to 3, activate user flag 14, and deactivate user flags 10, 4, 5, and 6.
  40.  
  41. If HP is below 51%, and none of the Ur-Eyes are in the battle, user flag 14 is not active, and counter 3 is equal to 1, cast Call Ally (Level 2). (Targets self.) Display message: "The Ur-Eye is opening!"
  42. If it is the moment of the user's turn, set counters 1 and 2 to 0, set counter 4 to 4, set counter 3 to 2, activate user flag 14, and deactivate user flags 10, 4, 5, and 6.
  43.  
  44. If HP is below 76%, and none of the Ur-Eyes are in the battle, user flag 14 is not active, and counter 3 is equal to 0, cast Call Ally (Level 1). (Targets self.) Display message: "The Ur-Eye is opening!"
  45. If it is the moment of the user's turn, set counters 1 and 2 to 0, set counter 4 to 2, set counter 3 to 1, deactivate user flags 4, 5, and 10, and activate user flag 14.
  46.  
  47. If counter 4 is equal to 1 and counter 1 is equal to 5:
  48. If counter 2 is equal to 0, cast Strongman's Glory. (Targets the front row.)
  49. If it is the moment of the user's turn, set counter 1 to 1, and add 1 to counter 2.
  50.  
  51. If counter 2 is equal to 2, and the difficulty is not set to Picnic, cast Twilight's Gleam. (Standard targeting.)
  52. If it is the moment of the user's turn, set counter 1 to 1, and add 1 to counter 2.
  53.  
  54. If it is the moment of the user's turn, set counter 1 to 1, and add 1 to counter 2.
  55.  
  56. If counter 4 is equal to 2:
  57. If user flag 15 is active, cast Twilight's Gleam. (Standard targeting.)
  58. If none of the Ur-Eyes are in the battle, user flag 10 is active, and it is the moment of the user's turn, set counter 1 to 0, deactivate user flags 15, 10, and 8.
  59. If the difficulty is not set to Picnic, set counter 4 to 3.
  60. Else, set counter 4 to 1.
  61.  
  62. Deactivate user flag 15.
  63.  
  64. If none of the Ur-Eyes are in the battle:
  65. If user flag 10 is active, do nothing. (Targets self.)
  66. If it is the moment of the user's turn, set counter 1 to 0, deactivate user flags 10 and 8.
  67. If the difficulty is not set to Picnic, set counter 4 to 3.
  68. Else, set counter 4 to 1.
  69.  
  70. Cast Amplify. (Targets self.) Display message: "Power is gathering at Ur-Devil...!"
  71. If it is the moment of the user's turn, set counter 1 to 6.
  72.  
  73. If counter 1 is equal to or greater than 6, cast Amplify. (Targets self.) Display message: "Power is gathering at Ur-Devil...!"
  74. If counter 1 is equal to 1, cast Darkness Shroud. (Standard targeting.)
  75.  
  76. If counter 4 is equal to 3:
  77. If counter 1 is equal to 1 and counter 2 is equal to 0, cast Sunlight's Dawn. (Standard targeting.)
  78. If counter 1 is equal to 5:
  79. If counter 2 is equal to 0, cast Recluse's Glory. (Targets the back row.)
  80. If it is the moment of the user's turn, set counter 1 to 0, and add 1 to counter 2.
  81.  
  82. If counter 2 is equal to 2, and the difficulty is not set to Picnic, cast Twilight's Gleam. (Standard targeting.)
  83. If it is the moment of the user's turn, set counter 1 to 0, and add 1 to counter 2.
  84.  
  85. If it is the moment of the user's turn, set counter 1 to 0, and add 1 to counter 2.
  86.  
  87. If counter 4 is equal to 4:
  88. If user flag 15 is active, cast Twilight's Gleam. (Standard targeting.)
  89. If none of the Ur-Eyes are in the battle, user flag 10 is active, and it is the moment of the user's turn, set counter 1 to 0, deactivate user flags 15, 10, and 8.
  90. If the difficulty is set to Expert, set counter 4 to 5.
  91. Else, set counter 4 to 3.
  92.  
  93. Deactivate user flag 15.
  94.  
  95. If none of the Ur-Eyes are in the battle:
  96. If user flag 10 is active, do nothing. (Targets self.)
  97. If it is the moment of the user's turn, set counter 1 to 0, deactivate user flags 10 and 8.
  98. If the difficulty is set to Expert, set counter 4 to 5.
  99. Else, set counter 4 to 3.
  100.  
  101. Cast Amplify. (Targets self.) Display message: "Power is gathering at Ur-Devil...!"
  102. If it is the moment of the user's turn, set counter 1 to 6.
  103.  
  104. If counter 1 is equal to or greater than 6, cast Amplify. (Targets self.) Display message: "Power is gathering at Ur-Devil...!"
  105. If counter 1 is equal to 1, cast Darkness Shroud. (Standard targeting.)
  106.  
  107. If counter 4 is equal to 5:
  108. If counter 1 is equal to 1, 4, 7, or 10, cast Lost in Sadness. (Targets self.) Display message: "Ur-Devil is lost in sadness..."
  109. Else, deactivate battle flag 27.
  110.  
  111. If counter 4 is equal to 6:
  112. If user flag 15 is active, cast Twilight's Gleam. (Standard targeting.)
  113. If none of the Ur-Eyes are in the battle, user flag 10 is active, and it is the moment of the user's turn, set counter 4 to 7, set counter 1 to 0, deactivate user flags 15, 10, and 8.
  114. Deactivate user flag 15.
  115.  
  116. If counter 1 is equal to or greater than 3, and counter 3 is equal to 3, cast Call Ally (Level 4). (Targets self.) Display message: "The Ur-Eye is opening!" set counter 3 to 4.
  117. If none of the Ur-Eyes are in the battle:
  118. If user flag 10 is active, do nothing. (Targets self.)
  119. If it is the moment of the user's turn, set counter 4 to 7, set counter 1 to 0, deactivate user flags 10 and 8.
  120.  
  121. If counter 1 is equal to or greater than 1, cast Amplify. (Targets self.) Display message: "Power is gathering at Ur-Devil...!"
  122. Else, cast Amplify. (Targets self.) Display message: "Power is gathering at Ur-Devil...!"
  123.  
  124. If counter 1 is equal to or greater than 6, cast Amplify. (Targets self.) Display message: "Power is gathering at Ur-Devil...!"
  125. If counter 1 is equal to 1, cast Realm of Death. (Standard targeting.)
  126.  
  127. If counter 4 is equal to 7:
  128. If counter 1 is equal to 7, and counter 2 is equal to 0, set counter 1 to 1, and add 1 to counter 2, then:
  129. If user flag 4 is active, deactivate user flag 4, then:
  130. 50% chance to activate user flag 5.
  131. 50% chance to activate user flag 6.
  132.  
  133. If user flag 5 is active, deactivate user flag 5, then:
  134. 50% chance to activate user flag 4.
  135. 50% chance to activate user flag 6.
  136.  
  137. Else:
  138. 50% chance to deactivate user flag 6 and activate user flag 4.
  139. 50% chance to deactivate user flag 6 and activate user flag 5.
  140.  
  141. If counter 1 is equal to 1, 4, 7, or 10, cast Lost in Sadness. (Targets self.) Display message: "Ur-Devil is lost in sadness..."
  142. Else, deactivate battle flag 27.
  143.  
  144. If counter 1 is equal to 2, cast Strongman's Glory. (Targets the front row.)
  145. If counter 1 is equal to 3, cast Realm of Death. (Standard targeting.)
  146. If counter 1 is equal to or greater than 10, cast Amplify. (Targets self.) Display message: "Power is gathering at Ur-Devil...!"
  147. Else, do nothing. (Targets self.)
  148.  
  149. If counter 4 is equal to 7:
  150. If counter 1 is equal to 1, cast Sunlight's Dawn. (Standard targeting.)
  151. If counter 1 is equal to 2, cast Shed thy Tears. (Targets the front row.)
  152. If counter 1 is equal to 3:
  153. If user flags 4, 5, and 6 are not active:
  154. 33% chance to activate user flag 4.
  155. 33% chance to activate user flag 5.
  156. 34% chance to activate user flag 6.
  157.  
  158. If user flag 4 is active, cast My Wrath (Level 2). (Standard targeting.) If it is the moment of the user's turn, 50% chance to activate user flag 7.
  159. If user flag 5 is active, cast Despise Solitude. (Standard targeting.) If it is the moment of the user's turn, 50% chance to activate user flag 7.
  160. Else, cast My Sorrow (Level 2). (Standard targeting.) If it is the moment of the user's turn, 50% chance to activate user flag 7.
  161.  
  162. If counter 1 is equal to 4:
  163. If user flag 4 is active:
  164. If user flag 7 is active, My Mercy (Level 2). (Standard targeting.)
  165. Else, cast Null thy Strength (Level 2). (Standard targeting.)
  166.  
  167. If user flag 5 is active:
  168. If user flag 7 is active, My Mercy (Level 2). (Standard targeting.)
  169. Else, cast Behold my Power (Level 2). (Standard targeting.)
  170.  
  171. If user flag 7 is active, Pity the Weak (Level 2). (Standard targeting.)
  172. Else, cast My Wrath (Level 2). (Standard targeting.)
  173.  
  174. If counter 1 is equal to 5, cast Shed thy Tears. (Targets the back row.)
  175. If counter 1 is equal to 6:
  176. If user flag 4 is active:
  177. If user flag 7 is active:
  178. 50% chance to cast Behold my Power (Level 2). (Standard targeting.)
  179. 50% chance to cast Dance with Lunacy (Level 2). (Standard targeting.)
  180.  
  181. Else, cast My Sorrow (Level 2). (Standard targeting.)
  182.  
  183. If user flag 5 is active:
  184. If user flag 7 is active, cast Dance with Lunacy (Level 2). (Standard targeting.)
  185. Else, cast My Wrath (Level 2). (Standard targeting.)
  186.  
  187. If user flag 7 is active, cast My Mercy (Level 2). (Standard targeting.)
  188. Else:
  189. 50% chance to cast Behold my Power (Level 2). (Standard targeting.)
  190. 50% chance to cast Dance with Lunacy (Level 2). (Standard targeting.)
  191.  
  192. If counter 1 is equal to 7:
  193. If user flag 4 is active:
  194. 50% chance to cast Pity the Weak (Level 2). (Targets the front row.)
  195. 50% chance to cast Howling Winds (Level 2). (Standard targeting.)
  196.  
  197. If user flag 5 is active:
  198. 50% chance to cast Null thy Strength (Level 2). (Targets the front row.)
  199. 50% chance to cast Howling Winds (Level 2). (Standard targeting.)
  200.  
  201. Else:
  202. 50% chance to cast Null thy Strength (Level 2). (Targets the front row.)
  203. 50% chance to cast Howling Winds (Level 2). (Standard targeting.)
  204.  
  205. If counter 1 is equal to 8, cast Shed thy Tears. (Targets the front row.)
  206. If counter 1 is equal to 9:
  207. If it is the moment of the user's turn:
  208. If user flag 12 is active, cast Value of Solitude (Level 2). (Standard targeting.) Deactivate user flag 12.
  209. Else, cast Despise Solitude. (Standard targeting.)
  210.  
  211. If at least 1 party member is dead, cast Despise Solitude. (Standard targeting.)
  212. Else, cast Value of Solitude (Level 2). (Standard targeting.) Activate user flag 12.
  213.  
  214. If counter 1 is equal to 10, cast Howling Winds (Level 2). (Standard targeting.)
  215. If counter 1 is equal to or greater than 11:
  216. If battle flag 29 is active, cast Eternal Exodus (Level 2). (Standard targeting.) If it is the moment of the user's turn, activate user flag 10. Deactivate user flag 14.
  217. Else, cast Eternal Exodus (Level 2). (Standard targeting.)
  218.  
  219. Else, cast Eternal Exodus (Level 2). (Standard targeting.)
  220.  
  221. If counter 4 is equal to 6:
  222. If counter 1 is equal to 1:
  223. If HP is below 6%, cast Noble Rest (Level 10). (Targets self.)
  224. If HP is below 11%, cast Noble Rest (Level 8). (Targets self.)
  225. If HP is below 16%, cast Noble Rest (Level 5). (Targets self.)
  226. If HP is below 21%, cast Noble Rest (Level 3). (Targets self.)
  227. Else, cast Noble Rest (Level 1). (Targets self.)
  228.  
  229. If counter 1 is equal to 2, cast Dance with Lunacy (Level 2). (Standard targeting.)
  230. If counter 1 is equal to 2, cast Dance with Lunacy (Level 2). (Standard targeting.)
  231. If counter 1 is equal to 3, cast Know thy Reason. (Standard targeting.)
  232. If counter 1 is equal to 4, cast Despise Solitude. (Standard targeting.)
  233. If counter 1 is equal to 5, cast Value of Solitude (Level 2). (Standard targeting.)
  234. If counter 1 is equal to 6, cast Know thy Reason. (Standard targeting.)
  235. If counter 1 is equal to or greater than 7:
  236. If battle flag 29 is active, cast Eternal Exodus (Level 2). (Standard targeting.) If it is the moment of the user's turn, activate user flag 10. Deactivate user flag 14.
  237. Else, cast Howling Winds (Level 2). (Standard targeting.)
  238.  
  239. If counter 4 is equal to 5:
  240. If counter 1 is equal to 1, cast Release my Power. (Targets self.)
  241. If counter 1 is equal to 2:
  242. If user flags 4, 5, and 6 are not active:
  243. 33% chance to activate user flag 4.
  244. 33% chance to activate user flag 5.
  245. 34% chance to activate user flag 6.
  246.  
  247. Cast Shed thy Tears. (Targets the front row.)
  248.  
  249. If counter 1 is equal to 3:
  250. If user flag 4 is active, cast My Wrath (Level 2). (Standard targeting.) If it is the moment of the user's turn, 50% chance to activate user flag 7.
  251. If user flag 5 is active, cast My Sorrow (Level 2). (Standard targeting.) If it is the moment of the user's turn, 50% chance to activate user flag 7.
  252. Else, cast My Mercy (Level 2). (Standard targeting.) If it is the moment of the user's turn, 50% chance to activate user flag 7.
  253.  
  254. If counter 1 is equal to 4:
  255. If user flag 4 is active:
  256. If user flag 7 is active, cast My Sorrow (Level 2). (Standard targeting.)
  257. Else, cast Despise Solitude. (Standard targeting.)
  258.  
  259. If user flag 5 is active:
  260. If user flag 7 is active, cast My Mercy (Level 2). (Standard targeting.)
  261. Else, cast Despise Solitude. (Standard targeting.)
  262.  
  263. If user flag 7 is active, cast My Anger (Level 2). (Standard targeting.)
  264. Else, cast Despise Solitude. (Standard targeting.)
  265.  
  266. If counter 1 is equal to 5, cast Shed thy Tears. (Targets the back row.)
  267. If counter 1 is equal to 6:
  268. If user flag 4 is active:
  269. If user flag 7 is active, cast Despise Solitude. (Standard targeting.)
  270. Else, cast My Sorrow (Level 2). (Standard targeting.)
  271.  
  272. If user flag 4 is active:
  273. If user flag 7 is active, cast Despise Solitude. (Standard targeting.)
  274. Else, cast My Mercy (Level 2). (Standard targeting.)
  275.  
  276. If user flag 7 is active, cast Despise Solitude. (Standard targeting.)
  277. Else, cast My Wrath (Level 2). (Standard targeting.)
  278.  
  279. If counter 1 is equal to 7:
  280. If user flag 4 is active, cast My Mercy (Level 2). (Standard targeting.)
  281. If user flag 5 is active, cast My Wrath (Level 2). (Standard targeting.)
  282. Else, cast My Sorrow (Level 2). (Standard targeting.)
  283.  
  284. If counter 1 is equal to 8, cast Shed thy Tears. (Targets the front row.)
  285. If counter 1 is equal to 9:
  286. 50% chance to cast Pity the Weak (Level 2). (Targets the front row.)
  287. 50% chance to cast Null thy Strength (Level 2). (Standard targeting.)
  288.  
  289. If counter 1 is equal to 10, cast Howling Winds (Level 2). (Standard targeting.)
  290. If counter 1 is equal to 11, cast Shed thy Tears. (Targets the back row.)
  291. If counter 1 is equal to or greater than 12, cast Sunlight's Dawn. (Standard targeting.) If it is the moment of the user's turn, activate user flag 11.
  292. Else, cast Eternal Exodus (Level 2). (Standard targeting.)
  293.  
  294. If counter 4 is equal to 4:
  295. If counter 1 is equal to 1:
  296. If the difficulty is set to Standard, cast Noble Rest (Level 2). (Targets self.)
  297. If HP is below 21%, cast Noble Rest (Level 12). (Targets self.)
  298. If HP is below 31%, cast Noble Rest (Level 8). (Targets self.)
  299. If HP is below 41%, cast Noble Rest (Level 4). (Targets self.)
  300. Else, cast Noble Rest (Level 2). (Targets self.)
  301.  
  302. If counter 1 is equal to 2, cast Dance with Lunacy (Level 2). (Standard targeting.)
  303. If counter 1 is equal to 3, cast Know thy Reason. (Standard targeting.)
  304. If counter 1 is equal to 4, cast Despise Solitude. (Standard targeting.)
  305. If counter 1 is equal to 5, cast Value of Solitude (Level 2). (Standard targeting.)
  306. If counter 1 is equal to 6, cast Know thy Reason. (Standard targeting.)
  307. If counter 1 is equal to or greater than 7:
  308. If battle flag 29 is active, cast Eternal Exodus (Level 2). (Standard targeting.) If it is the moment of the user's turn, activate user flag 10. Deactivate user flag 14.
  309. Else, cast Howling Winds (Level 2). (Standard targeting.)
  310.  
  311. If counter 4 is equal to 3:
  312. If counter 1 is equal to 1, cast Value of Solitude (Level 2). (Standard targeting.)
  313. If counter 1 is equal to 2:
  314. If user flags 4, 5, and 6 are not active:
  315. 33% chance to activate user flag 4.
  316. 33% chance to activate user flag 5.
  317. 34% chance to activate user flag 6.
  318.  
  319. If user flag 4 is active, cast My Wrath (Level 2). (Standard targeting.)
  320. If user flag 5 is active, cast Howling Winds (Level 2). (Standard targeting.)
  321. Else, cast My Mercy (Level 2). (Standard targeting.)
  322.  
  323. If counter 1 is equal to 3:
  324. If user flags 4 or 6 are active, cast Howling Winds (Level 2). (Standard targeting.)
  325. If user flag 5 is active, cast Despise Solitude. (Standard targeting.)
  326.  
  327. If counter 1 is equal to 4:
  328. If user flags 4 or 6 are active, cast Despise Solitude. (Standard targeting.)
  329. If user flag 5 is active, cast My Sorrow (Level 2). (Standard targeting.)
  330.  
  331. If counter 1 is equal to 5, cast Dance with Lunacy (Level 2). (Standard targeting.) Then:
  332. If it is not of the moment of the user's turn:
  333. If user flag 4 is active, deactivate user flag 4. Activate user flag 5.
  334. If user flag 5 is active, deactivate user flag 5. Activate user flag 6.
  335. Else, deactivate user flag 6. Activate user flag 4.
  336.  
  337. Else, cast Eternal Exodus (Level 2). (Standard targeting.) Then:
  338. If it is not of the moment of the user's turn:
  339. If user flag 4 is active, deactivate user flag 4. Activate user flag 5.
  340. If user flag 5 is active, deactivate user flag 5. Activate user flag 6.
  341. Else, deactivate user flag 6. Activate user flag 4.
  342.  
  343. If counter 4 is equal to 2:
  344. If counter 1 is equal to 1:
  345. If the difficulty is set to Picnic, cast Noble Rest (Level 2). (Targets self.)
  346. If the difficulty is set to Standard, cast Noble Rest (Level 2). (Targets self.)
  347. If HP is below 36%, cast Noble Rest (Level 14). (Targets self.)
  348. If HP is below 51%, cast Noble Rest (Level 10). (Targets self.)
  349. If HP is below 61%, cast Noble Rest (Level 8). (Targets self.)
  350. Else, cast Noble Rest (Level 2). (Targets self.)
  351.  
  352. If counter 1 is equal to 2, cast Dance with Lunacy (Level 2). (Standard targeting.)
  353. If counter 1 is equal to 3, cast Know thy Reason. (Standard targeting.)
  354. If counter 1 is equal to 4, cast Howling Winds (Level 2). (Standard targeting.)
  355. If counter 1 is equal to 5, cast Howling Winds (Level 2). (Standard targeting.)
  356. If counter 1 is equal to 6, cast Know thy Reason. (Standard targeting.)
  357. If counter 1 is equal to or greater than 7:
  358. If battle flag 29 is active, cast Eternal Exodus (Level 2). (Standard targeting.) If it is the moment of the user's turn, activate user flag 10. Deactivate user flag 14.
  359. Else, cast Howling Winds (Level 2). (Standard targeting.)
  360.  
  361. If counter 1 is equal to 1, cast Selfless Strength. (Standard targeting.)
  362. If counter 1 is equal to 2:
  363. If counter 2 is equal to 0:
  364. 50% chance to cast Behold my Power (Level 2). (Standard targeting.) If is the moment of the user's turn, activate user flag 4.
  365. 50% chance to cast Null thy Strength (Level 2). (Standard targeting.) If is the moment of the user's turn, activate user flag 5.
  366.  
  367. If user flag 4 is active, cast Null thy Strength (Level 2). (Standard targeting.) If is the moment of the user's turn, deactivate user flag 4. Activate user flag 5.
  368. Else, cast Behold my Power (Level 2). (Standard targeting.) If is the moment of the user's turn, deactivate user flag 5. Activate user flag 4.
  369.  
  370. If counter 1 is equal to 3:
  371. If counter 2 is equal to 0:
  372. 33% chance to cast My Wrath (Level 2). (Standard targeting.) If is the moment of the user's turn, activate user flag 2.
  373. 33% chance to cast My Sorrow (Level 2). (Standard targeting.) If is the moment of the user's turn, activate user flag 3.
  374. 34% chance to cast My Mercy (Level 2). (Standard targeting.) If is the moment of the user's turn, activate user flag 1.
  375.  
  376. If user flag 1 is active, cast My Wrath (Level 2). (Standard targeting.) If it is the moment of the user's turn, deactivate user flags 1 and 3. Activate user flag 2.
  377. If user flag 2 is active, cast My Sorrow (Level 2). (Standard targeting.) If it is the moment of the user's turn, deactivate user flags 2 and 1. Activate user flag 3.
  378. If user flag 3 is active, cast My Mercy (Level 2). (Standard targeting.) If it is the moment of the user's turn, deactivate user flags 3 and 2. Activate user flag 1.
  379.  
  380. If counter 1 is equal to 4:
  381. If user flag 4 is active, cast Pity the Weak (Level 2). (Targets the front row.)
  382. Else, cast Dance with Lunacy (Level 2). (Standard targeting.)
  383.  
  384. Else, cast Howling Winds (Level 2). (Standard targeting.)
  385.  
  386. Ur-Eye [Red]
  387. ============
  388. Cap the duration of Panic to 3 turns.
  389. Cap the duration of Fear to 3 turns.
  390. Cap the duration of Paralysis to 4 turns.
  391. Cap the duration of Blind to 4 turns.
  392. Cap the duration of Head Bind to 4 turns.
  393. Cap the duration of Arm Bind to 4 turns.
  394. Cap the duration of Leg Bind to 4 turns.
  395.  
  396. If user flag 1 is not active, and none of the blue and yellow Ur-Eyes are in the battle, activate user flag 1.
  397.  
  398. If user flag 2 is not active, and all of the Ur-Eyes are in the battle, deactivate user flag 1, activate user flag 2.
  399.  
  400. If battle flag 6 is active:
  401. If self's action counter is at 1:
  402. If the party members in slots 1 and 2 are alive, cast Death's Glimmer. (Targets the party member in slot 3.)
  403. If the party members in slots 1 and 2 are not alive:
  404. If the party members in slots 3 and 4 are alive, cast Death's Glimmer. (Targets the party member in slot 5.)
  405. Else, cast Death's Glimmer. (Targets the party member in slot 6.)
  406.  
  407. If the party members in slots 1 or 2 are not alive:
  408. If the party member in slot 3 is alive, cast Death's Glimmer. (Targets the party member in slot 4.)
  409. If the party member in slot 4 is alive, cast Death's Glimmer. (Targets the party member in slot 5.)
  410. If the party member in slot 5 is alive, cast Death's Glimmer. (Targets the party member in slot 6.)
  411. Else, cast Death's Glimmer. (Targets the party member in slot 1.)
  412.  
  413. Else, do nothing. (Targets self.) Set self's action counter to 0.
  414.  
  415. If battle flag 2 is active:
  416. If self's action counter is at 1, cast Death's Glimmer. (Targets the party member in slot 1.)
  417. Else, do nothing. (Targets self.) Set self's action counter to 0.
  418.  
  419. Else, do nothing. (Targets self.) Set self's action counter to 0.
  420.  
  421. Ur-Eye [Blue]/[Yellow]
  422. ======================
  423. Cap the duration of Panic to 3 turns.
  424. Cap the duration of Fear to 3 turns.
  425. Cap the duration of Paralysis to 4 turns.
  426. Cap the duration of Blind to 4 turns.
  427. Cap the duration of Head Bind to 4 turns.
  428. Cap the duration of Arm Bind to 4 turns.
  429. Cap the duration of Leg Bind to 4 turns.
  430.  
  431. If user flag 1 is not active, and none of the red Ur-Eyes are in the battle, activate user flag 1.
  432.  
  433. If user flag 2 is not active, and all of the Ur-Eyes are in the battle, deactivate user flag 1, activate user flag 2.
  434.  
  435. If battle flag 6 is active:
  436. If self's action counter is at 1:
  437. If the party members in slots 1 and 2 are alive, cast Death's Glimmer. (Targets the party member in slot 3.)
  438. If the party members in slots 1 and 2 are not alive:
  439. If the party members in slots 3 and 4 are alive, cast Death's Glimmer. (Targets the party member in slot 5.)
  440. Else, cast Death's Glimmer. (Targets the party member in slot 6.)
  441.  
  442. If the party members in slots 1 or 2 are not alive:
  443. If the party member in slot 3 is alive, cast Death's Glimmer. (Targets the party member in slot 4.)
  444. If the party member in slot 4 is alive, cast Death's Glimmer. (Targets the party member in slot 5.)
  445. If the party member in slot 5 is alive, cast Death's Glimmer. (Targets the party member in slot 6.)
  446. Else, cast Death's Glimmer. (Targets the party member in slot 1.)
  447.  
  448. Else, do nothing. (Targets self.) Set self's action counter to 0.
  449.  
  450. If battle flag 4 is active:
  451. If self's action counter is at 1:
  452. If the party member in slot 1 is alive, cast Death's Glimmer. (Targets the party member in slot 2.)
  453. Else, cast Death's Glimmer. (Targets the party member in slot 3.)
  454.  
  455. Else, do nothing. (Targets self.) Set self's action counter to 0.
  456.  
  457. Else, do nothing. (Targets self.) Set self's action counter to 0.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement