Thurler

Touhou Labyrinth 2 Plus Disk Boss AI

Jul 25th, 2020 (edited)
189
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > Shadow Kasen
  2. --------------
  3.  
  4. Every 5 turns:
  5. Breath of the Hermit (Self)
  6. Let H be the remaining HP %
  7. Use a regular spell with chance (H-10)%:
  8. 34% chance Instant Death Attack (A)
  9. 33% chance Attack (A)
  10. 33% chance Poison (A)
  11. Otherwise:
  12. 55% chance Echo of the Nine Forest Gods (A)
  13. 23% chance Diving Waltz of the Raijuu (A)
  14. 22% chance Higekiri's Cursed Arm (A)
  15.  
  16. e.g. at full HP has only 10% chance to use personal spell, half HP has 60%, 10% HP onwards has 100%
  17.  
  18. > Shadow Suika
  19. --------------
  20.  
  21. Once, when HP < 66%:
  22. Throwing Atlas (D)
  23. Once, when HP < 33%:
  24. Throwing Atlas (D)
  25. Let H be the remaining HP %
  26. Use a regular spell with chance (H-25)%:
  27. 34% chance Paralyzing Fog (A)
  28. 33% chance Attack (A)
  29. 33% chance Row Attack (A)
  30. Otherwise:
  31. 40% chance Art of Segaki Binding (A)
  32. 30% chance Throwing Mt.Togakushi (D)
  33. 30% chance Gathering and Dissipating (A)
  34.  
  35. e.g. at full HP has 25% chance to use personal spell, half HP has 75%, 25% HP onwards has 100%
  36.  
  37. > Shadow Yuugi
  38. --------------
  39.  
  40. Every turn:
  41. Knockout in Three Steps (A)
  42.  
  43. > Shadow Kogasa
  44. ---------------
  45.  
  46. If any ally is afflicted with TRR:
  47. Terror Eater (A)
  48. Otherwise:
  49. 36% chance Karakasa Surprising Flash (A)
  50. 18% chance A Rainy Night's Ghost Story (D)
  51. 18% chance Drizzling Large Raindrops (A)
  52. 10% chance Terrifying Wave (A) (Lv.5)
  53. 9% chance Void Flash Claw (A) (Lv.6)
  54. 9% chance Dividing Slash (A) (Lv.10)
  55.  
  56. Note: Terrifying Wave being Lv.5 increases TRR duration from usual 10000 to 30000
  57.  
  58. > Shadow Hina
  59. -------------
  60.  
  61. If Hina has any debuffs on her:
  62. 50% chance Curse Reversal (Self)
  63. If Hina is afflicted with HVY, SIL or TRR:
  64. Spinning Around More Than Usual (Self)
  65. If turn is even:
  66. Misfortune God's Biorhythm (A) (Affects enemies as well)
  67. Otherwise:
  68. 34% chance Piercing Light (A)
  69. 33% chance Old Lady Ohgane's Fire (A)
  70. 33% chance Magical Light (A)
  71.  
  72. > Shadow Parsee
  73. ---------------
  74.  
  75. 20% chance Grudge Returning (A)
  76. 20% chance Jealousy of Kind and Lovely (A)
  77. 12% chance Attack (A)
  78. 12% chance Destroy Magic (A)
  79. 12% chance Black Universe (A)
  80. 12% chance Dividing Slash (A)
  81. 12% chance Midnight Anathema Ritual (A)
  82.  
  83. > Shadow Alice
  84. --------------
  85.  
  86. If this is the first turn:
  87. Resummon Doll (Self) (Lv.2)
  88. Once, when HP < 75%:
  89. Trip Wire (A)
  90. Once, when HP < 60%:
  91. Little Legion (A)
  92. Once, when HP < 30%:
  93. Trip Wire (A)
  94. If there are no dolls remaining:
  95. 80% chance Resummon Doll (Self) (Lv.2)
  96. If there is 1 doll remaining:
  97. 60% chance Resummon Doll (Self) (Lv.2)
  98. If there are 2 dolls remaining:
  99. 40% chance Resummon Doll (Self) (Lv.2)
  100. If there are 3 dolls remaining:
  101. 20% chance Resummon Doll (Self) (Lv.2)
  102. If current HP >= 40% max HP:
  103. 20% chance Red Arrow (B)
  104. 20% chance Magical Light (B)
  105. 20% chance Artful Sacrifice (D)
  106. 14% chance Hanged Hourai Dolls (A)
  107. 13% chance Spark Storm (A)
  108. 13% chance Red Curse (A)
  109. Otherwise:
  110. 35% chance Artful Sacrifice (D)
  111. 20% chance Little Legion (A)
  112. 15% chance Hanged Hourai Dolls (A)
  113. 10% chance Red Arrow (B)
  114. 10% chance Piercing Light (A)
  115. 5% chance Red Curse (A)
  116. 5% chance Spark Storm (A)
  117.  
  118. > Shadow Keine
  119. --------------
  120.  
  121. If turn is odd and Mokou is alive:
  122. With Mokou (Self)
  123. If turn is odd and Mokou is dead:
  124. Were-Hakutaku's Rage (Self)
  125. If turn is a multiple of 6:
  126. 50% chance Three Treasures - Sword (All enemies)
  127. 50% chance Three Treasures - Mirror (All enemies)
  128. If Mokou is alive:
  129. 25% chance New History -Next History- (A)
  130. 25% chance Ancient History -Old History- (A)
  131. 13% chance Gravity Manipulation (A)
  132. 13% chance Light Arrow (A)
  133. 12% chance Dark Arrow (A)
  134. 12% chance Half Moon Slash (A)
  135. Otherwise:
  136. 15% chance New History -Next History- (A)
  137. 15% chance Ancient History -Old History- (A)
  138. 10% chance Row Attack (A)
  139. 10% chance Great Roar (A)
  140. 10% chance Dividing Slash (A)
  141. 10% chance Instant Death Attack (A)
  142. 8% chance Gravity Manipulation (A)
  143. 8% chance Light Arrow (A)
  144. 7% chance Dark Arrow (A)
  145. 7% chance Half Moon Slash (A)
  146.  
  147. > Shadow Mokou
  148. --------------
  149.  
  150. If turn is odd and Keine is alive:
  151. All-Regeneration (All enemies) (Lv.5)
  152. If turn is odd and Keine is dead:
  153. Regeneration (Self) (Lv.12)
  154. If this is the second turn:
  155. Fujiyama Volcano (A)
  156. If [local_c + 0x2e8] flag is set:
  157. Fujiyama Volcano (A)
  158. Otherwise:
  159. 35% chance Fire Bird -Flying Phoenix- (D)
  160. 25% chance Tsuki no Iwakasa's Curse (A)
  161. 8% chance Attack (A)
  162. 8% chance Row Attack (A)
  163. 8% chance Daze (A)
  164. 8% chance Azure Arrow (A)
  165. 8% chance Spark Storm (B)
  166.  
  167. Note/Bug(?): The [local_c + 0x2e8] flag is not set anywhere, I assume this would be set either when Mokou or Keine dies, so that she spams Fujiyama Volcano afterwards. Maybe she resurrected in an earlier version of this fight and that was cut off for balancing reasons? Or maybe 3peso just forgot to set the flag on Keine's death? Hard to know, but the fact is that that flag is not set anywhere.
  168.  
  169. Note/Visual Bug: All-Regeneration regens 5% HP for both Mokou and Keine, but Keine's heal amount is not displayed
  170.  
  171. > Mamizou Futatsuiwa
  172. --------------------
  173.  
  174. Every turn:
  175. Decrease count_pompokolin by 1
  176. Decrease count_transform by 1
  177. If HP < 84% and count_pompokolin <= 0:
  178. Full Moon Pompokolin (A)
  179. Also swaps DEF and MND values
  180. Then sets count_pompokolin to 5
  181. If HP < 70% and count_transform <= 0:
  182. 10 Transformations Danmaku (A)
  183. Also sets all affinities (except VOI) to 150
  184. Then sets a random affinity (excludes VOI) to 60
  185. Then sets count_transform to 8
  186. Let H be the remaining HP %
  187. Follow the regular script with chance (H+20)%:
  188. 15% chance Destroy Magic (A)
  189. 15% chance Grass Knot (A)
  190. 15% chance Razor Wind (A)
  191. 15% chance Leaf Cutting Dance (A)
  192. 10% chance Green Arrow (A)
  193. 10% chance Futatsuiwa Clan's Curse (A)
  194. 10% chance Frolicking Animals Scrolls (A)
  195. 10% chance Healing Power (Self) (Lv.10)
  196. Otherwise, force a personal spell:
  197. 50% chance Futatsuiwa Clan's Curse (A)
  198. 50% chance Frolicking Animals Scrolls (A)
  199.  
  200. Note: If she heals herself over the Pompokolin threshold, she will not use that spell again until you damage her back below the threshold, no matter the counter's value. The same goes for the Transformations threshold
  201.  
  202. e.g. At 50% HP, has a 30% chance to force a personal spell, 1 HP has 80% chance
  203.  
  204. > Shadow Youmu
  205. --------------
  206.  
  207. Every turn:
  208. Set own's PAR and SHK resistance to 80
  209. If turn is a multiple of 11:
  210. Concentrate (Self)
  211. If used Concentrate last turn:
  212. God's Slash of Karma Wind (A)
  213. If Youmu is dead and turn is a multiple of 5:
  214. Slash Clearing the 6 Senses (A)
  215. If Youmu used Concentrate on her last turn:
  216. Loyal? Gardener's Support (Self) (Lv.33)
  217. If current HP >= 40% max HP:
  218. 50% chance Attack (A)
  219. 40% chance Present Life Slash (A)
  220. 10% chance Slash of Eternity (A)
  221. Otherwise:
  222. 42% chance Present Life Slash (A)
  223. 33% chance Attack (A)
  224. 25% chance Slash of Eternity (A)
  225.  
  226. Note/Bug: Youmu should check if Yuyuko is dead so she can use Slash Clearing the 6 Senses every 5 turns, but instead checks if herself is dead, making that condition impossible to trigger. The root of this bug is the instruction IMUL EAX, EDX, 0F (in hex: 6B C2 0F) in her AI, which computes the memory offset to use when checking if someone is dead. Since Youmu occupies slot 15 and Yuyuko slot 16, the instruction should have a 10 instead of a 0F. The same thing happens with the condition to use Loyal? Gardener's Support, Youmu is supposed to buff all her stats by 33% while Yuyuko Concentrates to fire Saigyouji Flawless Nirvana, so she can then destroy whoever survived that with buffed attacks. However, this ends up being impossible to trigger since Youmu checks for her own Concentrate flag, and that gets used by God's Slash of Karma Wind.
  227.  
  228. > Shadow Yuyuko
  229. ---------------
  230.  
  231. If used Concentrate last turn:
  232. Saigyouji Flawless Nirvana (A)
  233. If [empty slot] is alive:
  234. 25% chance Slack Off (All Enemies) (Lv.64)
  235. 15% chance Ghostly Dream's Butterfly (A) (Lv.18)
  236. 15% chance Destroy Magic (A)
  237. 15% chance Concentrate (Self)
  238. This also changes [empty slot]'s PAR and SHK resistance to 50 (Youmu's would be lowered from 80 to 50)
  239. 10% chance Allure of Death (A)
  240. 10% chance Deadly Swallowtail Lance (A)
  241. 10% chance Ghastly Dream (A)
  242. Otherwise:
  243. 40% chance Ghostly Dream's Butterfly (A) (Lv.30)
  244. 20% chance Calming Scent (A)
  245. 10% chance Deadly Swallowtail Lance (A)
  246. 10% chance Ghastly Dream (A) (Lv.8)
  247. 10% chance Concentrate (Self)
  248. 5% chance Storm of Dark Flow (A)
  249. 5% chance Destroy Magic (A)
  250.  
  251. Note: Yuyuko's Ghostly Dream's Butterfly being Lv.18/30 makes it have a 118/166% DTH chance
  252. Note: Yuyuko's Ghastly Dream being Lv.8 makes it have a 102% DTH chance
  253.  
  254. Note/Bug: Yuyuko should check if Youmu is alive to know which pattern to use, but similar to Youmu, she looks for her in the wrong enemy slot. Yuyuko assumes Youmu is in slot 13, but she is actually in slot 15. Since that slot is already empty when the fight starts, Yuyuko starts with her "Youmu is dead" pattern. The root and fix to this is exactly the same as described in Youmu's AI, only the instruction will use 0D instead of 0F.
  255.  
  256. Note: Slack Off restores around 410k to Youmu and Yuyuko, possibly explaining why Youmu has much, much lower HP than the usual Shadow bosses in these floors.
  257.  
  258. > Shadow Nazrin
  259. ---------------
  260.  
  261. If Byakuren is dead, Shou is alive and did not use Bishamonten Tag last turn:
  262. Bishamonten Tag (Self) (Lv.20)
  263. If turn is a multiple of 3:
  264. Gravity Accel (E) (Lv.50)
  265. Otherwise:
  266. 34% chance Nazrin Pendulum (A)
  267. 33% chance Gold Rush (A)
  268. 33% chance Rare Metal Detector (A)
  269.  
  270. > Shadow Shou
  271. -------------
  272.  
  273. If Byakuren is dead, Nazrin is alive and flag_tag is 1:
  274. Bishamonten Tag (Self) (Lv.20)
  275. Also sets the flag_tag to 0
  276. If either Byakuren or Nazrin are dead, and flag_wrath is 1:
  277. Bishamonten's Wrath (Self)
  278. Also permanently raises ATK by 5% per dead ally
  279. Also sets the flag_wrath to 0
  280. Otherwise:
  281. Set both flag_tag and flag_wrath to 1
  282. 20% chance Row Attack (A)
  283. 20% chance Hungry Tiger (A)
  284. 20% chance Radiant Treasure Gun (A)
  285. 20% chance Dazzling Gold (A)
  286. 20% chance Aura of Justice (All Enemies) (Lv.5)
  287.  
  288. Note: Shou's Aura of Justice does not consume the Bishamonten's Wrath counter
  289.  
  290. > Shadow Byakuren
  291. -----------------
  292.  
  293. If turn is odd:
  294. Sutra - Birth of a Superhuman (Self) (Lv.16)
  295. If Byakuren's buffs add up to more than 100%:
  296. If Nazrin's buffs add up to less than half of Byakuren's sum:
  297. Sutra - Duplicating Chant (Nazrin) (Lv.16)
  298. If Shou's buffs add up to less than half of Byakuren's sum:
  299. Sutra - Duplicating Chant (Shou) (Lv.16)
  300. Otherwise:
  301. 30% chance Light Arrow (A)
  302. 18% chance Master of the Great Trichiliocosm (A)
  303. 18% chance Star Sword Apologetics (A)
  304. 17% chance Skanda's Legs (A)
  305. 17% chance Magic Milky Way (A)
  306.  
  307. Note: Byakuren's Duplicating Chant being Lv.16 effectively makes it so that the skill adds 100% of Byakuren's buffs to the target's buffs, making it even more broken than the original disc's version, which copied Byakuren's buffs over the target's.
  308.  
  309. > Mononobe no Futo (first fight)
  310. --------------------------------
  311.  
  312. If turn is a multiple of 8:
  313. Spirit Mausoleum Desires (Self) (Lv = Cup Count + 1)
  314. Otherwise:
  315. 16% chance Attack (A)
  316. 12% chance Mononobe's Eighty Sake Cups (A)
  317. 12% chance Catastrophic Gate Opening (A)
  318. 12% chance Miwa Plate Storm (A)
  319. 12% chance Taiyi True Fire (A)
  320. 10% chance Daze (A)
  321. 8% chance 1000 Needles (A)
  322. 8% chance Yakumo's Futsu no Mitama no Tsurugi (D)
  323. 6% chance Shredder (A)
  324. 4% chance Activate Life Energy (Self) (Lv.61)
  325.  
  326. Note: Spirit Mausoleum Desires heals Futo for (Lv*4)% of her max HP, and buffs all stats by (Lv*10)%
  327.  
  328. > Mononobe no Futo (second fight)
  329. ---------------------------------
  330.  
  331. If turn is a multiple of 8:
  332. Spirit Mausoleum Desires (Self) (Lv = Cup Count + 1)
  333. Once, when HP < 60%:
  334. Maximum Dish Charge (Self)
  335. Once, when HP < 12%:
  336. Maximum Dish Charge (Self)
  337. Let H be the remaining HP %
  338. Follow the old script with H% chance:
  339. 16% chance Attack (A)
  340. 12% chance Mononobe's Eighty Sake Cups (A)
  341. 12% chance Catastrophic Gate Opening (A)
  342. 12% chance Miwa Plate Storm (A)
  343. 12% chance Taiyi True Fire (A)
  344. 10% chance Daze (A)
  345. 8% chance 1000 Needles (A)
  346. 8% chance Yakumo's Futsu no Mitama no Tsurugi (D)
  347. 6% chance Shredder (A)
  348. 4% chance Activate Life Energy (Self) (Lv.61)
  349. Otherwise, force a personal/strong spell:
  350. 24% chance Mononobe's Eighty Sake Cups (A)
  351. 24% chance Catastrophic Gate Opening (A)
  352. 24% chance Miwa Plate Storm (A)
  353. 14% chance Taiyi True Fire (A)
  354. 14% chance Yakumo's Futsu no Mitama no Tsurugi (D)
  355.  
  356. e.g. At full HP, has a 0% chance to force a strong spell, 70% HP has 30% chance
  357.  
  358. Note: Spirit Mausoleum Desires heals Futo for (Lv*4)% of her max HP, and buffs all stats by (Lv*10)%
  359.  
  360. > Shadow Cirno
  361. --------------
  362.  
  363. If any ally is dead and did not use Shadow Team (9) last turn:
  364. Shadow Team (9) (Self) (Lv. no. of dead allies)
  365. Otherwise:
  366. 20% chance Azure Arrow (A)
  367. 20% chance Icicle Fall (A)
  368. 15% chance Diamond Blizzard (A)
  369. 15% chance Perfect Freeze (A)
  370. 10% chance White Album (Self)
  371. 10% chance Blizzard (A)
  372. 10% chance Heavy Fog (A)
  373.  
  374. Note: Shadow Team (9) buffs all stats by (Lv*20)%
  375.  
  376. > Shadow Mystia
  377. ---------------
  378.  
  379. If any ally is dead and did not use Shadow Team (9) last turn:
  380. Shadow Team (9) (Self) (Lv. no. of dead allies)
  381. Otherwise:
  382. 40% chance Attack (D)
  383. 40% chance Ill-Starred Dive (D)
  384. 20% chance Midnight Chorus Master (A)
  385.  
  386. Note: Shadow Team (9) buffs all stats by (Lv*20)%
  387.  
  388. > Shadow Rumia
  389. --------------
  390.  
  391. If any ally is dead and did not use Shadow Team (9) last turn:
  392. Shadow Team (9) (Self) (Lv. no. of dead allies)
  393. If Rumia's debuffs add up to 50% or more:
  394. Demarcation (All enemies)
  395. Otherwise:
  396. 30% chance Moonlight Ray (A)
  397. 30% chance Dark Side of the Moon (A)
  398. 20% chance Storm of Dark Flow (A)
  399. 20% chance Purple Curse (A)
  400.  
  401. Note: Shadow Team (9) buffs all stats by (Lv*20)%
  402.  
  403. > Shadow Wriggle
  404. ----------------
  405.  
  406. If any ally is dead and did not use Shadow Team (9) last turn:
  407. Shadow Team (9) (Self) (Lv. no. of dead allies)
  408. Otherwise:
  409. 25% chance Poison (A)
  410. 25% chance Comet on Earth (A)
  411. 25% chance Firefly Phenomenon (A)
  412. 25% chance Nightbug Tornado (A)
  413.  
  414. Note: Shadow Team (9) buffs all stats by (Lv*20)%
  415.  
  416. > Shadow Nitori
  417. ---------------
  418.  
  419. Fixed pattern (5 turns):
  420. If loop count is odd:
  421. 1-2: Kappa's Illusion Waterfall (A)
  422. If loop count is even:
  423. 1-2: Exteeeending Aaaaarm (A)
  424. 3: Portable Versatile Machine (Self) (Lv.35)
  425. 4: Concentrate (Self)
  426. 5: Super Scope 3D (D) (Lv.21)
  427.  
  428. Note: Nitori's Portable Versatile Machine being Lv.35 makes it a 50% all stats buff
  429.  
  430. > Shadow Aya
  431. ------------
  432.  
  433. If turn is a multiple of 3:
  434. Sarutahiko's Guidance (E) (Lv.21)
  435. Otherwise:
  436. 20% chance Attack (A)
  437. 20% chance Slash Dive (A)
  438. 20% chance Razor Wind (A)
  439. 20% chance Wind God's Fan (A)
  440. 20% chance Peerless Wind God (A)
  441.  
  442. Note: Aya's Sarutahiko's Guidance being Lv.21 makes it a 100% SPD buff
  443.  
  444. > Shadow Momiji
  445. ---------------
  446.  
  447. Fixed pattern (10 turns):
  448. 1: Rabies Bite (A)
  449. 2: Establish Stance (Self)
  450. 3-10: Shield Bash (A) (Lv.3)
  451.  
  452. Note: Momiji's Establish Stance buffs her DEF and MND to 100%
  453.  
  454. > Grandgon
  455. ----------
  456.  
  457. 44% chance Earthquake (A)
  458. 20% chance Roar Shockwave (A) (Lv.30)
  459. 20% chance Destroy Armor (A) (Lv.50)
  460. 16% chance Rock Clash (D) (Lv.10)
  461.  
  462. Note: Roar Shockwave being Lv.30 makes it a 100% SHK and TRR(60000) chance
  463. Note: Destroy Armor being Lv.50 makes it a 130% DEF/MND 50% debuff chance
  464.  
  465. > Toyosatomimi no Miko
  466. ----------------------
  467.  
  468. If this is the first turn:
  469. Set variable var_phase = 1
  470. True Administrator - Good (Self) (Lv.14) (*)
  471. Sets Miko's DEF to 9600
  472. Sets Miko's MND to 132000
  473. Sets Miko's SPI affinity to 1000
  474. Sets Miko's DRK affinity to 50
  475. Sets Miko's PAR resistance to 90
  476. Removes all buffs, debuffs and ailments from Miko
  477. If var_phase = 1 and Miko reached zero HP:
  478. Set variable var_phase = 2
  479. True Administrator - Evil (Self) (Lv.14) (*)
  480. Revives Miko to full HP
  481. Sets Miko's DEF to 132000
  482. Sets Miko's MND to 9600
  483. Sets Miko's SPI affinity to 50
  484. Sets Miko's SPI affinity to 1000
  485. Removes all buffs, debuffs and ailments from Miko
  486. If var_phase = 2 and Miko reached zero HP:
  487. Set variable var_phase = 3
  488. True Administrator - Rivalry of Good and Evil (Self) (Lv.14) (*)
  489. Revives Miko to full HP
  490. Sets Miko's DEF to 132000
  491. Sets Miko's MND to 132000
  492. Sets Miko's SPI affinity to 150
  493. Sets Miko's SPI affinity to 150
  494. Remove all buffs, debuffs and ailments from Miko
  495.  
  496. Once, if var_phase = 3:
  497. Yamata-no-Orochi's Evil Eye (Self) (Lv.14) (*)
  498. If var_phase = 3 and both Scarlet Gold Avatars are dead:
  499. Halo of the Guse Kannon (A) (*)
  500. If var_phase = 3 and used Halo of the Guse Kannon last turn:
  501. Set variable var_phase = 4
  502. True Administrator - Compatibility of Good and Evil (Self) (Lv.14) (*)
  503. Sets Miko's PAR resistance to 30
  504. Remove all buffs, debuffs and ailments from Miko
  505.  
  506. If var_phase = 1 and did not use Tradition of Just Rewards on previous turn:
  507. Tradition of Just Rewards (Good) (Self) (Lv.12) (*)
  508. If var_phase = 2 and did not use Tradition of Just Rewards on previous turn:
  509. Tradition of Just Rewards (Evil) (Self) (Lv.12) (*)
  510. If var_phase = 3 and either Scarlet Gold Avatar is alive:
  511. Sage of Toyosatomimi (Self) (Lv.18) (*)
  512. If var_phase = 4 and did not use Sage of Toyosatomimi on previous turn:
  513. Sage of Toyosatomimi (Self) (Lv.14) (*)
  514.  
  515. If var_phase = 1 and turn is a multiple of 4:
  516. Refresh (A)
  517. If var_phase = 2 and turn is a multiple of 7:
  518. Karmic Retribution (A)
  519. Otherwise, if var_phase = 1:
  520. 22% chance Light Arrow (A)
  521. 12% chance Shining Arrows from the Sky (A)
  522. 11% chance Storm of Light Particle (A)
  523. 11% chance Piercing Light (A)
  524. 11% chance Half Moon Slash (A)
  525. 11% chance Destroy Magic (B)
  526. 11% chance Yellow Curse (A) (Lv.40)
  527. 11% chance Protecting Light from the Heavens (Self) (Lv.15)
  528. Otherwise, if var_phase = 2:
  529. 16% chance Roar Shockwave (A)
  530. 12% chance Attack (A)
  531. 12% chance Dividing Slash (D)
  532. 12% chance Instant Death Attack (D) (Lv.10)
  533. 12% chance Scythe of Calamity (D)
  534. 12% chance Yellow Curse (A) (Lv.40)
  535. 12% chance Gravity Manipulation (A)
  536. 12% chance Black Universe (B)
  537. Otherwise, if var_phase = 4:
  538. 9% chance Destroy Magic (A)
  539. 9% chance Yellow Curse (A) (Lv.40)
  540. 9% chance Scythe of Calamity (D)
  541. 9% chance Roar Shockwave (A)
  542. 8% chance Piercing Light (A)
  543. 8% chance Half Moon Slash (A)
  544. 8% chance Protecting Light from the Heavens (Self)
  545. 8% chance Shining Arrows from the Sky (A)
  546. 8% chance Dividing Slash (D)
  547. 8% chance Instant Death Attack (D) (Lv.10)
  548. 8% chance Gravity Manipulation (A)
  549. 8% chance Black Universe (B)
  550.  
  551. Note: Actions marked with a (*) do NOT advance the turn counter
  552. Note: The turn counter is NOT reset between changes of var_phase
  553. Note: Miko is invincible when var_phase is set to 3
  554. Note/Bug: True Administrator - Evil changes SPI affinity to 50 as normal but then changes SPI affinity instead of DRK affinity to 1000
  555. Note/Bug: True Administrator - Rivalry of Good and Evil changes SPI affinity to 150 twice, the second time should have been the DRK affinity
  556.  
  557. > Scarlet Gold Avatar
  558. ---------------------
  559.  
  560. 20% chance Defensive Barrier (E) (Lv.40)
  561. 20% chance Activate Life Energy (All Enemies)
  562. 15% chance Red Curse (A) (Lv.20)
  563. 15% chance Purple Curse (A) (Lv.20)
  564. 15% chance Yellow Curse (A) (Lv.20)
  565. 15% chance Ancient Curse (A)
  566.  
  567. > Shadow Minoriko
  568. -----------------
  569.  
  570. 20% chance Nut Throw (A)
  571. 20% chance Silent Fog (A)
  572. 20% chance Warm Color Harvest (A)
  573. 20% chance Owotoshi Harvester (E) (Lv.11)
  574. 10% chance Sweet Potato Room (E) (Lv.120)
  575. 10% chance Autumn Sky (A)
  576.  
  577. Note: Minoriko's Owotoshi Harvester being Lv.11 makes it a 75% DEF/MND buff
  578.  
  579. > Shadow Yuuka
  580. --------------
  581.  
  582. Every turn:
  583. Increase variable var_cooldown by 1 (starts at 0)
  584. If Minoriko is dead:
  585. If used Concentrate on previous turn:
  586. Master Spark (A)
  587. Otherwise:
  588. Concentrate (Self)
  589. If Minoriko's current HP < 50% her max HP:
  590. Prayer of Recovery (Minoriko) (Lv.300)
  591. If var_cooldown < 5:
  592. 34% chance Flower Shot (A)
  593. 33% chance Attack (A)
  594. 33% chance Green Arrow (A)
  595. Otherwise:
  596. 25% chance Grass Knot (A) (Lv.7)
  597. Sets var_cooldown to 4
  598. 25% chance Pummel (A)
  599. Sets var_cooldown to 3
  600. 25% chance Gensokyo's Reflowering (A) (Lv.2)
  601. Sets var_cooldown to 2
  602. 25% chance Beauty of Nature (A) (Lv.6)
  603. Sets var_cooldown to 0
  604.  
  605. Note: Yuuka's Prayer of Recovery being Lv.300 heals Minoriko for well over half of her max HP
  606. Note: var_cooldown is incremented before the game picks an action
  607. Note: Pummel is a single target ((59 + SLv)% ATK - 50% DEF) NTR spell with 3200 delay
  608.  
  609. > Shadow Reisen
  610. ---------------
  611.  
  612. If Eirin is dead and did not use Grand Patriot's Elixir last turn:
  613. Grand Patriot's Elixir (Self)
  614. Otherwise:
  615. 40% chance Magic Arrow (A)
  616. 30% chance Discarder (A)
  617. 15% chance Mind Starmine (A)
  618. 5% chance Magic Drain (B)
  619. 5% chance Destroy Magic (B)
  620. 5% chance Gas-Woven Orb (A)
  621. 0% chance Lunatic Red Eyes (A)
  622.  
  623. Note/Bug: Reisen will never use Lunatic Red Eyes because it uses the same value as Magic Arrow in the AI script. The game generates a random value [0-99], and checks that value against each spell's value. In Reisen's case, if it is less than 30, she uses Discarder. If it is less than 70, Magic Arrow, and so on. Lunatic Red Eyes uses 70 as well, so the condition is never met. Changing Magic Arrow to 50, for example, would give each spell a 20% chance to be cast.
  624.  
  625. > Shadow Eirin
  626. --------------
  627.  
  628. If Kaguya is dead or used Concentrate last turn:
  629. Astronomical Entombing (A)
  630. If Kaguya's current HP < 50% her max HP:
  631. Hourai Elixir (Kaguya)
  632. Otherwise:
  633. 20% chance Mercury Sea (A)
  634. 20% chance Omoikane's Device (A)
  635. 18% chance Storm of Purple Magic (A)
  636. 17% chance Magic Arrow (A)
  637. 15% chance Concentrate (Self)
  638. 10% chance Magical Blast (A)
  639.  
  640. > Shadow Kaguya
  641. ---------------
  642.  
  643. If Eirin and Reisen are both dead:
  644. Bullet Branch of Hourai (A)
  645. Otherwise:
  646. 34% chance Buddha's Stone Bowl (A)
  647. 33% chance Dragon's Neck Jewel (A)
  648. 33% chance Swallow's Cowrie Shell (A)
  649.  
  650. > Shadow Komachi
  651. ----------------
  652.  
  653. If Eiki is dead:
  654. 20% chance Narrow Confines of Avici (A)
  655. 20% chance Scythe that Chooses the Dead (D) (Lv.41)
  656. 15% chance Row Attack (A)
  657. 15% chance Phantom's Coldness (A)
  658. 15% chance Short Life Expectancy (D) (Lv.51)
  659. 15% chance Ferriage in the Deep Fog (A) (Lv.41)
  660. If Eiki is alive and var_slack is 0:
  661. Slacking Off (All Enemies)
  662. Otherwise:
  663. 25% chance Pretending to Attack (B)
  664. Decrements var_slack by 1
  665. 15% chance Short Life Expectancy (D) (Lv.51)
  666. 15% chance Ferriage in the Deep Fog (A) (Lv.41)
  667. 15% chance Narrow Confines of Avici (A)
  668. 15% chance Scythe that Chooses the Dead (D) (Lv.41)
  669. 10% chance Row Attack (A)
  670. 5% chance Phantom's Coldness (A)
  671.  
  672. Note: The variable var_slack starts at 0, and only Eiki can increment it via Lady Eiki's Scolding
  673. Note: Komachi's Short Life Expectancy being Lv.51 makes it have a 115% DTH chance
  674. Note: Komachi's Ferriage in the Deep Fog being Lv.41 makes it have a 73% DTH chance
  675. Note: Komachi's Scythe that Chooses the Dead being Lv.41 makes it have a 129% DTH chance
  676. Note: Pretending to Attack is a single target (10% ATK - 50% DEF) PHY spell with 5000 delay
  677.  
  678. Note/Bug: Komachi hits herself with Pretending to Attack, despite having target mode B
  679.  
  680. > Shadow Eiki
  681. -------------
  682.  
  683. If Komachi is alive and her variable var_slack is 0:
  684. 25% chance Lady Eiki's Scolding (Komachi)
  685. Sets Komachi's var_slack = 2
  686. Otherwise:
  687. 50% chance Last Judgement (D)
  688. 20% chance Wandering Sin (A)
  689. 15% chance Trial of the Ten Kings (A)
  690. 15% chance Light Arrow (A)
  691.  
  692. Note: Komachi's variable var_slack starts at 0, and only Eiki can increment it via Lady Eiki's Scolding
  693.  
  694. > Shadow Renko
  695. --------------
  696.  
  697. If used Astronomic Observation last turn:
  698. Galaxy Stop (A)
  699. If used Concentrate last turn:
  700. Charge (All Enemies) (Lv.80)
  701. If turn is 4 more than a multiple of 5 (i.e.: 4, 9, 14, ...):
  702. 50% chance Astronomic Observation (Self)
  703. 50% chance Concentrate (Self)
  704. If Maribel is alive:
  705. 50% chance Attack (A)
  706. 50% chance First Aid (E) (Lv.301)
  707. Otherwise:
  708. 40% chance Flustered (Self)
  709. 30% chance Attack (A)
  710. 30% chance First Aid (Lv.301)
  711.  
  712. Note: Renko's Charge uses a special formula, it boosts all stats by (SLv)%
  713.  
  714. > Shadow Maribel
  715. ----------------
  716.  
  717. If Renko is dead:
  718. Let T be the number of turns since Renko's death (starts at 1)
  719. (7*T) % chance Liberated Abilities (A)
  720. Also permanently reduces DEF and MND by 10%
  721. Otherwise:
  722. 20% chance Chaotic Quadruple Barrier (A)
  723. 16% chance Dark Arrow (A)
  724. 15% chance Magical Blast (A)
  725. 15% chance Overflowing Unnatural Power (Self) (Lv.50)
  726. 15% chance Mari's DIY Novice Border (All Enemies) (Lv.66)
  727. 10% chance Time-Space Warp (A)
  728. 9% chance Storm of Dark Flow (A)
  729.  
  730. e.g. Right after Renko dies, Maribel has a 7% chance to cast Liberated Abilities, and then next turn 14%, 21%, etc.
  731.  
  732. Note: The permanent DEF/MND reduction is based on current value, so after 1 cast it will be 90% of the original values, then 81%, 72.9%, etc.
  733. Note: Maribel's Overflowing Unnatural Power uses a special formula, it boosts all stats by (SLv)%
  734. Note: Maribel's DIY Novice Border uses a special formula, it grants a (SLv)% boost and does not heal HP
  735.  
  736. > Shadow Meiling
  737. ----------------
  738.  
  739. If Flandre is alive:
  740. Healer (Flandre)
  741. Otherwise:
  742. 34% chance Brilliant Light Gem (A)
  743. 33% chance Mountain Breaker (A)
  744. 33% chance Attack (A)
  745.  
  746. Note: Meiling's Healer cures every ailment and debuff
  747.  
  748. > Shadow Patchouli
  749. ------------------
  750.  
  751. 20% chance Royal Flare (A)
  752. 20% chance Princess Undine (A)
  753. 20% chance Djinn Gust (A)
  754. 20% chance Satellite Himawari (A)
  755. 20% chance Silent Selene (A)
  756.  
  757. > Shadow Flandre
  758. ----------------
  759.  
  760. If turn is odd:
  761. 50% chance Overflowing Insanity: Inflicts Ailments on Self (Self) (*)
  762. 50% chance Uncontrollable Urges: Inflicts Debuffs on Self (Self) (*)
  763. Once, when HP < 50%:
  764. Forbidden Fruit (A)
  765. Once, when HP < 50%:
  766. Laveatein (A)
  767. If turn is 1 more than a multiple of 12 (i.e.: 1, 13, 25, ...):
  768. Laveatein (A)
  769. If turn is 1 more than a multiple of 8, but not 12 (i.e.: 9, 17, 33, ...):
  770. Forbidden Fruit (A)
  771. If turn is 1 more than a multiple of 4, but not 12 or 8 (i.e.: 5, 21, 29, ...):
  772. Starbow Break (A)
  773. Otherwise:
  774. 20% chance Attack (A)
  775. 20% chance Half Moon Slash (A)
  776. 20% chance Piercing Light (A)
  777. 20% chance Flamethrower (A)
  778. 20% chance Blazing Light Shot (A)
  779.  
  780. Note: Actions marked with a (*) do not end Flandre's turn, so she will cast another spell after casting those marked with a (*)
  781. Note: Overflowing Insanity has equal chance of inflicting either PSN, PAR, HVY, SHK or TRR
  782. Note: Uncontrollable Urges has equal chance of inflicting a 50% debuff to either ATK, DEF, MAG or MND
  783.  
  784. > Shadow Sanae
  785. --------------
  786.  
  787. If any enemy has any debuffs:
  788. Miracle Fruit (Suwako/Sanae/Kanako)
  789. For each enemy whose current HP < 66% their max HP:
  790. 50% chance Yasaka's Divine Wind (Kanako/Sanae/Suwako) (Lv.1201)
  791. Otherwise:
  792. 18% chance Magic Drain (A)
  793. 17% chance Light Arrow (A)
  794. 17% chance Moses's Miracle (A)
  795. 16% chance Magic Attack (A)
  796. 16% chance Storm of Light Particle (A)
  797. 16% chance Night of Bright Guest Stars (A)
  798.  
  799. Note: Sanae's Miracle Fruit's targetting gives preference to the rightmost slots
  800. Note: Sanae's Yasaka's Divine Wind rolls a 50% chance for EACH enemy slot, so there's a 7/8 chance she'll cast it if all 3 are below 66% HP. She begins rolling for the leftmost slot
  801.  
  802. > Shadow Kanako
  803. ---------------
  804.  
  805. If Sanae and Suwako are both alive:
  806. 20% chance Attack (A)
  807. 20% chance Magic Attack (A)
  808. 20% chance Earth Shaker (A)
  809. 20% chance Piercing Light (A)
  810. 20% chance Mad Dance on Medoteko (A)
  811. If only one of Sanae or Suwako are alive:
  812. 25% chance Misayama Hunting Ritual (A)
  813. 18.75% chance Beautiful Spring like Suiga (A)
  814. 11.25% chance Attack (A)
  815. 11.25% chance Magic Attack (A)
  816. 11.25% chance Earth Shaker (A)
  817. 11.25% chance Piercing Light (A)
  818. 11.25% chance Mad Dance on Medoteko (A)
  819. If both Sanae and Suwako are dead:
  820. 25% chance Virtue of Wind God (A)
  821. 18.75%% chance Misayama Hunting Ritual (A)
  822. 14.0625% chance Beautiful Spring like Suiga (A)
  823. 8.4375% chance Attack (A)
  824. 8.4375% chance Magic Attack (A)
  825. 8.4375% chance Earth Shaker (A)
  826. 8.4375% chance Piercing Light (A)
  827. 8.4375% chance Mad Dance on Medoteko (A)
  828.  
  829. Note: The reason for all those decimals is because the game is doing a separate RNG roll for each of Kanako's spells that are added after Sanae or Suwako die. The values presented here are the final probabilities after taking into account all possible paths the AI script can take, as if it only did a single RNG roll.
  830.  
  831. > Shadow Suwako
  832. ---------------
  833.  
  834. If Sanae and Kanako are both alive:
  835. 20% chance Azure Arrow (A)
  836. 20% chance Storm of Blue Rain (A)
  837. 20% chance Grass Knot (A)
  838. 20% chance Acid Rain (A)
  839. 20% chance Moreya's Iron Ring (D)
  840. If only one of Sanae or Kanako are alive:
  841. 25% chance Long-Arm and Long-Leg (A)
  842. 18.75% chance Froggy Braves the Elements (A)
  843. 11.25% chance Azure Arrow (A)
  844. 11.25% chance Storm of Blue Rain (A)
  845. 11.25% chance Grass Knot (A)
  846. 11.25% chance Acid Rain (A)
  847. 11.25% chance Moreya's Iron Ring (D)
  848. If both Sanae and Kanako are dead:
  849. 25% chance Mishaguji-sama (A)
  850. 18.75%% chance Long-Arm and Long-Leg (A)
  851. 14.0625% chance Froggy Braves the Elements (A)
  852. 8.4375% chance Azure Arrow (A)
  853. 8.4375% chance Storm of Blue Rain (A)
  854. 8.4375% chance Grass Knot (A)
  855. 8.4375% chance Acid Rain (A)
  856. 8.4375% chance Moreya's Iron Ring (D)
  857.  
  858. Note: The reason for all those decimals is because the game is doing a separate RNG roll for each of Suwako's spells that are added after Sanae or Kanako die. The values presented here are the final probabilities after taking into account all possible paths the AI script can take, as if it only did a single RNG roll.
  859.  
  860. > Evil Dragon's Water Spirit
  861. ----------------------------
  862.  
  863. 10% chance Paralyzing Fog (A)
  864. 10% chance Silent Fog (A)
  865. 10% chance Heavy Fog (A)
  866. 10% chance Devil's Crimes (A)
  867. 10% chance Staring Eye from the Abyss (A)
  868. 10% chance Roar Shockwave (A)
  869. 10% chance Terrifying Wave (A)
  870. 10% chance Storm of Blue Rain (A)
  871. 10% chance Blizzard (A)
  872. 10% chance Wild Dance of Freezing Mist (A)
  873.  
  874. Note: The party will be cured of all ailments and debuffs every turn
  875.  
  876. > Evil Dragon's Wood Spirit
  877. ---------------------------
  878.  
  879. If turn is odd:
  880. Regeneration (Self) (Lv.18)
  881. If turn is even:
  882. 34% chance Grass Knot (A)
  883. 33% chance Green Arrow (A)
  884. 33% chance Storm of Wood Leaves (A)
  885.  
  886. Note: The party will be healed for 25% HP every turn
  887.  
  888. > Evil Dragon's Fire Spirit
  889. ---------------------------
  890.  
  891. If turn is a multiple of 3:
  892. Flowing Hellfire (A) (Lv.6)
  893. Otherwise:
  894. 50% chance Heat Gaze (A)
  895. 50% chance Blazing Light Shot (A)
  896. 0% chance Spark Storm (A)
  897. 0% chance Flamethrower (A)
  898.  
  899. Note: The party has a 50% chance to stay with 1 HP when taking mortal damage
  900.  
  901. Note/Bug: Evil Dragon's Fire Spirit will never use Spark Storm or Flamethrower, because it uses the same value as Blazing Light Shot in the AI script. The game generates a random value [0-99], and checks that value against each spell's value. In this case, if it is less than 50, it uses Heat Gaze. If it is less than 100, Blazing Light Shot. The other spells also check for the value 100, so their condition is never met.
  902.  
  903. > Evil Dragon's Earth Spirit
  904. ----------------------------
  905.  
  906. If turn is odd:
  907. Earth Element's Protective Light (Self) (Lv.36)
  908. If turn is even:
  909. 20% chance Attack (A)
  910. 20% chance Rock Clash (D)
  911. 20% chance Sandstorm (A)
  912. 20% chance Earth Shaker (A)
  913. 20% chance Earthquake (A)
  914.  
  915. Note: The party will receive a 25% buff to all stats every turn
  916.  
  917. > Evil Dragon's Metal Spirit
  918. ----------------------------
  919.  
  920. 50% chance Rock Clash (A)
  921. 50% chance Double Slash (A)
  922.  
  923. Note: The party will recover 33% MP every turn
  924.  
  925. > Evil Dragon's Water Head
  926. --------------------------
  927.  
  928. 10% chance Paralyzing Fog (A)
  929. 10% chance Silent Fog (A)
  930. 10% chance Heavy Fog (A)
  931. 10% chance Devil's Crimes (A)
  932. 10% chance Staring Eye from the Abyss (A)
  933. 10% chance Roar Shockwave (A)
  934. 10% chance Terrifying Wave (A)
  935. 10% chance Storm of Blue Rain (A)
  936. 10% chance Blizzard (A)
  937. 10% chance Wild Dance of Freezing Mist (A)
  938.  
  939. Note: The party will recover from all ailments and debuffs, 25% HP, 33% MP, receive a 25% buff to all stats every turn, and have a 50% chance to survive a mortal blow with 1 HP
  940.  
  941. > Evil Dragon's Wood Head
  942. -------------------------
  943.  
  944. If turn is odd:
  945. Activate Life Energy (All Enemies) (Lv.33)
  946. If turn is even:
  947. 34% chance Grass Knot (A)
  948. 33% chance Green Arrow (A)
  949. 33% chance Storm of Wood Leaves (A)
  950.  
  951. Note: The party will recover from all ailments and debuffs, 25% HP, 33% MP, receive a 25% buff to all stats every turn, and have a 50% chance to survive a mortal blow with 1 HP
  952.  
  953. > Evil Dragon's Fire Head
  954. -------------------------
  955.  
  956. If turn is a multiple of 3:
  957. Flowing Hellfire (A) (Lv.6)
  958. Otherwise:
  959. 50% chance Heat Gaze (A)
  960. 50% chance Blazing Light Shot (A)
  961. 0% chance Spark Storm (A)
  962. 0% chance Flamethrower (A)
  963.  
  964. Note: The party will recover from all ailments and debuffs, 25% HP, 33% MP, receive a 25% buff to all stats every turn, and have a 50% chance to survive a mortal blow with 1 HP
  965.  
  966. Note/Bug: Evil Dragon's Fire Head will never use Spark Storm or Flamethrower, because it uses the same value as Blazing Light Shot in the AI script. The game generates a random value [0-99], and checks that value against each spell's value. In this case, if it is less than 50, it uses Heat Gaze. If it is less than 100, Blazing Light Shot. The other spells also check for the value 100, so their condition is never met.
  967.  
  968. > Evil Dragon's Earth Head
  969. --------------------------
  970.  
  971. If turn is odd:
  972. Earth Element's Protective Light (All Enemies) (Lv.30)
  973. If turn is even:
  974. 20% chance Attack (A)
  975. 20% chance Rock Clash (D)
  976. 20% chance Sandstorm (A)
  977. 20% chance Earth Shaker (A)
  978. 20% chance Earthquake (A)
  979.  
  980. Note: The party will recover from all ailments and debuffs, 25% HP, 33% MP, receive a 25% buff to all stats every turn, and have a 50% chance to survive a mortal blow with 1 HP
  981.  
  982. > Evil Dragon's Metal Head
  983. --------------------------
  984.  
  985. 50% chance Rock Clash (A)
  986. 50% chance Double Slash (A)
  987.  
  988. Note: The party will recover from all ailments and debuffs, 25% HP, 33% MP, receive a 25% buff to all stats every turn, and have a 50% chance to survive a mortal blow with 1 HP
  989.  
  990. > Yamata no Orochi
  991. ------------------
  992.  
  993. When all five heads are defeated:
  994. Sets var_phase = 0
  995. -Manifestation of the Evil Dragon- (Self)
  996. Summons Yamata no Orochi
  997. If var_phase = 0 and Yamata no Orochi reached zero HP:
  998. Sets var_phase = 1
  999. -Soul Transfer: DRK- (Self)
  1000. Revives Yamata no Orochi to full HP
  1001. Sets Yamata no Orochi's MYS affinity to 150
  1002. Sets Yamata no Orochi's SPI affinity to 66
  1003. Sets Yamata no Orochi's DRK affinity to 500
  1004. If var_phase = 1 and Yamata no Orochi reached zero HP:
  1005. Sets var_phase = 2
  1006. -Soul Transfer: SPI- (Self)
  1007. Revives Yamata no Orochi to full HP
  1008. Sets Yamata no Orochi's SPI affinity to 500
  1009. Sets Yamata no Orochi's DRK affinity to 66
  1010. If var_phase = 0, follow fixed pattern (12 turns):
  1011. 1: Concentrate (Self)
  1012. 2-3: Karmic Gnashing -Mystic- (D) [no delay]
  1013. 4: Karmic Gnashing -Mystic- (D)
  1014. 5: Random spell
  1015. 6: World-Shaking Rule (Self) (Lv.1 or Lv.2)
  1016. 7: World-Devouring Calamity (A)
  1017. 8-11: Random spell
  1018. 12: World-Shaking Rule (Self) (Lv.1 or Lv.2)
  1019. Random spell distribution:
  1020. 13% chance Horizontal Slice (A)
  1021. 13% chance Roar Shockwave (A)
  1022. 13% chance Evil Dragon's Eyebeam (A)
  1023. 13% chance Shredder (A)
  1024. 12% chance Karmic Evil Fang -Mystic- (A)
  1025. 12% chance Void Flash Claw (A)
  1026. 12% chance Extra-Large Entwining (A)
  1027. 12% chance Magical Light (A)
  1028. If var_phase = 1, follow fixed pattern (12 turns):
  1029. 1: Concentrate (Self)
  1030. 2-3: Karmic Gnashing -Dark- (D) [no delay]
  1031. 4: Karmic Gnashing -Dark- (D)
  1032. 5: Random spell
  1033. 6: World-Devouring Destruction (A)
  1034. 7: World-Shaking Rule (Self) (Lv.1, Lv.2 or Lv.3)
  1035. 8-11: Random spell
  1036. 12: World-Shaking Rule (Self) (Lv.1, Lv.2 or Lv.3)
  1037. Random spell distribution:
  1038. 9% chance Rasetsu Fist (A)
  1039. 9% chance Scythe of Calamity (A)
  1040. 9% chance Roar Shockwave (A)
  1041. 9% chance Extra-Large Entwining (A)
  1042. 8% chance Karmic Evil Fang -Dark- (A)
  1043. 8% chance Dark Arrow (A)
  1044. 8% chance Leg Sweep (A)
  1045. 8% chance Divine Spirit-Burning Hellfire (A)
  1046. 8% chance Greatsword of Calamity (A)
  1047. 8% chance Staring Eye from the Abyss (A)
  1048. 8% chance Protecting Light from the Heavens (Self)
  1049. 8% chance Evil Dragon's Eyebeam (A)
  1050. If var_phase = 2, follow fixed pattern (12 turns):
  1051. 1: World-Shaking Rule (Self) (Lv.1, Lv.2, Lv.3 or Lv.4)
  1052. 2: Concentrate (Self)
  1053. 3-6: Karmic Thunderous Gnashing -Spirit- (D) [no delay]
  1054. 7: Karmic Thunderous Gnashing -Spirit- (D)
  1055. 8: World-Shaking Rule (Self) (Lv.1, Lv.2, Lv.3 or Lv.4)
  1056. 9: World-Devouring Destruction (A)
  1057. 10-12: Random spell
  1058. Random spell distribution:
  1059. 9% chance Light Arrow (A)
  1060. 9% chance Godly Scarlet Gold Slash (A)
  1061. 9% chance Golden Protection (Self)
  1062. 9% chance Extra-Large Entwining (A)
  1063. 8% chance Karmic Evil Fang -Spirit- (A)
  1064. 8% chance Rasetsu Fist (A)
  1065. 8% chance Leg Sweep (A)
  1066. 8% chance Start of Heavenly Demise (A)
  1067. 8% chance Great Tree that Descended from the Sky (A)
  1068. 8% chance Roar Shockwave (A)
  1069. 8% chance Protecting Light from the Heavens (Self)
  1070. 8% chance Evil Dragon's Eyebeam (A)
  1071.  
  1072. Note: The party will recover from all ailments and debuffs, 25% HP, 33% MP, receive a 25% buff to all stats every turn, and have a 50% chance to survive a mortal blow with 1 HP
  1073.  
  1074. Note: World-Shaking Rule uses an RNG roll to determine the level, formula is (50 + (10*(SLv-1)))% buff to all stats
  1075. Note: The turn counter is reset between changes of var_phase, but not buffs/debuffs and ailments
  1076. Note: Extra-Large Entwining has a 90% chance to PAR(25000)
  1077. Note: Evil Dragon's Eyebeam reduces target to 1 HP and has a 150% chance to PAR(20000), HVY(20000) and SIL(20000)
  1078.  
  1079. > Collapse - Yamata no Orochi
  1080. -----------------------------
  1081.  
  1082. If turn < 5:
  1083. Karmic Thunderous Gnashing -Spirit- (D) [no delay]
  1084. If this is the 5th turn:
  1085. Karmic Thunderous Gnashing -Spirit- (D)
  1086. Otherwise, repeat this set pattern:
  1087. 1: "Yamata-no-Orochi's soul is trembling!" (Self)
  1088. Increment var_hellfire by 1 (starts at -1)
  1089. 2: Repeat for var_hellfire turns:
  1090. Divine Spirit-Burning Hellfire (A) [no delay]
  1091. 3: Divine Spirit-Burning Hellfire (A)
  1092.  
  1093. e.g.: Collapse - Yamata no Orochi will first charge, then cast 1 Divine Spirit-Burning Hellfire. It will charge again, then use 2 Divine Spirit-Burning Hellfires. And then 3, 4, etc.
  1094.  
  1095. Note: The party will recover from all ailments and debuffs, 25% HP, 33% MP, receive a 25% buff to all stats every turn, and have a 50% chance to survive a mortal blow with 1 HP
  1096.  
  1097. > Shadow Reimu - Abyss
  1098. ----------------------
  1099.  
  1100. If HP < 60% and did not use Fantasy Seal -Blink- last turn:
  1101. Fantasy Seal -Blink- (Self) (Lv.10)
  1102. Once, when HP < 70%:
  1103. Great Hakurei Barrier (Self) (Lv.80)
  1104. Once, when HP < 25%:
  1105. Fantasy Seal (A) (Lv.9)
  1106. Otherwise:
  1107. 25% chance Yin-Yang Orb (A)
  1108. 25% chance Fantasy Seal (A)
  1109. 18% chance Paralyzing Fog (A)
  1110. 15% chance Half Moon Slash (A)
  1111. 10% chance Light Arrow (A) (Lv.11)
  1112. 7% chance Exorcising Border (Self)
  1113.  
  1114. Note: Fantasy Seal -Blink- adds a 10% ALL EX buff, which caps at 100%
  1115. Note: If she heals herself back over 60% HP she will stop using Fantasy Seal -Blink-
  1116. Note: Reimu's Yin-Yang Orb has a (5*(SLv-2) + 110) = 105% chance to inflict PAR(10000)
  1117. Note: Reimu's Great Hakurei Barrier uses a special formula: (SLv)% buff to DEF/MND
RAW Paste Data