Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.32 KB | None | 0 0
  1. ##
  2. # Mission 'Scorn of the Fallen Ice Bird' (8974101)
  3. # Enemy has first strike!
  4. #
  5. # Battles
  6. # * Glacial [+ Glacial Sculpture, Glacial Sculpture, Glacon (max 999), Glacon (max 999), Glacon (max 999), Glacon (max 999), Glacon (max 999), Glacon (max 999), Glacon (max 999), Glacon (max 999), Glacon (max 999), Glacon (max 999)]
  7. ##
  8.  
  9. ##
  10. # Monster Info
  11. ##
  12. #
  13. # Monster Glacial Sculpture (502001003)
  14. # Race Avian, Fairy
  15. # Level 99
  16. # Actions 30-30
  17. #
  18. # NEW DAMAGE FORMULA! (5, 25, 185)
  19. #
  20. #
  21. # Stats
  22. # HP 45555555
  23. # MP 80000
  24. # ATK 680
  25. # DEF 425
  26. # MAG 730
  27. # SPR 430
  28. #
  29. #
  30. # Damage resist
  31. # physical 0%
  32. # magical 0%
  33. #
  34. #
  35. # Element resist
  36. # Fire 0%
  37. # Ice 0%
  38. # Lightning -30%
  39. # Water 0%
  40. # Wind 0%
  41. # Earth 0%
  42. # Light 0%
  43. # Dark 0%
  44. # Non-Elemental 0%
  45. #
  46. #
  47. # Status resist (+80% / application)
  48. # Poison 100%
  49. # Blind 100%
  50. # Sleep 100%
  51. # Silence 100%
  52. # Paralyze 100%
  53. # Confusion 100%
  54. # Disease 100%
  55. # Petrify 100%
  56. #
  57. #
  58. # Debuff resist
  59. # ATK 100%
  60. # DEF 0%
  61. # MAG 100%
  62. # SPR 0%
  63. # Stop 100%
  64. # Charm 100%
  65. # Berserk 100%
  66. #
  67. #
  68. # Immunity
  69. # Death +
  70. # Gravity +
  71. #
  72. ###
  73.  
  74. ###
  75. # Passives
  76. ###
  77. #
  78. # 氷属性吸収 (100004) [Passive]
  79. #
  80. # Absorb Ice elemental attacks
  81. #
  82. ##
  83. #
  84. # 水属性吸収 (100006) [Passive]
  85. #
  86. # Absorb Water elemental attacks
  87. #
  88. ##
  89. #
  90. # 風属性吸収 (100011) [Passive]
  91. #
  92. # Absorb Wind elemental attacks
  93. #
  94. ##
  95. #
  96. # 防精70% (100066) [Passive]
  97. #
  98. # Increase DEF and SPR by 70%
  99. #
  100. ##
  101.  
  102. ###
  103. # Skills
  104. ###
  105. #
  106. # Crystal Laser (210260) [Magic]
  107. #
  108. # Magic damage (1.85x, MAG) to one enemy
  109. #
  110. # Sealable - Unknown1 +
  111. # Reflect - Unknown2 -
  112. #
  113. ##
  114. #
  115. # Frozen Laser (210270) [Magic]
  116. #
  117. # Magic ice damage (2.2x, MAG) to one enemy
  118. #
  119. # Sealable - Unknown1 +
  120. # Reflect - Unknown2 -
  121. #
  122. ##
  123. #
  124. # Water Laser (210280) [Magic]
  125. #
  126. # Magic water damage (2.2x, MAG) to one enemy
  127. #
  128. # Sealable - Unknown1 +
  129. # Reflect - Unknown2 -
  130. #
  131. ##
  132. #
  133. # Wind Laser (210290) [Magic]
  134. #
  135. # Magic wind damage (2.2x, MAG) to one enemy
  136. #
  137. # Sealable - Unknown1 +
  138. # Reflect - Unknown2 -
  139. #
  140. ##
  141. #
  142. # Wings of the Ice Bird (210300) [Physical]
  143. #
  144. # Physical damage (2.7x, ATK) to all enemies
  145. # Reduce DEF and SPR by 40% for 3 turns to all enemies
  146. # Unused parameters: [1]
  147. #
  148. # Sealable - Unknown1 +
  149. # Reflect - Unknown2 -
  150. #
  151. ##
  152. #
  153. # Hail Powder (210310) [None]
  154. #
  155. # Physical* ice, water and wind damage (2.3x, ATK) to all enemies
  156. # Reduce resistance to Ice, Water and Wind by 50% for 3 turns to all enemies
  157. # Unused parameters: [1]
  158. #
  159. # Sealable - Unknown1 +
  160. # Reflect - Unknown2 -
  161. #
  162. ##
  163. #
  164. # Weapons have been imbued with ice magic! (210600) [None]
  165. #
  166. # Reduce resistance to Ice by 60% for 2 turns to all enemies
  167. # Unused parameters: [1]
  168. # Add Ice element (100%) to physical attacks for one turn to all enemies
  169. # Unused parameters: [1]
  170. #
  171. # Sealable - Unknown1 +
  172. # Reflect - Unknown2 -
  173. #
  174. ##
  175. #
  176. # Weapons have been imbued with water magic! (210610) [None]
  177. #
  178. # Reduce resistance to Water by 60% for 2 turns to all enemies
  179. # Unused parameters: [1]
  180. # Add Water element (100%) to physical attacks for one turn to all enemies
  181. # Unused parameters: [1]
  182. #
  183. # Sealable - Unknown1 +
  184. # Reflect - Unknown2 -
  185. #
  186. ##
  187. #
  188. # Weapons have been imbued with wind magic! (210620) [None]
  189. #
  190. # Reduce resistance to Wind by 60% for 2 turns to all enemies
  191. # Unused parameters: [1]
  192. # Add Wind element (100%) to physical attacks for one turn to all enemies
  193. # Unused parameters: [1]
  194. #
  195. # Sealable - Unknown1 +
  196. # Reflect - Unknown2 -
  197. #
  198. ##
  199. #
  200. # Whiteout (210350) [None]
  201. #
  202. # Inflict Paralyze and Disease (100%) on all enemies
  203. # Unknown parameters: [1]
  204. # Reduce resistance to Ice by 80% for 3 turns to all enemies
  205. # Unused parameters: [1]
  206. #
  207. # Sealable - Unknown1 +
  208. # Reflect - Unknown2 -
  209. #
  210. ##
  211. #
  212. # Blueout (210360) [None]
  213. #
  214. # Inflict Poison and Silence (100%) on all enemies
  215. # Unknown parameters: [1]
  216. # Reduce resistance to Water by 80% for 3 turns to all enemies
  217. # Unused parameters: [1]
  218. #
  219. # Sealable - Unknown1 +
  220. # Reflect - Unknown2 -
  221. #
  222. ##
  223. #
  224. # Greenout (210370) [None]
  225. #
  226. # Inflict Blind and Confusion (100%) on all enemies
  227. # Unknown parameters: [1]
  228. # Reduce resistance to Wind by 80% for 3 turns to all enemies
  229. # Unused parameters: [1]
  230. #
  231. # Sealable - Unknown1 +
  232. # Reflect - Unknown2 -
  233. #
  234. ##
  235. #
  236. # The melted ice is refreezing... (210380) [None]
  237. #
  238. # Reduce physical damage taken by 70% to caster for 3 turns (can not be removed)
  239. # Unused parameters: [1]
  240. # Reduce magic damage taken by 70% to caster for 3 turns (can not be removed)
  241. # Unused parameters: [1]
  242. # Increase ATK and MAG by 10% for 3 turns to caster
  243. # Unused parameters: [1]
  244. #
  245. # Sealable - Unknown1 +
  246. # Reflect - Unknown2 -
  247. #
  248. ##
  249. #
  250. # Ice Reflector (210390) [None]
  251. #
  252. # Reflect all spell(s) to all allies
  253. #
  254. # Sealable - Unknown1 +
  255. # Reflect - Unknown2 -
  256. #
  257. ##
  258. #
  259. # Frozen Hurricane (210400) [Magic]
  260. #
  261. # Magic ice and wind damage (4.5x, MAG) to all enemies
  262. # Inflict Stop (30%) for 3 turns on all enemies
  263. # Reduce resistance to Ice and Wind by 50% for 3 turns to all enemies
  264. # Unused parameters: [1]
  265. #
  266. # Sealable - Unknown1 +
  267. # Reflect - Unknown2 -
  268. #
  269. ##
  270. #
  271. # Blizzard Hurricane (210410) [None]
  272. #
  273. # Magic* ice and wind damage (5.5x, MAG) to all enemies
  274. # Inflict Stop (80%) for 3 turns on all enemies
  275. # Reduce resistance to Ice and Wind by 100% for 3 turns to all enemies
  276. # Unused parameters: [1]
  277. #
  278. # Sealable - Unknown1 +
  279. # Reflect - Unknown2 -
  280. #
  281. ##
  282. #
  283. # The snowstorm is intensifying! (210420) [None]
  284. #
  285. # Increase DEF and SPR by 50% and ATK and MAG by 10% for 3 turns to caster
  286. # Unused parameters: [1]
  287. #
  288. # Sealable - Unknown1 +
  289. # Reflect - Unknown2 -
  290. #
  291. ##
  292. #
  293. # Cold air has formed a crystal (210430) [None]
  294. #
  295. # Summon グラソン (108211004)
  296. #
  297. # Sealable - Unknown1 +
  298. # Reflect - Unknown2 -
  299. #
  300. ##
  301. #
  302. # Cold air has formed a crystal (210440) [None]
  303. #
  304. # Summon グラソン (108211005)
  305. #
  306. # Sealable - Unknown1 +
  307. # Reflect - Unknown2 -
  308. #
  309. ##
  310. #
  311. # Cold air has formed a crystal (210450) [None]
  312. #
  313. # Summon ally #6
  314. #
  315. # Sealable - Unknown1 +
  316. # Reflect - Unknown2 -
  317. #
  318. ##
  319. #
  320. # Cold air has formed a crystal (210460) [None]
  321. #
  322. # Summon ally #7
  323. #
  324. # Sealable - Unknown1 +
  325. # Reflect - Unknown2 -
  326. #
  327. ##
  328. #
  329. # Cold air has formed a crystal (210470) [None]
  330. #
  331. # Summon ally #8
  332. #
  333. # Sealable - Unknown1 +
  334. # Reflect - Unknown2 -
  335. #
  336. ##
  337. #
  338. # Cold air has formed a crystal (210480) [None]
  339. #
  340. # Summon ally #9
  341. #
  342. # Sealable - Unknown1 +
  343. # Reflect - Unknown2 -
  344. #
  345. ##
  346. #
  347. # Cold air has formed a crystal (210490) [None]
  348. #
  349. # Summon ally #10
  350. #
  351. # Sealable - Unknown1 +
  352. # Reflect - Unknown2 -
  353. #
  354. ##
  355. #
  356. # Cold air has formed a crystal (210500) [None]
  357. #
  358. # Summon ally #11
  359. #
  360. # Sealable - Unknown1 +
  361. # Reflect - Unknown2 -
  362. #
  363. ##
  364. #
  365. # Cold air has formed a crystal (210510) [None]
  366. #
  367. # Summon ally #12
  368. #
  369. # Sealable - Unknown1 +
  370. # Reflect - Unknown2 -
  371. #
  372. ##
  373. #
  374. # Cold air has formed a crystal (210520) [None]
  375. #
  376. # Summon ally #13
  377. #
  378. # Sealable - Unknown1 +
  379. # Reflect - Unknown2 -
  380. #
  381. ##
  382. #
  383. # Ice Healing (210530) [None]
  384. #
  385. # Restore 4444444 HP to all allies
  386. #
  387. # Sealable - Unknown1 +
  388. # Reflect - Unknown2 -
  389. #
  390. ##
  391. #
  392. # Ice Barrier (210540) [None]
  393. #
  394. # Grant a 5555555 HP shield to all allies for 3 turns
  395. # Unknown parameters: [1]
  396. #
  397. # Sealable - Unknown1 +
  398. # Reflect - Unknown2 -
  399. #
  400. ##
  401. #
  402. # Diffusion Laser (210590) [None]
  403. #
  404. # Magic* damage (0.9x, MAG) to all enemies
  405. #
  406. # Sealable - Unknown1 +
  407. # Reflect - Unknown2 -
  408. #
  409. ##
  410.  
  411. ###
  412. # AI
  413. ###
  414. if once():
  415. endTurn()
  416.  
  417. elif unit('3:ally:2:グラシアール').is('dead') and green >= 6 and melon == False and isTurnMod(3):
  418. useSkill(28, 'random') # Ice Healing (210530): Restore 4444444 HP to all allies
  419. melon = True # reset next turn
  420.  
  421. elif unit('3:ally:2:グラシアール').is('dead') and green >= 6 and guava == False and isTurnMod(4):
  422. useSkill(29, 'random') # Ice Barrier (210540): Grant a 5555555 HP shield to all allies for 3 turns
  423. guava = True # reset next turn
  424.  
  425. elif unit('3:ally:2:グラシアール').is('dead') and green >= 6:
  426. endTurn()
  427. green = 0
  428.  
  429. elif unit('3:ally:2:グラシアール').is('dead') and green < 3:
  430. useSkill(1, 'random') # Crystal Laser (210260): Magic damage (1.85x, MAG) to one enemy
  431. green += 1
  432.  
  433. elif unit('3:ally:2:グラシアール').is('dead') and berry == False:
  434. useSkill(5, 'random') # Wings of the Ice Bird (210300): Physical damage (2.7x, ATK) to all enemies, Reduce DEF and SPR by 40% for 3 turns to all enemies
  435. green += 1
  436. berry = True # reset next turn
  437.  
  438. elif unit('3:ally:2:グラシアール').is('dead') and isTurnMod(2) and peach == False:
  439. useSkill(5, 'random') # Wings of the Ice Bird (210300): Physical damage (2.7x, ATK) to all enemies, Reduce DEF and SPR by 40% for 3 turns to all enemies
  440. green += 1
  441. peach = True # reset next turn
  442.  
  443. elif unit('3:ally:2:グラシアール').is('dead') and olive == False and isTurnMod(4):
  444. useSkill(15, 'random') # Frozen Hurricane (210400): Magic ice and wind damage (4.5x, MAG) to all enemies, Inflict Stop (30%) for 3 turns on all enemies, Reduce resistance to Ice and Wind by 50% for 3 turns to all enemies
  445. green += 1
  446. olive = True # reset next turn
  447.  
  448. elif unit('3:ally:2:グラシアール').is('dead'):
  449. useSkill(1, 'random') # Crystal Laser (210260): Magic damage (1.85x, MAG) to one enemy
  450. green += 1
  451.  
  452. elif green >= 2 and melon == False and isTurnMod(4):
  453. useSkill(28, 'random') # Ice Healing (210530): Restore 4444444 HP to all allies
  454. melon = True # reset next turn
  455.  
  456. elif green >= 2 and guava == False and isTurnMod(5):
  457. useSkill(29, 'random') # Ice Barrier (210540): Grant a 5555555 HP shield to all allies for 3 turns
  458. guava = True # reset next turn
  459.  
  460. elif green >= 2:
  461. endTurn()
  462. green = 0
  463.  
  464. elif isTurnMod(3) and var_61 == False:
  465. useSkill(5, 'random') # Wings of the Ice Bird (210300): Physical damage (2.7x, ATK) to all enemies, Reduce DEF and SPR by 40% for 3 turns to all enemies
  466. var_61 = -1 # unknown flag type 2
  467.  
  468. elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and gourd == False:
  469. useSkill(30, 'random') # Diffusion Laser (210590): Magic* damage (0.9x, MAG) to all enemies
  470. green += 1
  471. gourd = True # reset next turn
  472.  
  473. elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and gourd == False:
  474. useSkill(30, 'random') # Diffusion Laser (210590): Magic* damage (0.9x, MAG) to all enemies
  475. green += 1
  476. gourd = True # reset next turn
  477.  
  478. elif random() <= 0.33 and sushi == True and olive == True and grape == False:
  479. wait() # No action
  480. grape = True # reset next turn
  481.  
  482. elif sushi == True and olive == True and grape == False:
  483. useSkill(9, 'random') # Weapons have been imbued with wind magic! (210620): Reduce resistance to Wind by 60% for 2 turns to all enemies, Add Wind element (100%) to physical attacks for one turn to all enemies
  484. grape = True # reset next turn
  485.  
  486. elif sushi == True and green < 2:
  487. useSkill(4, 'random') # Wind Laser (210290): Magic wind damage (2.2x, MAG) to one enemy
  488. green += 1
  489. olive = True # reset next turn
  490.  
  491. elif random() <= 0.33 and ramen == True and peach == True and lemon == False:
  492. wait() # No action
  493. lemon = True # reset next turn
  494.  
  495. elif ramen == True and peach == True and lemon == False:
  496. useSkill(8, 'random') # Weapons have been imbued with water magic! (210610): Reduce resistance to Water by 60% for 2 turns to all enemies, Add Water element (100%) to physical attacks for one turn to all enemies
  497. lemon = True # reset next turn
  498.  
  499. elif ramen == True and green < 2:
  500. useSkill(3, 'random') # Water Laser (210280): Magic water damage (2.2x, MAG) to one enemy
  501. green += 1
  502. peach = True # reset next turn
  503.  
  504. elif random() <= 0.33 and honey == True and berry == True and mango == False:
  505. wait() # No action
  506. mango = True # reset next turn
  507.  
  508. elif honey == True and berry == True and mango == False:
  509. useSkill(7, 'random') # Weapons have been imbued with ice magic! (210600): Reduce resistance to Ice by 60% for 2 turns to all enemies, Add Ice element (100%) to physical attacks for one turn to all enemies
  510. mango = True # reset next turn
  511.  
  512. elif honey == True and green < 2:
  513. useSkill(2, 'random') # Frozen Laser (210270): Magic ice damage (2.2x, MAG) to one enemy
  514. green += 1
  515. berry = True # reset next turn
  516.  
  517. else:
  518. attack('random')
  519.  
  520. ##
  521. # Monster Info
  522. ##
  523. #
  524. # Monster Glacial (502001005)
  525. # Race Avian, Fairy
  526. # Level 99
  527. # Actions 32-32
  528. #
  529. # NEW DAMAGE FORMULA! (5, 25, 185)
  530. #
  531. #
  532. # Stats
  533. # HP 145555555
  534. # MP 100000
  535. # ATK 1600
  536. # DEF 850
  537. # MAG 1500
  538. # SPR 865
  539. #
  540. #
  541. # Damage resist
  542. # physical 0%
  543. # magical 0%
  544. #
  545. #
  546. # Element resist
  547. # Fire 0%
  548. # Ice 0%
  549. # Lightning -30%
  550. # Water 0%
  551. # Wind 0%
  552. # Earth 0%
  553. # Light 0%
  554. # Dark 0%
  555. # Non-Elemental 100%
  556. #
  557. #
  558. # Status resist (+80% / application)
  559. # Poison 100%
  560. # Blind 100%
  561. # Sleep 100%
  562. # Silence 100%
  563. # Paralyze 100%
  564. # Confusion 100%
  565. # Disease 100%
  566. # Petrify 100%
  567. #
  568. #
  569. # Debuff resist
  570. # ATK 100%
  571. # DEF 0%
  572. # MAG 100%
  573. # SPR 0%
  574. # Stop 100%
  575. # Charm 100%
  576. # Berserk 100%
  577. #
  578. #
  579. # Immunity
  580. # Death +
  581. # Gravity +
  582. #
  583. ###
  584.  
  585. ###
  586. # Passives
  587. ###
  588. #
  589. # 氷属性吸収 (100004) [Passive]
  590. #
  591. # Absorb Ice elemental attacks
  592. #
  593. ##
  594. #
  595. # 水属性吸収 (100006) [Passive]
  596. #
  597. # Absorb Water elemental attacks
  598. #
  599. ##
  600. #
  601. # 風属性吸収 (100011) [Passive]
  602. #
  603. # Absorb Wind elemental attacks
  604. #
  605. ##
  606. #
  607. # 防精70% (100066) [Passive]
  608. #
  609. # Increase DEF and SPR by 70%
  610. #
  611. ##
  612.  
  613. ###
  614. # Skills
  615. ###
  616. #
  617. # Crystal Laser (210260) [Magic]
  618. #
  619. # Magic damage (1.85x, MAG) to one enemy
  620. #
  621. # Sealable - Unknown1 +
  622. # Reflect - Unknown2 -
  623. #
  624. ##
  625. #
  626. # Frozen Laser (210270) [Magic]
  627. #
  628. # Magic ice damage (2.2x, MAG) to one enemy
  629. #
  630. # Sealable - Unknown1 +
  631. # Reflect - Unknown2 -
  632. #
  633. ##
  634. #
  635. # Water Laser (210280) [Magic]
  636. #
  637. # Magic water damage (2.2x, MAG) to one enemy
  638. #
  639. # Sealable - Unknown1 +
  640. # Reflect - Unknown2 -
  641. #
  642. ##
  643. #
  644. # Wind Laser (210290) [Magic]
  645. #
  646. # Magic wind damage (2.2x, MAG) to one enemy
  647. #
  648. # Sealable - Unknown1 +
  649. # Reflect - Unknown2 -
  650. #
  651. ##
  652. #
  653. # Wings of the Ice Bird (210300) [Physical]
  654. #
  655. # Physical damage (2.7x, ATK) to all enemies
  656. # Reduce DEF and SPR by 40% for 3 turns to all enemies
  657. # Unused parameters: [1]
  658. #
  659. # Sealable - Unknown1 +
  660. # Reflect - Unknown2 -
  661. #
  662. ##
  663. #
  664. # Hail Powder (210310) [None]
  665. #
  666. # Physical* ice, water and wind damage (2.3x, ATK) to all enemies
  667. # Reduce resistance to Ice, Water and Wind by 50% for 3 turns to all enemies
  668. # Unused parameters: [1]
  669. #
  670. # Sealable - Unknown1 +
  671. # Reflect - Unknown2 -
  672. #
  673. ##
  674. #
  675. # Blizzaga (210320) [Magic]
  676. #
  677. # Magic ice damage (3.5x, MAG) to all allies
  678. #
  679. # Sealable + Unknown1 +
  680. # Reflect + Unknown2 -
  681. #
  682. ##
  683. #
  684. # Waterga (210330) [Magic]
  685. #
  686. # Magic water damage (3.5x, MAG) to all allies
  687. #
  688. # Sealable + Unknown1 +
  689. # Reflect + Unknown2 -
  690. #
  691. ##
  692. #
  693. # Aeroga (210340) [Magic]
  694. #
  695. # Magic wind damage (3.5x, MAG) to all allies
  696. #
  697. # Sealable + Unknown1 +
  698. # Reflect + Unknown2 -
  699. #
  700. ##
  701. #
  702. # Whiteout (210350) [None]
  703. #
  704. # Inflict Paralyze and Disease (100%) on all enemies
  705. # Unknown parameters: [1]
  706. # Reduce resistance to Ice by 80% for 3 turns to all enemies
  707. # Unused parameters: [1]
  708. #
  709. # Sealable - Unknown1 +
  710. # Reflect - Unknown2 -
  711. #
  712. ##
  713. #
  714. # Blueout (210360) [None]
  715. #
  716. # Inflict Poison and Silence (100%) on all enemies
  717. # Unknown parameters: [1]
  718. # Reduce resistance to Water by 80% for 3 turns to all enemies
  719. # Unused parameters: [1]
  720. #
  721. # Sealable - Unknown1 +
  722. # Reflect - Unknown2 -
  723. #
  724. ##
  725. #
  726. # Greenout (210370) [None]
  727. #
  728. # Inflict Blind and Confusion (100%) on all enemies
  729. # Unknown parameters: [1]
  730. # Reduce resistance to Wind by 80% for 3 turns to all enemies
  731. # Unused parameters: [1]
  732. #
  733. # Sealable - Unknown1 +
  734. # Reflect - Unknown2 -
  735. #
  736. ##
  737. #
  738. # The melted ice is refreezing... (210380) [None]
  739. #
  740. # Reduce physical damage taken by 70% to caster for 3 turns (can not be removed)
  741. # Unused parameters: [1]
  742. # Reduce magic damage taken by 70% to caster for 3 turns (can not be removed)
  743. # Unused parameters: [1]
  744. # Increase ATK and MAG by 10% for 3 turns to caster
  745. # Unused parameters: [1]
  746. #
  747. # Sealable - Unknown1 +
  748. # Reflect - Unknown2 -
  749. #
  750. ##
  751. #
  752. # Ice Reflector (210390) [None]
  753. #
  754. # Reflect all spell(s) to all allies
  755. #
  756. # Sealable - Unknown1 +
  757. # Reflect - Unknown2 -
  758. #
  759. ##
  760. #
  761. # Frozen Hurricane (210400) [Magic]
  762. #
  763. # Magic ice and wind damage (4.5x, MAG) to all enemies
  764. # Inflict Stop (30%) for 3 turns on all enemies
  765. # Reduce resistance to Ice and Wind by 50% for 3 turns to all enemies
  766. # Unused parameters: [1]
  767. #
  768. # Sealable - Unknown1 +
  769. # Reflect - Unknown2 -
  770. #
  771. ##
  772. #
  773. # Blizzard Hurricane (210410) [None]
  774. #
  775. # Magic* ice and wind damage (5.5x, MAG) to all enemies
  776. # Inflict Stop (80%) for 3 turns on all enemies
  777. # Reduce resistance to Ice and Wind by 100% for 3 turns to all enemies
  778. # Unused parameters: [1]
  779. #
  780. # Sealable - Unknown1 +
  781. # Reflect - Unknown2 -
  782. #
  783. ##
  784. #
  785. # The snowstorm is intensifying! (210420) [None]
  786. #
  787. # Increase DEF and SPR by 50% and ATK and MAG by 10% for 3 turns to caster
  788. # Unused parameters: [1]
  789. #
  790. # Sealable - Unknown1 +
  791. # Reflect - Unknown2 -
  792. #
  793. ##
  794. #
  795. # Cold air has formed a crystal (210430) [None]
  796. #
  797. # Summon グラソン (108211004)
  798. #
  799. # Sealable - Unknown1 +
  800. # Reflect - Unknown2 -
  801. #
  802. ##
  803. #
  804. # Cold air has formed a crystal (210440) [None]
  805. #
  806. # Summon グラソン (108211005)
  807. #
  808. # Sealable - Unknown1 +
  809. # Reflect - Unknown2 -
  810. #
  811. ##
  812. #
  813. # Cold air has formed a crystal (210450) [None]
  814. #
  815. # Summon ally #6
  816. #
  817. # Sealable - Unknown1 +
  818. # Reflect - Unknown2 -
  819. #
  820. ##
  821. #
  822. # Cold air has formed a crystal (210460) [None]
  823. #
  824. # Summon ally #7
  825. #
  826. # Sealable - Unknown1 +
  827. # Reflect - Unknown2 -
  828. #
  829. ##
  830. #
  831. # Cold air has formed a crystal (210470) [None]
  832. #
  833. # Summon ally #8
  834. #
  835. # Sealable - Unknown1 +
  836. # Reflect - Unknown2 -
  837. #
  838. ##
  839. #
  840. # Cold air has formed a crystal (210480) [None]
  841. #
  842. # Summon ally #9
  843. #
  844. # Sealable - Unknown1 +
  845. # Reflect - Unknown2 -
  846. #
  847. ##
  848. #
  849. # Cold air has formed a crystal (210490) [None]
  850. #
  851. # Summon ally #10
  852. #
  853. # Sealable - Unknown1 +
  854. # Reflect - Unknown2 -
  855. #
  856. ##
  857. #
  858. # Cold air has formed a crystal (210500) [None]
  859. #
  860. # Summon ally #11
  861. #
  862. # Sealable - Unknown1 +
  863. # Reflect - Unknown2 -
  864. #
  865. ##
  866. #
  867. # Cold air has formed a crystal (210510) [None]
  868. #
  869. # Summon ally #12
  870. #
  871. # Sealable - Unknown1 +
  872. # Reflect - Unknown2 -
  873. #
  874. ##
  875. #
  876. # Cold air has formed a crystal (210520) [None]
  877. #
  878. # Summon ally #13
  879. #
  880. # Sealable - Unknown1 +
  881. # Reflect - Unknown2 -
  882. #
  883. ##
  884. #
  885. # Ice Healing (210530) [None]
  886. #
  887. # Restore 4444444 HP to all allies
  888. #
  889. # Sealable - Unknown1 +
  890. # Reflect - Unknown2 -
  891. #
  892. ##
  893. #
  894. # A cloud of cold air begins to form (210650) [None]
  895. #
  896. # No effect
  897. # Unused parameters: [1]
  898. #
  899. # Sealable - Unknown1 +
  900. # Reflect - Unknown2 -
  901. #
  902. ##
  903. #
  904. # Diffusion Laser (210590) [None]
  905. #
  906. # Magic* damage (0.9x, MAG) to all enemies
  907. #
  908. # Sealable - Unknown1 +
  909. # Reflect - Unknown2 -
  910. #
  911. ##
  912.  
  913. ###
  914. # AI
  915. ###
  916. if apple == True:
  917. endTurn()
  918.  
  919. elif once() and unit('1:ally:any').HP < 0.5 and var_59 == False:
  920. wait() # No action
  921. var_59 = True # unknown flag type
  922.  
  923. elif once() and unit('1:ally:any').HP < 0.3:
  924. useSkill(13, 'random') # The melted ice is refreezing... (210380): Reduce physical damage taken by 70% to caster for 3 turns (can not be removed), Reduce magic damage taken by 70% to caster for 3 turns (can not be removed), Increase ATK and MAG by 10% for 3 turns to caster
  925. var_58 = True # unknown flag type
  926.  
  927. elif once() and unit('1:ally:any').HP < 0.5 and var_58 == False:
  928. useSkill(13, 'random') # The melted ice is refreezing... (210380): Reduce physical damage taken by 70% to caster for 3 turns (can not be removed), Reduce magic damage taken by 70% to caster for 3 turns (can not be removed), Increase ATK and MAG by 10% for 3 turns to caster
  929. var_57 = True # unknown flag type
  930.  
  931. elif once() and unit('1:ally:any').HP < 0.7 and var_58 == False and var_57 == False:
  932. useSkill(13, 'random') # The melted ice is refreezing... (210380): Reduce physical damage taken by 70% to caster for 3 turns (can not be removed), Reduce magic damage taken by 70% to caster for 3 turns (can not be removed), Increase ATK and MAG by 10% for 3 turns to caster
  933.  
  934. elif random() <= 0.35 and once() and var_60 == False:
  935. useSkill(10, 'random') # Whiteout (210350): Inflict Paralyze and Disease (100%) on all enemies, Reduce resistance to Ice by 80% for 3 turns to all enemies
  936. var_60 = True # unknown flag type
  937.  
  938. elif random() <= 0.55 and once() and var_60 == False:
  939. useSkill(11, 'random') # Blueout (210360): Inflict Poison and Silence (100%) on all enemies, Reduce resistance to Water by 80% for 3 turns to all enemies
  940. var_60 = True # unknown flag type
  941.  
  942. elif once() and var_60 == False:
  943. useSkill(12, 'random') # Greenout (210370): Inflict Blind and Confusion (100%) on all enemies, Reduce resistance to Wind by 80% for 3 turns to all enemies
  944. var_60 = True # unknown flag type
  945.  
  946. elif once():
  947. useSkill(6, 'random') # Hail Powder (210310): Physical* ice, water and wind damage (2.3x, ATK) to all enemies, Reduce resistance to Ice, Water and Wind by 50% for 3 turns to all enemies
  948.  
  949. elif once():
  950. useSkill(18, 'random') # Cold air has formed a crystal (210430): Summon グラソン (108211004)
  951.  
  952. elif once():
  953. useSkill(23, 'random') # Cold air has formed a crystal (210480): Summon ally #9
  954.  
  955. elif once():
  956. useSkill(14, 'random') # Ice Reflector (210390): Reflect all spell(s) to all allies
  957.  
  958. elif once():
  959. useSkill(13, 'random') # The melted ice is refreezing... (210380): Reduce physical damage taken by 70% to caster for 3 turns (can not be removed), Reduce magic damage taken by 70% to caster for 3 turns (can not be removed), Increase ATK and MAG by 10% for 3 turns to caster
  960. apple = True # reset next turn
  961.  
  962. elif once() and var_90 == False:
  963. wait() # No action
  964. var_90 = True # unknown flag type
  965. honey = True # persistent
  966.  
  967. elif honey == True and ramen == False and var_90 == False:
  968. wait() # No action
  969. var_90 = True # unknown flag type
  970. sushi = False # persistent
  971. ramen = True # persistent
  972. honey = False # persistent
  973.  
  974. elif ramen == True and sushi == False and var_90 == False:
  975. wait() # No action
  976. var_90 = True # unknown flag type
  977. sushi = True # persistent
  978. ramen = False # persistent
  979. honey = False # persistent
  980.  
  981. elif sushi == True and honey == False and var_90 == False:
  982. wait() # No action
  983. var_90 = True # unknown flag type
  984. sushi = False # persistent
  985. ramen = False # persistent
  986. honey = True # persistent
  987.  
  988. elif unit('3:ally:4:グラソン').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_71 == False and green >= 8 and white < 2 and isTurnMod(2):
  989. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  990. var_71 = True # unknown flag type
  991.  
  992. elif unit('3:ally:9').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_72 == False and green >= 8 and white < 2 and isTurnMod(2):
  993. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  994. var_72 = True # unknown flag type
  995.  
  996. elif unit('3:ally:5:グラソン').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_73 == False and green >= 8 and white < 2 and isTurnMod(2):
  997. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  998. var_73 = True # unknown flag type
  999.  
  1000. elif unit('3:ally:10').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_74 == False and green >= 8 and white < 2 and isTurnMod(2):
  1001. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1002. var_74 = True # unknown flag type
  1003.  
  1004. elif unit('3:ally:6').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_75 == False and green >= 8 and white < 2 and isTurnMod(2):
  1005. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1006. var_75 = True # unknown flag type
  1007.  
  1008. elif unit('3:ally:11').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_76 == False and green >= 8 and white < 2 and isTurnMod(2):
  1009. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1010. var_76 = True # unknown flag type
  1011.  
  1012. elif unit('3:ally:7').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_77 == False and green >= 8 and white < 2 and isTurnMod(2):
  1013. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1014. var_77 = True # unknown flag type
  1015.  
  1016. elif unit('3:ally:12').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_78 == False and green >= 8 and white < 2 and isTurnMod(2):
  1017. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1018. var_78 = True # unknown flag type
  1019.  
  1020. elif unit('3:ally:8').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_79 == False and green >= 8 and white < 2 and isTurnMod(2):
  1021. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1022. var_79 = True # unknown flag type
  1023.  
  1024. elif unit('3:ally:13').is('alive') and unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and var_80 == False and green >= 8 and white < 2 and isTurnMod(2):
  1025. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1026. var_80 = True # unknown flag type
  1027.  
  1028. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_71 == False and white < 2 and isTurnMod(2):
  1029. useSkill(18, 'random') # Cold air has formed a crystal (210430): Summon グラソン (108211004)
  1030. var_71 = True # unknown flag type
  1031. white += 1
  1032.  
  1033. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_72 == False and white < 2 and isTurnMod(2):
  1034. useSkill(23, 'random') # Cold air has formed a crystal (210480): Summon ally #9
  1035. var_72 = True # unknown flag type
  1036. white += 1
  1037.  
  1038. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_73 == False and white < 2 and isTurnMod(2):
  1039. useSkill(19, 'random') # Cold air has formed a crystal (210440): Summon グラソン (108211005)
  1040. var_73 = True # unknown flag type
  1041. white += 1
  1042.  
  1043. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_74 == False and white < 2 and isTurnMod(2):
  1044. useSkill(24, 'random') # Cold air has formed a crystal (210490): Summon ally #10
  1045. var_74 = True # unknown flag type
  1046. white += 1
  1047.  
  1048. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_75 == False and white < 2 and isTurnMod(2):
  1049. useSkill(20, 'random') # Cold air has formed a crystal (210450): Summon ally #6
  1050. var_75 = True # unknown flag type
  1051. white += 1
  1052.  
  1053. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_76 == False and white < 2 and isTurnMod(2):
  1054. useSkill(25, 'random') # Cold air has formed a crystal (210500): Summon ally #11
  1055. var_76 = True # unknown flag type
  1056. white += 1
  1057.  
  1058. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_77 == False and white < 2 and isTurnMod(2):
  1059. useSkill(21, 'random') # Cold air has formed a crystal (210460): Summon ally #7
  1060. var_77 = True # unknown flag type
  1061. white += 1
  1062.  
  1063. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_78 == False and white < 2 and isTurnMod(2):
  1064. useSkill(26, 'random') # Cold air has formed a crystal (210510): Summon ally #12
  1065. var_78 = True # unknown flag type
  1066. white += 1
  1067.  
  1068. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_79 == False and white < 2 and isTurnMod(2):
  1069. useSkill(22, 'random') # Cold air has formed a crystal (210470): Summon ally #8
  1070. var_79 = True # unknown flag type
  1071. white += 1
  1072.  
  1073. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and green >= 8 and var_80 == False and white < 2 and isTurnMod(2):
  1074. useSkill(27, 'random') # Cold air has formed a crystal (210520): Summon ally #13
  1075. var_80 = True # unknown flag type
  1076. white += 1
  1077.  
  1078. elif unit('3:ally:4:グラソン').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_71 == False and green >= 8 and white < 2 and isTurnMod(3):
  1079. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1080. var_71 = True # unknown flag type
  1081.  
  1082. elif unit('3:ally:9').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_72 == False and green >= 8 and white < 2 and isTurnMod(3):
  1083. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1084. var_72 = True # unknown flag type
  1085.  
  1086. elif unit('3:ally:5:グラソン').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_73 == False and green >= 8 and white < 2 and isTurnMod(3):
  1087. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1088. var_73 = True # unknown flag type
  1089.  
  1090. elif unit('3:ally:10').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_74 == False and green >= 8 and white < 2 and isTurnMod(3):
  1091. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1092. var_74 = True # unknown flag type
  1093.  
  1094. elif unit('3:ally:6').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_75 == False and green >= 8 and white < 2 and isTurnMod(3):
  1095. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1096. var_75 = True # unknown flag type
  1097.  
  1098. elif unit('3:ally:11').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_76 == False and green >= 8 and white < 2 and isTurnMod(3):
  1099. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1100. var_76 = True # unknown flag type
  1101.  
  1102. elif unit('3:ally:7').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_77 == False and green >= 8 and white < 2 and isTurnMod(3):
  1103. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1104. var_77 = True # unknown flag type
  1105.  
  1106. elif unit('3:ally:12').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_78 == False and green >= 8 and white < 2 and isTurnMod(3):
  1107. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1108. var_78 = True # unknown flag type
  1109.  
  1110. elif unit('3:ally:8').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_79 == False and green >= 8 and white < 2 and isTurnMod(3):
  1111. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1112. var_79 = True # unknown flag type
  1113.  
  1114. elif unit('3:ally:13').is('alive') and unit('1:ally:any').HP > 0.7 and var_59 == False and var_80 == False and green >= 8 and white < 2 and isTurnMod(3):
  1115. useSkill(29, 'random') # A cloud of cold air begins to form (210650): No effect
  1116. var_80 = True # unknown flag type
  1117.  
  1118. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_71 == False and white < 2 and isTurnMod(3):
  1119. useSkill(18, 'random') # Cold air has formed a crystal (210430): Summon グラソン (108211004)
  1120. var_71 = True # unknown flag type
  1121. white += 1
  1122.  
  1123. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_72 == False and white < 2 and isTurnMod(3):
  1124. useSkill(23, 'random') # Cold air has formed a crystal (210480): Summon ally #9
  1125. var_72 = True # unknown flag type
  1126. white += 1
  1127.  
  1128. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_73 == False and white < 2 and isTurnMod(3):
  1129. useSkill(19, 'random') # Cold air has formed a crystal (210440): Summon グラソン (108211005)
  1130. var_73 = True # unknown flag type
  1131. white += 1
  1132.  
  1133. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_74 == False and white < 2 and isTurnMod(3):
  1134. useSkill(24, 'random') # Cold air has formed a crystal (210490): Summon ally #10
  1135. var_74 = True # unknown flag type
  1136. white += 1
  1137.  
  1138. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_75 == False and white < 2 and isTurnMod(3):
  1139. useSkill(20, 'random') # Cold air has formed a crystal (210450): Summon ally #6
  1140. var_75 = True # unknown flag type
  1141. white += 1
  1142.  
  1143. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_76 == False and white < 2 and isTurnMod(3):
  1144. useSkill(25, 'random') # Cold air has formed a crystal (210500): Summon ally #11
  1145. var_76 = True # unknown flag type
  1146. white += 1
  1147.  
  1148. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_77 == False and white < 2 and isTurnMod(3):
  1149. useSkill(21, 'random') # Cold air has formed a crystal (210460): Summon ally #7
  1150. var_77 = True # unknown flag type
  1151. white += 1
  1152.  
  1153. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_78 == False and white < 2 and isTurnMod(3):
  1154. useSkill(26, 'random') # Cold air has formed a crystal (210510): Summon ally #12
  1155. var_78 = True # unknown flag type
  1156. white += 1
  1157.  
  1158. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_79 == False and white < 2 and isTurnMod(3):
  1159. useSkill(22, 'random') # Cold air has formed a crystal (210470): Summon ally #8
  1160. var_79 = True # unknown flag type
  1161. white += 1
  1162.  
  1163. elif unit('1:ally:any').HP > 0.7 and var_59 == False and green >= 8 and var_80 == False and white < 2 and isTurnMod(3):
  1164. useSkill(27, 'random') # Cold air has formed a crystal (210520): Summon ally #13
  1165. var_80 = True # unknown flag type
  1166. white += 1
  1167.  
  1168. elif var_88 == False:
  1169. useSkill(14, 'random') # Ice Reflector (210390): Reflect all spell(s) to all allies
  1170. var_88 = True # unknown flag type
  1171.  
  1172. elif unit('3:ally:1:グラシアールの氷像').is('alive') and unit('3:ally:1:グラシアールの氷像').hasReflect() and var_59 == True and green >= 8 and sushi == True and var_61 == False:
  1173. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1174. var_61 = True # unknown flag type
  1175.  
  1176. elif unit('3:ally:3:グラシアールの氷像').is('alive') and unit('3:ally:3:グラシアールの氷像').hasReflect() and var_59 == True and green >= 8 and sushi == True and var_62 == False:
  1177. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1178. var_62 = True # unknown flag type
  1179.  
  1180. elif unit('3:ally:4:グラソン').is('alive') and unit('3:ally:4:グラソン').hasReflect() and green >= 8 and sushi == True and var_61 == False:
  1181. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1182. var_61 = True # unknown flag type
  1183.  
  1184. elif unit('3:ally:5:グラソン').is('alive') and unit('3:ally:5:グラソン').hasReflect() and green >= 8 and sushi == True and var_62 == False:
  1185. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1186. var_62 = True # unknown flag type
  1187.  
  1188. elif unit('3:ally:6').is('alive') and unit('3:ally:6').hasReflect() and green >= 8 and sushi == True and var_63 == False:
  1189. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1190. var_63 = True # unknown flag type
  1191.  
  1192. elif unit('3:ally:7').is('alive') and unit('3:ally:7').hasReflect() and green >= 8 and sushi == True and var_64 == False:
  1193. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1194. var_64 = True # unknown flag type
  1195.  
  1196. elif unit('3:ally:8').is('alive') and unit('3:ally:8').hasReflect() and green >= 8 and sushi == True and var_65 == False:
  1197. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1198. var_65 = True # unknown flag type
  1199.  
  1200. elif unit('3:ally:9').is('alive') and unit('3:ally:9').hasReflect() and green >= 8 and sushi == True and var_66 == False:
  1201. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1202. var_66 = True # unknown flag type
  1203.  
  1204. elif unit('3:ally:10').is('alive') and unit('3:ally:10').hasReflect() and green >= 8 and sushi == True and var_67 == False:
  1205. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1206. var_67 = True # unknown flag type
  1207.  
  1208. elif unit('3:ally:11').is('alive') and unit('3:ally:11').hasReflect() and green >= 8 and sushi == True and var_68 == False:
  1209. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1210. var_68 = True # unknown flag type
  1211.  
  1212. elif unit('3:ally:12').is('alive') and unit('3:ally:12').hasReflect() and green >= 8 and sushi == True and var_69 == False:
  1213. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1214. var_69 = True # unknown flag type
  1215.  
  1216. elif unit('3:ally:13').is('alive') and unit('3:ally:13').hasReflect() and green >= 8 and sushi == True and var_70 == False:
  1217. useSkill(9, 'random') # Aeroga (210340): Magic wind damage (3.5x, MAG) to all allies
  1218. var_70 = True # unknown flag type
  1219.  
  1220. elif unit('3:ally:1:グラシアールの氷像').is('alive') and unit('3:ally:1:グラシアールの氷像').hasReflect() and var_59 == True and green >= 8 and ramen == True and var_61 == False:
  1221. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1222. var_61 = True # unknown flag type
  1223.  
  1224. elif unit('3:ally:3:グラシアールの氷像').is('alive') and unit('3:ally:3:グラシアールの氷像').hasReflect() and var_59 == True and green >= 8 and ramen == True and var_62 == False:
  1225. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1226. var_62 = True # unknown flag type
  1227.  
  1228. elif unit('3:ally:4:グラソン').is('alive') and unit('3:ally:4:グラソン').hasReflect() and green >= 8 and ramen == True and var_61 == False:
  1229. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1230. var_61 = True # unknown flag type
  1231.  
  1232. elif unit('3:ally:5:グラソン').is('alive') and unit('3:ally:5:グラソン').hasReflect() and green >= 8 and ramen == True and var_62 == False:
  1233. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1234. var_62 = True # unknown flag type
  1235.  
  1236. elif unit('3:ally:6').is('alive') and unit('3:ally:6').hasReflect() and green >= 8 and ramen == True and var_63 == False:
  1237. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1238. var_63 = True # unknown flag type
  1239.  
  1240. elif unit('3:ally:7').is('alive') and unit('3:ally:7').hasReflect() and green >= 8 and ramen == True and var_64 == False:
  1241. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1242. var_64 = True # unknown flag type
  1243.  
  1244. elif unit('3:ally:8').is('alive') and unit('3:ally:8').hasReflect() and green >= 8 and ramen == True and var_65 == False:
  1245. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1246. var_65 = True # unknown flag type
  1247.  
  1248. elif unit('3:ally:9').is('alive') and unit('3:ally:9').hasReflect() and green >= 8 and ramen == True and var_66 == False:
  1249. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1250. var_66 = True # unknown flag type
  1251.  
  1252. elif unit('3:ally:10').is('alive') and unit('3:ally:10').hasReflect() and green >= 8 and ramen == True and var_67 == False:
  1253. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1254. var_67 = True # unknown flag type
  1255.  
  1256. elif unit('3:ally:11').is('alive') and unit('3:ally:11').hasReflect() and green >= 8 and ramen == True and var_68 == False:
  1257. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1258. var_68 = True # unknown flag type
  1259.  
  1260. elif unit('3:ally:12').is('alive') and unit('3:ally:12').hasReflect() and green >= 8 and ramen == True and var_69 == False:
  1261. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1262. var_69 = True # unknown flag type
  1263.  
  1264. elif unit('3:ally:13').is('alive') and unit('3:ally:13').hasReflect() and green >= 8 and ramen == True and var_70 == False:
  1265. useSkill(8, 'random') # Waterga (210330): Magic water damage (3.5x, MAG) to all allies
  1266. var_70 = True # unknown flag type
  1267.  
  1268. elif unit('3:ally:1:グラシアールの氷像').is('alive') and unit('3:ally:1:グラシアールの氷像').hasReflect() and var_59 == True and green >= 8 and honey == True and var_61 == False:
  1269. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1270. var_61 = True # unknown flag type
  1271.  
  1272. elif unit('3:ally:3:グラシアールの氷像').is('alive') and unit('3:ally:3:グラシアールの氷像').hasReflect() and var_59 == True and green >= 8 and honey == True and var_62 == False:
  1273. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1274. var_62 = True # unknown flag type
  1275.  
  1276. elif unit('3:ally:4:グラソン').is('alive') and unit('3:ally:4:グラソン').hasReflect() and green >= 8 and honey == True and var_61 == False:
  1277. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1278. var_61 = True # unknown flag type
  1279.  
  1280. elif unit('3:ally:5:グラソン').is('alive') and unit('3:ally:5:グラソン').hasReflect() and green >= 8 and honey == True and var_62 == False:
  1281. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1282. var_62 = True # unknown flag type
  1283.  
  1284. elif unit('3:ally:6').is('alive') and unit('3:ally:6').hasReflect() and green >= 8 and honey == True and var_63 == False:
  1285. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1286. var_63 = True # unknown flag type
  1287.  
  1288. elif unit('3:ally:7').is('alive') and unit('3:ally:7').hasReflect() and green >= 8 and honey == True and var_64 == False:
  1289. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1290. var_64 = True # unknown flag type
  1291.  
  1292. elif unit('3:ally:8').is('alive') and unit('3:ally:8').hasReflect() and green >= 8 and honey == True and var_65 == False:
  1293. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1294. var_65 = True # unknown flag type
  1295.  
  1296. elif unit('3:ally:9').is('alive') and unit('3:ally:9').hasReflect() and green >= 8 and honey == True and var_66 == False:
  1297. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1298. var_66 = True # unknown flag type
  1299.  
  1300. elif unit('3:ally:10').is('alive') and unit('3:ally:10').hasReflect() and green >= 8 and honey == True and var_67 == False:
  1301. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1302. var_67 = True # unknown flag type
  1303.  
  1304. elif unit('3:ally:11').is('alive') and unit('3:ally:11').hasReflect() and green >= 8 and honey == True and var_68 == False:
  1305. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1306. var_68 = True # unknown flag type
  1307.  
  1308. elif unit('3:ally:12').is('alive') and unit('3:ally:12').hasReflect() and green >= 8 and honey == True and var_69 == False:
  1309. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1310. var_69 = True # unknown flag type
  1311.  
  1312. elif unit('3:ally:13').is('alive') and unit('3:ally:13').hasReflect() and green >= 8 and honey == True and var_70 == False:
  1313. useSkill(7, 'random') # Blizzaga (210320): Magic ice damage (3.5x, MAG) to all allies
  1314. var_70 = True # unknown flag type
  1315.  
  1316. elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and var_59 == True and lemon == False:
  1317. useSkill(30, 'random') # Diffusion Laser (210590): Magic* damage (0.9x, MAG) to all enemies
  1318. lemon = True # reset next turn
  1319.  
  1320. elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and var_59 == True and lemon == False:
  1321. useSkill(30, 'random') # Diffusion Laser (210590): Magic* damage (0.9x, MAG) to all enemies
  1322. lemon = True # reset next turn
  1323.  
  1324. elif unit('1:ally:any').HP > 0.3 and var_59 == True and green >= 8 and gourd == False and isTurnMod(3):
  1325. useSkill(17, 'random') # The snowstorm is intensifying! (210420): Increase DEF and SPR by 50% and ATK and MAG by 10% for 3 turns to caster
  1326. gourd = True # reset next turn
  1327. pasta = True # persistent
  1328.  
  1329. elif unit('1:ally:any').HP < 0.3 and var_59 == True and green >= 8 and gourd == False and isTurnMod(2):
  1330. useSkill(17, 'random') # The snowstorm is intensifying! (210420): Increase DEF and SPR by 50% and ATK and MAG by 10% for 3 turns to caster
  1331. gourd = True # reset next turn
  1332. pasta = True # persistent
  1333.  
  1334. elif green >= 8:
  1335. endTurn()
  1336. white = 0
  1337. green = 0
  1338.  
  1339. elif green < 4 and honey == True:
  1340. useSkill(2, 'random') # Frozen Laser (210270): Magic ice damage (2.2x, MAG) to one enemy
  1341. green += 1
  1342.  
  1343. elif green < 4 and ramen == True:
  1344. useSkill(3, 'random') # Water Laser (210280): Magic water damage (2.2x, MAG) to one enemy
  1345. green += 1
  1346.  
  1347. elif green < 4 and sushi == True:
  1348. useSkill(4, 'random') # Wind Laser (210290): Magic wind damage (2.2x, MAG) to one enemy
  1349. green += 1
  1350.  
  1351. elif var_59 == True and berry == False and pasta == True:
  1352. useSkill(16, 'random') # Blizzard Hurricane (210410): Magic* ice and wind damage (5.5x, MAG) to all enemies, Inflict Stop (80%) for 3 turns on all enemies, Reduce resistance to Ice and Wind by 100% for 3 turns to all enemies
  1353. green += 1
  1354. berry = True # reset next turn
  1355. pasta = False # persistent
  1356.  
  1357. elif unit('1:ally:any').HP > 0.5 and unit('1:ally:any').HP < 0.7 and var_59 == False and berry == False and isTurnMod(4):
  1358. useSkill(15, 'random') # Frozen Hurricane (210400): Magic ice and wind damage (4.5x, MAG) to all enemies, Inflict Stop (30%) for 3 turns on all enemies, Reduce resistance to Ice and Wind by 50% for 3 turns to all enemies
  1359. green += 1
  1360. berry = True # reset next turn
  1361.  
  1362. elif unit('1:ally:any').HP > 0.3 and var_59 == True and berry == False and isTurnMod(3):
  1363. useSkill(15, 'random') # Frozen Hurricane (210400): Magic ice and wind damage (4.5x, MAG) to all enemies, Inflict Stop (30%) for 3 turns on all enemies, Reduce resistance to Ice and Wind by 50% for 3 turns to all enemies
  1364. green += 1
  1365. berry = True # reset next turn
  1366.  
  1367. elif unit('1:ally:any').HP < 0.3 and berry == False and isTurnMod(2):
  1368. useSkill(15, 'random') # Frozen Hurricane (210400): Magic ice and wind damage (4.5x, MAG) to all enemies, Inflict Stop (30%) for 3 turns on all enemies, Reduce resistance to Ice and Wind by 50% for 3 turns to all enemies
  1369. green += 1
  1370. berry = True # reset next turn
  1371.  
  1372. elif peach == False and isTurnMod(3):
  1373. useSkill(5, 'random') # Wings of the Ice Bird (210300): Physical damage (2.7x, ATK) to all enemies, Reduce DEF and SPR by 40% for 3 turns to all enemies
  1374. green += 1
  1375. peach = True # reset next turn
  1376.  
  1377. elif var_59 == True and olive == False:
  1378. useSkill(5, 'random') # Wings of the Ice Bird (210300): Physical damage (2.7x, ATK) to all enemies, Reduce DEF and SPR by 40% for 3 turns to all enemies
  1379. green += 1
  1380. olive = True # reset next turn
  1381.  
  1382. elif unit('1:ally:any').HP > 0.5 and var_59 == False and mango == False and isTurnMod(3):
  1383. useSkill(6, 'random') # Hail Powder (210310): Physical* ice, water and wind damage (2.3x, ATK) to all enemies, Reduce resistance to Ice, Water and Wind by 50% for 3 turns to all enemies
  1384. green += 1
  1385. mango = True # reset next turn
  1386.  
  1387. elif mango == False and isTurnMod(2):
  1388. useSkill(6, 'random') # Hail Powder (210310): Physical* ice, water and wind damage (2.3x, ATK) to all enemies, Reduce resistance to Ice, Water and Wind by 50% for 3 turns to all enemies
  1389. green += 1
  1390. mango = True # reset next turn
  1391.  
  1392. elif random() <= 0.50:
  1393. useSkill(1, 'random') # Crystal Laser (210260): Magic damage (1.85x, MAG) to one enemy
  1394. green += 1
  1395.  
  1396. else:
  1397. attack('random')
  1398. green += 1
  1399.  
  1400. ##
  1401. # Monster Info
  1402. ##
  1403. #
  1404. # Monster Glacial Sculpture (502001004)
  1405. # Race Avian, Fairy
  1406. # Level 99
  1407. # Actions 30-30
  1408. #
  1409. # NEW DAMAGE FORMULA! (5, 25, 185)
  1410. #
  1411. #
  1412. # Stats
  1413. # HP 45555555
  1414. # MP 80000
  1415. # ATK 680
  1416. # DEF 425
  1417. # MAG 730
  1418. # SPR 430
  1419. #
  1420. #
  1421. # Damage resist
  1422. # physical 0%
  1423. # magical 0%
  1424. #
  1425. #
  1426. # Element resist
  1427. # Fire 0%
  1428. # Ice 0%
  1429. # Lightning -30%
  1430. # Water 0%
  1431. # Wind 0%
  1432. # Earth 0%
  1433. # Light 0%
  1434. # Dark 0%
  1435. # Non-Elemental 0%
  1436. #
  1437. #
  1438. # Status resist (+80% / application)
  1439. # Poison 100%
  1440. # Blind 100%
  1441. # Sleep 100%
  1442. # Silence 100%
  1443. # Paralyze 100%
  1444. # Confusion 100%
  1445. # Disease 100%
  1446. # Petrify 100%
  1447. #
  1448. #
  1449. # Debuff resist
  1450. # ATK 100%
  1451. # DEF 0%
  1452. # MAG 100%
  1453. # SPR 0%
  1454. # Stop 100%
  1455. # Charm 100%
  1456. # Berserk 100%
  1457. #
  1458. #
  1459. # Immunity
  1460. # Death +
  1461. # Gravity +
  1462. #
  1463. ###
  1464.  
  1465. ###
  1466. # Passives
  1467. ###
  1468. #
  1469. # 氷属性吸収 (100004) [Passive]
  1470. #
  1471. # Absorb Ice elemental attacks
  1472. #
  1473. ##
  1474. #
  1475. # 水属性吸収 (100006) [Passive]
  1476. #
  1477. # Absorb Water elemental attacks
  1478. #
  1479. ##
  1480. #
  1481. # 風属性吸収 (100011) [Passive]
  1482. #
  1483. # Absorb Wind elemental attacks
  1484. #
  1485. ##
  1486. #
  1487. # 防精70% (100066) [Passive]
  1488. #
  1489. # Increase DEF and SPR by 70%
  1490. #
  1491. ##
  1492.  
  1493. ###
  1494. # Skills
  1495. ###
  1496. #
  1497. # Crystal Laser (210260) [Magic]
  1498. #
  1499. # Magic damage (1.85x, MAG) to one enemy
  1500. #
  1501. # Sealable - Unknown1 +
  1502. # Reflect - Unknown2 -
  1503. #
  1504. ##
  1505. #
  1506. # Frozen Laser (210270) [Magic]
  1507. #
  1508. # Magic ice damage (2.2x, MAG) to one enemy
  1509. #
  1510. # Sealable - Unknown1 +
  1511. # Reflect - Unknown2 -
  1512. #
  1513. ##
  1514. #
  1515. # Water Laser (210280) [Magic]
  1516. #
  1517. # Magic water damage (2.2x, MAG) to one enemy
  1518. #
  1519. # Sealable - Unknown1 +
  1520. # Reflect - Unknown2 -
  1521. #
  1522. ##
  1523. #
  1524. # Wind Laser (210290) [Magic]
  1525. #
  1526. # Magic wind damage (2.2x, MAG) to one enemy
  1527. #
  1528. # Sealable - Unknown1 +
  1529. # Reflect - Unknown2 -
  1530. #
  1531. ##
  1532. #
  1533. # Wings of the Ice Bird (210300) [Physical]
  1534. #
  1535. # Physical damage (2.7x, ATK) to all enemies
  1536. # Reduce DEF and SPR by 40% for 3 turns to all enemies
  1537. # Unused parameters: [1]
  1538. #
  1539. # Sealable - Unknown1 +
  1540. # Reflect - Unknown2 -
  1541. #
  1542. ##
  1543. #
  1544. # Hail Powder (210310) [None]
  1545. #
  1546. # Physical* ice, water and wind damage (2.3x, ATK) to all enemies
  1547. # Reduce resistance to Ice, Water and Wind by 50% for 3 turns to all enemies
  1548. # Unused parameters: [1]
  1549. #
  1550. # Sealable - Unknown1 +
  1551. # Reflect - Unknown2 -
  1552. #
  1553. ##
  1554. #
  1555. # Weapons have been imbued with ice magic! (210600) [None]
  1556. #
  1557. # Reduce resistance to Ice by 60% for 2 turns to all enemies
  1558. # Unused parameters: [1]
  1559. # Add Ice element (100%) to physical attacks for one turn to all enemies
  1560. # Unused parameters: [1]
  1561. #
  1562. # Sealable - Unknown1 +
  1563. # Reflect - Unknown2 -
  1564. #
  1565. ##
  1566. #
  1567. # Weapons have been imbued with water magic! (210610) [None]
  1568. #
  1569. # Reduce resistance to Water by 60% for 2 turns to all enemies
  1570. # Unused parameters: [1]
  1571. # Add Water element (100%) to physical attacks for one turn to all enemies
  1572. # Unused parameters: [1]
  1573. #
  1574. # Sealable - Unknown1 +
  1575. # Reflect - Unknown2 -
  1576. #
  1577. ##
  1578. #
  1579. # Weapons have been imbued with wind magic! (210620) [None]
  1580. #
  1581. # Reduce resistance to Wind by 60% for 2 turns to all enemies
  1582. # Unused parameters: [1]
  1583. # Add Wind element (100%) to physical attacks for one turn to all enemies
  1584. # Unused parameters: [1]
  1585. #
  1586. # Sealable - Unknown1 +
  1587. # Reflect - Unknown2 -
  1588. #
  1589. ##
  1590. #
  1591. # Whiteout (210350) [None]
  1592. #
  1593. # Inflict Paralyze and Disease (100%) on all enemies
  1594. # Unknown parameters: [1]
  1595. # Reduce resistance to Ice by 80% for 3 turns to all enemies
  1596. # Unused parameters: [1]
  1597. #
  1598. # Sealable - Unknown1 +
  1599. # Reflect - Unknown2 -
  1600. #
  1601. ##
  1602. #
  1603. # Blueout (210360) [None]
  1604. #
  1605. # Inflict Poison and Silence (100%) on all enemies
  1606. # Unknown parameters: [1]
  1607. # Reduce resistance to Water by 80% for 3 turns to all enemies
  1608. # Unused parameters: [1]
  1609. #
  1610. # Sealable - Unknown1 +
  1611. # Reflect - Unknown2 -
  1612. #
  1613. ##
  1614. #
  1615. # Greenout (210370) [None]
  1616. #
  1617. # Inflict Blind and Confusion (100%) on all enemies
  1618. # Unknown parameters: [1]
  1619. # Reduce resistance to Wind by 80% for 3 turns to all enemies
  1620. # Unused parameters: [1]
  1621. #
  1622. # Sealable - Unknown1 +
  1623. # Reflect - Unknown2 -
  1624. #
  1625. ##
  1626. #
  1627. # The melted ice is refreezing... (210380) [None]
  1628. #
  1629. # Reduce physical damage taken by 70% to caster for 3 turns (can not be removed)
  1630. # Unused parameters: [1]
  1631. # Reduce magic damage taken by 70% to caster for 3 turns (can not be removed)
  1632. # Unused parameters: [1]
  1633. # Increase ATK and MAG by 10% for 3 turns to caster
  1634. # Unused parameters: [1]
  1635. #
  1636. # Sealable - Unknown1 +
  1637. # Reflect - Unknown2 -
  1638. #
  1639. ##
  1640. #
  1641. # Ice Reflector (210390) [None]
  1642. #
  1643. # Reflect all spell(s) to all allies
  1644. #
  1645. # Sealable - Unknown1 +
  1646. # Reflect - Unknown2 -
  1647. #
  1648. ##
  1649. #
  1650. # Frozen Hurricane (210400) [Magic]
  1651. #
  1652. # Magic ice and wind damage (4.5x, MAG) to all enemies
  1653. # Inflict Stop (30%) for 3 turns on all enemies
  1654. # Reduce resistance to Ice and Wind by 50% for 3 turns to all enemies
  1655. # Unused parameters: [1]
  1656. #
  1657. # Sealable - Unknown1 +
  1658. # Reflect - Unknown2 -
  1659. #
  1660. ##
  1661. #
  1662. # Blizzard Hurricane (210410) [None]
  1663. #
  1664. # Magic* ice and wind damage (5.5x, MAG) to all enemies
  1665. # Inflict Stop (80%) for 3 turns on all enemies
  1666. # Reduce resistance to Ice and Wind by 100% for 3 turns to all enemies
  1667. # Unused parameters: [1]
  1668. #
  1669. # Sealable - Unknown1 +
  1670. # Reflect - Unknown2 -
  1671. #
  1672. ##
  1673. #
  1674. # The snowstorm is intensifying! (210420) [None]
  1675. #
  1676. # Increase DEF and SPR by 50% and ATK and MAG by 10% for 3 turns to caster
  1677. # Unused parameters: [1]
  1678. #
  1679. # Sealable - Unknown1 +
  1680. # Reflect - Unknown2 -
  1681. #
  1682. ##
  1683. #
  1684. # Cold air has formed a crystal (210430) [None]
  1685. #
  1686. # Summon グラソン (108211004)
  1687. #
  1688. # Sealable - Unknown1 +
  1689. # Reflect - Unknown2 -
  1690. #
  1691. ##
  1692. #
  1693. # Cold air has formed a crystal (210440) [None]
  1694. #
  1695. # Summon グラソン (108211005)
  1696. #
  1697. # Sealable - Unknown1 +
  1698. # Reflect - Unknown2 -
  1699. #
  1700. ##
  1701. #
  1702. # Cold air has formed a crystal (210450) [None]
  1703. #
  1704. # Summon ally #6
  1705. #
  1706. # Sealable - Unknown1 +
  1707. # Reflect - Unknown2 -
  1708. #
  1709. ##
  1710. #
  1711. # Cold air has formed a crystal (210460) [None]
  1712. #
  1713. # Summon ally #7
  1714. #
  1715. # Sealable - Unknown1 +
  1716. # Reflect - Unknown2 -
  1717. #
  1718. ##
  1719. #
  1720. # Cold air has formed a crystal (210470) [None]
  1721. #
  1722. # Summon ally #8
  1723. #
  1724. # Sealable - Unknown1 +
  1725. # Reflect - Unknown2 -
  1726. #
  1727. ##
  1728. #
  1729. # Cold air has formed a crystal (210480) [None]
  1730. #
  1731. # Summon ally #9
  1732. #
  1733. # Sealable - Unknown1 +
  1734. # Reflect - Unknown2 -
  1735. #
  1736. ##
  1737. #
  1738. # Cold air has formed a crystal (210490) [None]
  1739. #
  1740. # Summon ally #10
  1741. #
  1742. # Sealable - Unknown1 +
  1743. # Reflect - Unknown2 -
  1744. #
  1745. ##
  1746. #
  1747. # Cold air has formed a crystal (210500) [None]
  1748. #
  1749. # Summon ally #11
  1750. #
  1751. # Sealable - Unknown1 +
  1752. # Reflect - Unknown2 -
  1753. #
  1754. ##
  1755. #
  1756. # Cold air has formed a crystal (210510) [None]
  1757. #
  1758. # Summon ally #12
  1759. #
  1760. # Sealable - Unknown1 +
  1761. # Reflect - Unknown2 -
  1762. #
  1763. ##
  1764. #
  1765. # Cold air has formed a crystal (210520) [None]
  1766. #
  1767. # Summon ally #13
  1768. #
  1769. # Sealable - Unknown1 +
  1770. # Reflect - Unknown2 -
  1771. #
  1772. ##
  1773. #
  1774. # Ice Healing (210530) [None]
  1775. #
  1776. # Restore 4444444 HP to all allies
  1777. #
  1778. # Sealable - Unknown1 +
  1779. # Reflect - Unknown2 -
  1780. #
  1781. ##
  1782. #
  1783. # Ice Barrier (210540) [None]
  1784. #
  1785. # Grant a 5555555 HP shield to all allies for 3 turns
  1786. # Unknown parameters: [1]
  1787. #
  1788. # Sealable - Unknown1 +
  1789. # Reflect - Unknown2 -
  1790. #
  1791. ##
  1792. #
  1793. # Diffusion Laser (210590) [None]
  1794. #
  1795. # Magic* damage (0.9x, MAG) to all enemies
  1796. #
  1797. # Sealable - Unknown1 +
  1798. # Reflect - Unknown2 -
  1799. #
  1800. ##
  1801.  
  1802. ###
  1803. # AI
  1804. ###
  1805. if once():
  1806. endTurn()
  1807.  
  1808. elif unit('3:ally:2:グラシアール').is('dead') and green >= 6 and melon == False and honey == False and ramen == False:
  1809. useSkill(10, 'random') # Whiteout (210350): Inflict Paralyze and Disease (100%) on all enemies, Reduce resistance to Ice by 80% for 3 turns to all enemies
  1810. melon = True # reset next turn
  1811. honey = True # persistent
  1812.  
  1813. elif unit('3:ally:2:グラシアール').is('dead') and green >= 6 and melon == False and honey == True and ramen == False:
  1814. useSkill(12, 'random') # Greenout (210370): Inflict Blind and Confusion (100%) on all enemies, Reduce resistance to Wind by 80% for 3 turns to all enemies
  1815. melon = True # reset next turn
  1816. ramen = True # persistent
  1817.  
  1818. elif unit('3:ally:2:グラシアール').is('dead') and green >= 6 and melon == False and honey == True and ramen == True:
  1819. useSkill(11, 'random') # Blueout (210360): Inflict Poison and Silence (100%) on all enemies, Reduce resistance to Water by 80% for 3 turns to all enemies
  1820. melon = True # reset next turn
  1821. ramen = False # persistent
  1822. honey = False # persistent
  1823.  
  1824. elif unit('3:ally:2:グラシアール').is('dead') and green >= 6:
  1825. endTurn()
  1826. green = 0
  1827.  
  1828. elif unit('3:ally:2:グラシアール').is('dead') and green < 3:
  1829. useSkill(1, 'random') # Crystal Laser (210260): Magic damage (1.85x, MAG) to one enemy
  1830. green += 1
  1831.  
  1832. elif unit('3:ally:2:グラシアール').is('dead') and berry == False:
  1833. useSkill(6, 'random') # Hail Powder (210310): Physical* ice, water and wind damage (2.3x, ATK) to all enemies, Reduce resistance to Ice, Water and Wind by 50% for 3 turns to all enemies
  1834. green += 1
  1835. berry = True # reset next turn
  1836.  
  1837. elif unit('3:ally:2:グラシアール').is('dead') and isTurnMod(2) and peach == False:
  1838. useSkill(6, 'random') # Hail Powder (210310): Physical* ice, water and wind damage (2.3x, ATK) to all enemies, Reduce resistance to Ice, Water and Wind by 50% for 3 turns to all enemies
  1839. green += 1
  1840. peach = True # reset next turn
  1841.  
  1842. elif unit('3:ally:2:グラシアール').is('dead'):
  1843. useSkill(1, 'random') # Crystal Laser (210260): Magic damage (1.85x, MAG) to one enemy
  1844. green += 1
  1845.  
  1846. elif sushi == True and green >= 2 and melon == False and isTurnMod(3):
  1847. useSkill(10, 'random') # Whiteout (210350): Inflict Paralyze and Disease (100%) on all enemies, Reduce resistance to Ice by 80% for 3 turns to all enemies
  1848. melon = True # reset next turn
  1849.  
  1850. elif ramen == True and green >= 2 and melon == False and isTurnMod(3):
  1851. useSkill(12, 'random') # Greenout (210370): Inflict Blind and Confusion (100%) on all enemies, Reduce resistance to Wind by 80% for 3 turns to all enemies
  1852. melon = True # reset next turn
  1853.  
  1854. elif honey == True and green >= 2 and melon == False and isTurnMod(3):
  1855. useSkill(11, 'random') # Blueout (210360): Inflict Poison and Silence (100%) on all enemies, Reduce resistance to Water by 80% for 3 turns to all enemies
  1856. melon = True # reset next turn
  1857.  
  1858. elif green >= 2:
  1859. endTurn()
  1860. green = 0
  1861.  
  1862. elif isTurnMod(3) and gourd == False:
  1863. useSkill(5, 'random') # Wings of the Ice Bird (210300): Physical damage (2.7x, ATK) to all enemies, Reduce DEF and SPR by 40% for 3 turns to all enemies
  1864. gourd = True # reset next turn
  1865.  
  1866. elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and guava == False:
  1867. useSkill(30, 'random') # Diffusion Laser (210590): Magic* damage (0.9x, MAG) to all enemies
  1868. green += 1
  1869. guava = True # reset next turn
  1870.  
  1871. elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and guava == False:
  1872. useSkill(30, 'random') # Diffusion Laser (210590): Magic* damage (0.9x, MAG) to all enemies
  1873. green += 1
  1874. guava = True # reset next turn
  1875.  
  1876. elif random() <= 0.33 and sushi == True and olive == True and grape == False:
  1877. wait() # No action
  1878. grape = True # reset next turn
  1879.  
  1880. elif sushi == True and olive == True and grape == False:
  1881. useSkill(9, 'random') # Weapons have been imbued with wind magic! (210620): Reduce resistance to Wind by 60% for 2 turns to all enemies, Add Wind element (100%) to physical attacks for one turn to all enemies
  1882. grape = True # reset next turn
  1883.  
  1884. elif sushi == True and green < 2:
  1885. useSkill(4, 'random') # Wind Laser (210290): Magic wind damage (2.2x, MAG) to one enemy
  1886. green += 1
  1887. olive = True # reset next turn
  1888.  
  1889. elif random() <= 0.33 and ramen == True and peach == True and lemon == False:
  1890. wait() # No action
  1891. lemon = True # reset next turn
  1892.  
  1893. elif ramen == True and peach == True and lemon == False:
  1894. useSkill(8, 'random') # Weapons have been imbued with water magic! (210610): Reduce resistance to Water by 60% for 2 turns to all enemies, Add Water element (100%) to physical attacks for one turn to all enemies
  1895. lemon = True # reset next turn
  1896.  
  1897. elif ramen == True and green < 2:
  1898. useSkill(3, 'random') # Water Laser (210280): Magic water damage (2.2x, MAG) to one enemy
  1899. green += 1
  1900. peach = True # reset next turn
  1901.  
  1902. elif random() <= 0.33 and honey == True and berry == True and mango == False:
  1903. wait() # No action
  1904. mango = True # reset next turn
  1905.  
  1906. elif honey == True and berry == True and mango == False:
  1907. useSkill(7, 'random') # Weapons have been imbued with ice magic! (210600): Reduce resistance to Ice by 60% for 2 turns to all enemies, Add Ice element (100%) to physical attacks for one turn to all enemies
  1908. mango = True # reset next turn
  1909.  
  1910. elif honey == True and green < 2:
  1911. useSkill(2, 'random') # Frozen Laser (210270): Magic ice damage (2.2x, MAG) to one enemy
  1912. green += 1
  1913. berry = True # reset next turn
  1914.  
  1915. else:
  1916. attack('random')
  1917.  
  1918. ##
  1919. # Monster Info
  1920. ##
  1921. #
  1922. # Monster Glacon (108211004)
  1923. # Race Fairy
  1924. # Level 99
  1925. # Actions 15-15
  1926. #
  1927. # NEW DAMAGE FORMULA! (5, 25, 185)
  1928. #
  1929. #
  1930. # Stats
  1931. # HP 19555555
  1932. # MP 50000
  1933. # ATK 250
  1934. # DEF 430
  1935. # MAG 350
  1936. # SPR 460
  1937. #
  1938. #
  1939. # Damage resist
  1940. # physical 0%
  1941. # magical 0%
  1942. #
  1943. #
  1944. # Element resist
  1945. # Fire 0%
  1946. # Ice 0%
  1947. # Lightning -50%
  1948. # Water 0%
  1949. # Wind 0%
  1950. # Earth 0%
  1951. # Light 0%
  1952. # Dark 0%
  1953. # Non-Elemental 0%
  1954. #
  1955. #
  1956. # Status resist (+80% / application)
  1957. # Poison 100%
  1958. # Blind 100%
  1959. # Sleep 100%
  1960. # Silence 100%
  1961. # Paralyze 100%
  1962. # Confusion 100%
  1963. # Disease 100%
  1964. # Petrify 100%
  1965. #
  1966. #
  1967. # Debuff resist
  1968. # ATK 100%
  1969. # DEF 100%
  1970. # MAG 100%
  1971. # SPR 100%
  1972. # Stop 100%
  1973. # Charm 100%
  1974. # Berserk 100%
  1975. #
  1976. #
  1977. # Immunity
  1978. # Death +
  1979. # Gravity +
  1980. #
  1981. ###
  1982.  
  1983. ###
  1984. # Passives
  1985. ###
  1986. #
  1987. # 氷属性吸収 (100004) [Passive]
  1988. #
  1989. # Absorb Ice elemental attacks
  1990. #
  1991. ##
  1992. #
  1993. # 水属性吸収 (100006) [Passive]
  1994. #
  1995. # Absorb Water elemental attacks
  1996. #
  1997. ##
  1998. #
  1999. # 風属性吸収 (100011) [Passive]
  2000. #
  2001. # Absorb Wind elemental attacks
  2002. #
  2003. ##
  2004.  
  2005. ###
  2006. # Skills
  2007. ###
  2008. #
  2009. # Crystal Laser (210550) [Magic]
  2010. #
  2011. # Magic damage (1.9x, MAG) to one enemy
  2012. #
  2013. # Sealable - Unknown1 +
  2014. # Reflect - Unknown2 -
  2015. #
  2016. ##
  2017. #
  2018. # Frozen Laser (210560) [Magic]
  2019. #
  2020. # Magic ice damage (2x, MAG) to one enemy
  2021. #
  2022. # Sealable - Unknown1 +
  2023. # Reflect - Unknown2 -
  2024. #
  2025. ##
  2026. #
  2027. # Water Laser (210570) [Magic]
  2028. #
  2029. # Magic water damage (2x, MAG) to one enemy
  2030. #
  2031. # Sealable - Unknown1 +
  2032. # Reflect - Unknown2 -
  2033. #
  2034. ##
  2035. #
  2036. # Wind Laser (210580) [Magic]
  2037. #
  2038. # Magic wind damage (2x, MAG) to one enemy
  2039. #
  2040. # Sealable - Unknown1 +
  2041. # Reflect - Unknown2 -
  2042. #
  2043. ##
  2044. #
  2045. # Diffusion Laser (210590) [None]
  2046. #
  2047. # Magic* damage (0.9x, MAG) to all enemies
  2048. #
  2049. # Sealable - Unknown1 +
  2050. # Reflect - Unknown2 -
  2051. #
  2052. ##
  2053. #
  2054. # Weapons have been imbued with ice magic! (210600) [None]
  2055. #
  2056. # Reduce resistance to Ice by 60% for 2 turns to all enemies
  2057. # Unused parameters: [1]
  2058. # Add Ice element (100%) to physical attacks for one turn to all enemies
  2059. # Unused parameters: [1]
  2060. #
  2061. # Sealable - Unknown1 +
  2062. # Reflect - Unknown2 -
  2063. #
  2064. ##
  2065. #
  2066. # Weapons have been imbued with water magic! (210610) [None]
  2067. #
  2068. # Reduce resistance to Water by 60% for 2 turns to all enemies
  2069. # Unused parameters: [1]
  2070. # Add Water element (100%) to physical attacks for one turn to all enemies
  2071. # Unused parameters: [1]
  2072. #
  2073. # Sealable - Unknown1 +
  2074. # Reflect - Unknown2 -
  2075. #
  2076. ##
  2077. #
  2078. # Weapons have been imbued with wind magic! (210620) [None]
  2079. #
  2080. # Reduce resistance to Wind by 60% for 2 turns to all enemies
  2081. # Unused parameters: [1]
  2082. # Add Wind element (100%) to physical attacks for one turn to all enemies
  2083. # Unused parameters: [1]
  2084. #
  2085. # Sealable - Unknown1 +
  2086. # Reflect - Unknown2 -
  2087. #
  2088. ##
  2089. #
  2090. # Cold air has formed an ice formation! (210630) [None]
  2091. #
  2092. # Summon グラシアールの氷像 (502001003)
  2093. # Instant KO (100%) to caster (ignores death resist)
  2094. #
  2095. # Sealable - Unknown1 +
  2096. # Reflect - Unknown2 -
  2097. #
  2098. ##
  2099. #
  2100. # Cold air has formed an ice formation! (210640) [None]
  2101. #
  2102. # Summon グラシアールの氷像 (502001004)
  2103. # Instant KO (100%) to caster (ignores death resist)
  2104. #
  2105. # Sealable - Unknown1 +
  2106. # Reflect - Unknown2 -
  2107. #
  2108. ##
  2109.  
  2110. ###
  2111. # AI
  2112. ###
  2113. if apple == True:
  2114. endTurn()
  2115.  
  2116. elif unit('3:ally:2:グラシアール').is('dead') and green >= 3:
  2117. endTurn()
  2118. green = 0
  2119.  
  2120. elif unit('3:ally:4:グラソン').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2121. wait() # No action
  2122. white += 1
  2123.  
  2124. elif unit('3:ally:5:グラソン').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2125. wait() # No action
  2126. white += 1
  2127.  
  2128. elif unit('3:ally:6').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2129. wait() # No action
  2130. white += 1
  2131.  
  2132. elif unit('3:ally:7').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2133. wait() # No action
  2134. white += 1
  2135.  
  2136. elif unit('3:ally:8').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2137. wait() # No action
  2138. white += 1
  2139.  
  2140. elif unit('3:ally:2:グラシアール').HP < 0.5 and white >= 2:
  2141. useSkill(9, 'random') # Cold air has formed an ice formation! (210630): Summon グラシアールの氷像 (502001003), Instant KO (100%) to caster (ignores death resist)
  2142. white = 0
  2143. apple = True # reset next turn
  2144.  
  2145. elif once():
  2146. endTurn()
  2147.  
  2148. elif unit('3:ally:2:グラシアール').HP < 0.7 and unit('3:ally:2:グラシアール').is('alive') and green >= 2:
  2149. endTurn()
  2150. green = 0
  2151.  
  2152. elif unit('3:ally:2:グラシアール').HP > 0.7 and unit('3:ally:2:グラシアール').is('alive') and green >= 1:
  2153. endTurn()
  2154. green = 0
  2155.  
  2156. elif sushi == True and olive == False:
  2157. useSkill(4, 'random') # Wind Laser (210580): Magic wind damage (2x, MAG) to one enemy
  2158. green += 1
  2159. olive = True # reset next turn
  2160.  
  2161. elif ramen == True and peach == False:
  2162. useSkill(3, 'random') # Water Laser (210570): Magic water damage (2x, MAG) to one enemy
  2163. green += 1
  2164. peach = True # reset next turn
  2165.  
  2166. elif honey == True and berry == False:
  2167. useSkill(2, 'random') # Frozen Laser (210560): Magic ice damage (2x, MAG) to one enemy
  2168. green += 1
  2169. berry = True # reset next turn
  2170.  
  2171. else:
  2172. useSkill(1, 'random') # Crystal Laser (210550): Magic damage (1.9x, MAG) to one enemy
  2173. green += 1
  2174.  
  2175. ##
  2176. # Monster Info
  2177. ##
  2178. #
  2179. # Monster Glacon (108211005)
  2180. # Race Fairy
  2181. # Level 99
  2182. # Actions 15-15
  2183. #
  2184. # NEW DAMAGE FORMULA! (5, 25, 185)
  2185. #
  2186. #
  2187. # Stats
  2188. # HP 19555555
  2189. # MP 50000
  2190. # ATK 250
  2191. # DEF 430
  2192. # MAG 350
  2193. # SPR 460
  2194. #
  2195. #
  2196. # Damage resist
  2197. # physical 0%
  2198. # magical 0%
  2199. #
  2200. #
  2201. # Element resist
  2202. # Fire 0%
  2203. # Ice 0%
  2204. # Lightning -50%
  2205. # Water 0%
  2206. # Wind 0%
  2207. # Earth 0%
  2208. # Light 0%
  2209. # Dark 0%
  2210. # Non-Elemental 0%
  2211. #
  2212. #
  2213. # Status resist (+80% / application)
  2214. # Poison 100%
  2215. # Blind 100%
  2216. # Sleep 100%
  2217. # Silence 100%
  2218. # Paralyze 100%
  2219. # Confusion 100%
  2220. # Disease 100%
  2221. # Petrify 100%
  2222. #
  2223. #
  2224. # Debuff resist
  2225. # ATK 100%
  2226. # DEF 100%
  2227. # MAG 100%
  2228. # SPR 100%
  2229. # Stop 100%
  2230. # Charm 100%
  2231. # Berserk 100%
  2232. #
  2233. #
  2234. # Immunity
  2235. # Death +
  2236. # Gravity +
  2237. #
  2238. ###
  2239.  
  2240. ###
  2241. # Passives
  2242. ###
  2243. #
  2244. # 氷属性吸収 (100004) [Passive]
  2245. #
  2246. # Absorb Ice elemental attacks
  2247. #
  2248. ##
  2249. #
  2250. # 水属性吸収 (100006) [Passive]
  2251. #
  2252. # Absorb Water elemental attacks
  2253. #
  2254. ##
  2255. #
  2256. # 風属性吸収 (100011) [Passive]
  2257. #
  2258. # Absorb Wind elemental attacks
  2259. #
  2260. ##
  2261.  
  2262. ###
  2263. # Skills
  2264. ###
  2265. #
  2266. # Crystal Laser (210550) [Magic]
  2267. #
  2268. # Magic damage (1.9x, MAG) to one enemy
  2269. #
  2270. # Sealable - Unknown1 +
  2271. # Reflect - Unknown2 -
  2272. #
  2273. ##
  2274. #
  2275. # Frozen Laser (210560) [Magic]
  2276. #
  2277. # Magic ice damage (2x, MAG) to one enemy
  2278. #
  2279. # Sealable - Unknown1 +
  2280. # Reflect - Unknown2 -
  2281. #
  2282. ##
  2283. #
  2284. # Water Laser (210570) [Magic]
  2285. #
  2286. # Magic water damage (2x, MAG) to one enemy
  2287. #
  2288. # Sealable - Unknown1 +
  2289. # Reflect - Unknown2 -
  2290. #
  2291. ##
  2292. #
  2293. # Wind Laser (210580) [Magic]
  2294. #
  2295. # Magic wind damage (2x, MAG) to one enemy
  2296. #
  2297. # Sealable - Unknown1 +
  2298. # Reflect - Unknown2 -
  2299. #
  2300. ##
  2301. #
  2302. # Diffusion Laser (210590) [None]
  2303. #
  2304. # Magic* damage (0.9x, MAG) to all enemies
  2305. #
  2306. # Sealable - Unknown1 +
  2307. # Reflect - Unknown2 -
  2308. #
  2309. ##
  2310. #
  2311. # Weapons have been imbued with ice magic! (210600) [None]
  2312. #
  2313. # Reduce resistance to Ice by 60% for 2 turns to all enemies
  2314. # Unused parameters: [1]
  2315. # Add Ice element (100%) to physical attacks for one turn to all enemies
  2316. # Unused parameters: [1]
  2317. #
  2318. # Sealable - Unknown1 +
  2319. # Reflect - Unknown2 -
  2320. #
  2321. ##
  2322. #
  2323. # Weapons have been imbued with water magic! (210610) [None]
  2324. #
  2325. # Reduce resistance to Water by 60% for 2 turns to all enemies
  2326. # Unused parameters: [1]
  2327. # Add Water element (100%) to physical attacks for one turn to all enemies
  2328. # Unused parameters: [1]
  2329. #
  2330. # Sealable - Unknown1 +
  2331. # Reflect - Unknown2 -
  2332. #
  2333. ##
  2334. #
  2335. # Weapons have been imbued with wind magic! (210620) [None]
  2336. #
  2337. # Reduce resistance to Wind by 60% for 2 turns to all enemies
  2338. # Unused parameters: [1]
  2339. # Add Wind element (100%) to physical attacks for one turn to all enemies
  2340. # Unused parameters: [1]
  2341. #
  2342. # Sealable - Unknown1 +
  2343. # Reflect - Unknown2 -
  2344. #
  2345. ##
  2346. #
  2347. # Cold air has formed an ice formation! (210630) [None]
  2348. #
  2349. # Summon グラシアールの氷像 (502001003)
  2350. # Instant KO (100%) to caster (ignores death resist)
  2351. #
  2352. # Sealable - Unknown1 +
  2353. # Reflect - Unknown2 -
  2354. #
  2355. ##
  2356. #
  2357. # Cold air has formed an ice formation! (210640) [None]
  2358. #
  2359. # Summon グラシアールの氷像 (502001004)
  2360. # Instant KO (100%) to caster (ignores death resist)
  2361. #
  2362. # Sealable - Unknown1 +
  2363. # Reflect - Unknown2 -
  2364. #
  2365. ##
  2366.  
  2367. ###
  2368. # AI
  2369. ###
  2370. if apple == True:
  2371. endTurn()
  2372.  
  2373. elif unit('3:ally:2:グラシアール').is('dead') and green >= 3:
  2374. endTurn()
  2375. green = 0
  2376.  
  2377. elif unit('3:ally:9').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2378. wait() # No action
  2379. white += 1
  2380.  
  2381. elif unit('3:ally:10').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2382. wait() # No action
  2383. white += 1
  2384.  
  2385. elif unit('3:ally:11').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2386. wait() # No action
  2387. white += 1
  2388.  
  2389. elif unit('3:ally:12').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2390. wait() # No action
  2391. white += 1
  2392.  
  2393. elif unit('3:ally:13').is('alive') and unit('3:ally:2:グラシアール').HP < 0.5 and once():
  2394. wait() # No action
  2395. white += 1
  2396.  
  2397. elif unit('3:ally:2:グラシアール').HP < 0.5 and white >= 2:
  2398. useSkill(10, 'random') # Cold air has formed an ice formation! (210640): Summon グラシアールの氷像 (502001004), Instant KO (100%) to caster (ignores death resist)
  2399. white = 0
  2400. apple = True # reset next turn
  2401.  
  2402. elif once():
  2403. endTurn()
  2404.  
  2405. elif unit('3:ally:2:グラシアール').HP < 0.7 and unit('3:ally:2:グラシアール').is('alive') and green >= 2:
  2406. endTurn()
  2407. green = 0
  2408.  
  2409. elif unit('3:ally:2:グラシアール').HP > 0.7 and unit('3:ally:2:グラシアール').is('alive') and green >= 1:
  2410. endTurn()
  2411. green = 0
  2412.  
  2413. elif sushi == True and olive == False:
  2414. useSkill(4, 'random') # Wind Laser (210580): Magic wind damage (2x, MAG) to one enemy
  2415. green += 1
  2416. olive = True # reset next turn
  2417.  
  2418. elif ramen == True and peach == False:
  2419. useSkill(3, 'random') # Water Laser (210570): Magic water damage (2x, MAG) to one enemy
  2420. green += 1
  2421. peach = True # reset next turn
  2422.  
  2423. elif honey == True and berry == False:
  2424. useSkill(2, 'random') # Frozen Laser (210560): Magic ice damage (2x, MAG) to one enemy
  2425. green += 1
  2426. berry = True # reset next turn
  2427.  
  2428. else:
  2429. useSkill(1, 'random') # Crystal Laser (210550): Magic damage (1.9x, MAG) to one enemy
  2430. green += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement