daily pastebin goal
84%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##
  2. # Mission '破滅をもたらす機神 真降臨' (8976101)
  3. # Enemy has first strike!
  4. #
  5. # Battles
  6. #  * アイガイオン [+ レフトアーム・悪魔, レフトアーム・悪魔, レフトアーム・機, ライトアーム・獣, ライトアーム・獣, ライトアーム・機]
  7. ##
  8.  
  9. ##
  10. # Monster Info
  11. ##
  12. #
  13. # Monster  レフトアーム・悪魔 (406078004)
  14. # Race     Demon
  15. # Level    99
  16. # Actions  20-20
  17. #
  18. #
  19. # Stats
  20. #        HP         60000000
  21. #        MP            60000
  22. #        ATK             700
  23. #        DEF             800
  24. #        MAG             600
  25. #        SPR             800
  26. #
  27. #
  28. # Damage resist
  29. #        physical          0%
  30. #        magical           0%
  31. #
  32. #
  33. # Element resist
  34. #        Fire              0%
  35. #        Ice               0%
  36. #        Lightning         0%
  37. #        Water             0%
  38. #        Wind              0%
  39. #        Earth             0%
  40. #        Light           -50%
  41. #        Dark            100%
  42. #        Non-Elemental     0%
  43. #
  44. #
  45. # Status resist (+80% / application)
  46. #        Poison          100%
  47. #        Blind           100%
  48. #        Sleep           100%
  49. #        Silence         100%
  50. #        Paralyze        100%
  51. #        Confusion       100%
  52. #        Disease         100%
  53. #        Petrify         100%
  54. #
  55. #
  56. # Debuff resist
  57. #        ATK             100%
  58. #        DEF               0%
  59. #        MAG             100%
  60. #        SPR               0%
  61. #        Stop            100%
  62. #        Charm           100%
  63. #        Berserk         100%
  64. #
  65. #
  66. # Immunity
  67. #        Death             +
  68. #        Gravity           +
  69. #
  70. ###
  71.  
  72. ###
  73. # Passives
  74. ###
  75. #
  76. #  全ステ50% (100015) [Passive]
  77. #
  78. #  Increase ATK, DEF, MAG and SPR by 50%
  79. #
  80. ##
  81. #
  82. #  物理・魔法カウンター(レフトアーム・悪魔) (100073) [Passive]
  83. #
  84. #  100% chance to counter physical attacks with レフトアームパンチ (215948) to the attacker (max 3 / turn)
  85. #  100% chance to counter magic attacks with レフトアームパンチ (215948) to the attacker (max 3 / turn)
  86. #
  87. ##
  88.  
  89. ###
  90. # Skills
  91. ###
  92. #
  93. #  暗夜弾 (215943) [Magic]
  94. #
  95. #  Magic dark damage (2.5x, MAG) to one enemy
  96. #  Inflict Blind (100%) on one enemy
  97. #
  98. #  Sealable  -    Unknown1  +
  99. #  Reflect   -    Unknown2  -
  100. #
  101. ##
  102. #
  103. #  全体闇魔弾 (215944) [Magic]
  104. #
  105. #  Magic dark damage (2.3x, MAG) to all enemies
  106. #  Reduce DEF and SPR by 20% for 3 turns to all enemies
  107. #
  108. #  Sealable  -    Unknown1  +
  109. #  Reflect   -    Unknown2  -
  110. #
  111. ##
  112. #
  113. #  プログラム・マンイーター (215945) [None]
  114. #
  115. #  Increase magic damage against Humans by 20% to caster for 2 turns
  116. #
  117. #  Sealable  -    Unknown1  +
  118. #  Reflect   -    Unknown2  -
  119. #
  120. ##
  121. #
  122. #  ドリルアーム (215946) [Physical]
  123. #
  124. #  Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover)
  125. #  Inflict Stop (100%) for 3 turns on one enemy
  126. #
  127. #  Sealable  -    Unknown1  +
  128. #  Reflect   -    Unknown2  -
  129. #
  130. ##
  131. #
  132. #  アームバースト・改 (215947) [Physical]
  133. #
  134. #  [Death]
  135. #  Cast Death (100%) or 80% chance to deal physical damage (15x, ATK) to one enemy
  136. #  Inflict Paralyze and Disease (100%) on one enemy
  137. #
  138. #  Sealable  -    Unknown1  +
  139. #  Reflect   -    Unknown2  -
  140. #
  141. ##
  142. #
  143. #  レフトアームパンチ (215948) [Physical]
  144. #
  145. #  Physical damage (3x, ATK) to one enemy
  146. #
  147. #  Sealable  -    Unknown1  +
  148. #  Reflect   -    Unknown2  -
  149. #
  150. ##
  151.  
  152. ###
  153. # AI
  154. ###
  155. if   once():
  156.     endTurn()                      
  157.  
  158. elif unit('2:ally:406068004').is('dead') and green >= 12 and berry == False and isTurnMod(4):
  159.     useSkill(3, 'random')          # プログラム・マンイーター (215945): Increase magic damage against Humans by 20% to caster for 2 turns
  160.     berry  = True                  # reset next turn
  161.  
  162. elif unit('2:ally:406068004').is('alive') and green >= 8 and berry == False and isTurnMod(4):
  163.     useSkill(3, 'random')          # プログラム・マンイーター (215945): Increase magic damage against Humans by 20% to caster for 2 turns
  164.     berry  = True                  # reset next turn
  165.  
  166. elif unit('2:ally:406068004').is('dead') and green >= 12:
  167.     endTurn()                      
  168.     green  = 0                    
  169.  
  170. elif unit('2:ally:406068004').is('alive') and green >= 8:
  171.     endTurn()                      
  172.     green  = 0                    
  173.  
  174. elif unit('2:ally:406068004').is('dead') and green <= 4:
  175.     useSkill(1, 'random')          # 暗夜弾 (215943): Magic dark damage (2.5x, MAG) to one enemy, Inflict Blind (100%) on one enemy
  176.     green += 1                    
  177.  
  178. elif unit('2:ally:406068004').is('alive') and green <= 2:
  179.     useSkill(1, 'random')          # 暗夜弾 (215943): Magic dark damage (2.5x, MAG) to one enemy, Inflict Blind (100%) on one enemy
  180.     green += 1                    
  181.  
  182. elif unit('2:ally:406068004').is('dead') and apple == False and isTurnMod(2):
  183.     useSkill(2, 'random')          # 全体闇魔弾 (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
  184.     green += 1                    
  185.     apple  = True                  # reset next turn
  186.  
  187. elif unit('2:ally:406068004').is('alive') and apple == False and honey == False and isTurnMod(2):
  188.     useSkill(2, 'random')          # 全体闇魔弾 (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
  189.     green += 1                    
  190.     apple  = True                  # reset next turn
  191.     honey  = True                  # persistent
  192.  
  193. elif unit('2:ally:406068004').is('alive') and apple == False and honey == True and isTurnMod(2):
  194.     wait()                         # No action
  195.     green += 1                    
  196.     apple  = True                  # reset next turn
  197.     honey  = False                 # persistent
  198.  
  199. elif random() <= 0.45:
  200.     useSkill(6, 'random')          # レフトアームパンチ (215948): Physical damage (3x, ATK) to one enemy
  201.     green += 1                    
  202.  
  203. else:
  204.     attack('random')              
  205.     green += 1                    
  206.  
  207. ##
  208. # Monster Info
  209. ##
  210. #
  211. # Monster  レフトアーム・悪魔 (406078005)
  212. # Race     Demon
  213. # Level    99
  214. # Actions  20-20
  215. #
  216. #
  217. # Stats
  218. #        HP         65000000
  219. #        MP            60000
  220. #        ATK             750
  221. #        DEF             850
  222. #        MAG             650
  223. #        SPR             850
  224. #
  225. #
  226. # Damage resist
  227. #        physical          0%
  228. #        magical           0%
  229. #
  230. #
  231. # Element resist
  232. #        Fire              0%
  233. #        Ice               0%
  234. #        Lightning         0%
  235. #        Water             0%
  236. #        Wind              0%
  237. #        Earth             0%
  238. #        Light           -50%
  239. #        Dark            100%
  240. #        Non-Elemental     0%
  241. #
  242. #
  243. # Status resist (+80% / application)
  244. #        Poison          100%
  245. #        Blind           100%
  246. #        Sleep           100%
  247. #        Silence         100%
  248. #        Paralyze        100%
  249. #        Confusion       100%
  250. #        Disease         100%
  251. #        Petrify         100%
  252. #
  253. #
  254. # Debuff resist
  255. #        ATK             100%
  256. #        DEF               0%
  257. #        MAG             100%
  258. #        SPR               0%
  259. #        Stop            100%
  260. #        Charm           100%
  261. #        Berserk         100%
  262. #
  263. #
  264. # Immunity
  265. #        Death             +
  266. #        Gravity           +
  267. #
  268. ###
  269.  
  270. ###
  271. # Passives
  272. ###
  273. #
  274. #  全ステ50% (100015) [Passive]
  275. #
  276. #  Increase ATK, DEF, MAG and SPR by 50%
  277. #
  278. ##
  279. #
  280. #  物理・魔法カウンター(レフトアーム・悪魔) (100073) [Passive]
  281. #
  282. #  100% chance to counter physical attacks with レフトアームパンチ (215948) to the attacker (max 3 / turn)
  283. #  100% chance to counter magic attacks with レフトアームパンチ (215948) to the attacker (max 3 / turn)
  284. #
  285. ##
  286.  
  287. ###
  288. # Skills
  289. ###
  290. #
  291. #  暗夜弾 (215943) [Magic]
  292. #
  293. #  Magic dark damage (2.5x, MAG) to one enemy
  294. #  Inflict Blind (100%) on one enemy
  295. #
  296. #  Sealable  -    Unknown1  +
  297. #  Reflect   -    Unknown2  -
  298. #
  299. ##
  300. #
  301. #  全体闇魔弾 (215944) [Magic]
  302. #
  303. #  Magic dark damage (2.3x, MAG) to all enemies
  304. #  Reduce DEF and SPR by 20% for 3 turns to all enemies
  305. #
  306. #  Sealable  -    Unknown1  +
  307. #  Reflect   -    Unknown2  -
  308. #
  309. ##
  310. #
  311. #  プログラム・マンイーター (215945) [None]
  312. #
  313. #  Increase magic damage against Humans by 20% to caster for 2 turns
  314. #
  315. #  Sealable  -    Unknown1  +
  316. #  Reflect   -    Unknown2  -
  317. #
  318. ##
  319. #
  320. #  ドリルアーム (215946) [Physical]
  321. #
  322. #  Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover)
  323. #  Inflict Stop (100%) for 3 turns on one enemy
  324. #
  325. #  Sealable  -    Unknown1  +
  326. #  Reflect   -    Unknown2  -
  327. #
  328. ##
  329. #
  330. #  アームバースト・改 (215947) [Physical]
  331. #
  332. #  [Death]
  333. #  Cast Death (100%) or 80% chance to deal physical damage (15x, ATK) to one enemy
  334. #  Inflict Paralyze and Disease (100%) on one enemy
  335. #
  336. #  Sealable  -    Unknown1  +
  337. #  Reflect   -    Unknown2  -
  338. #
  339. ##
  340. #
  341. #  レフトアームパンチ (215948) [Physical]
  342. #
  343. #  Physical damage (3x, ATK) to one enemy
  344. #
  345. #  Sealable  -    Unknown1  +
  346. #  Reflect   -    Unknown2  -
  347. #
  348. ##
  349.  
  350. ###
  351. # AI
  352. ###
  353. if   once():
  354.     endTurn()                      
  355.  
  356. elif unit('2:ally:406068005').is('dead') and green >= 12 and berry == False and isTurnMod(3):
  357.     useSkill(3, 'random')          # プログラム・マンイーター (215945): Increase magic damage against Humans by 20% to caster for 2 turns
  358.     berry  = True                  # reset next turn
  359.  
  360. elif unit('2:ally:406068005').is('dead') and green >= 12 and olive == False and isTurnMod(2):
  361.     useSkill(4, 'random')          # ドリルアーム (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
  362.     olive  = True                  # reset next turn
  363.  
  364. elif unit('2:ally:406068005').is('alive') and green >= 8 and berry == False and isTurnMod(3):
  365.     useSkill(3, 'random')          # プログラム・マンイーター (215945): Increase magic damage against Humans by 20% to caster for 2 turns
  366.     berry  = True                  # reset next turn
  367.  
  368. elif unit('2:ally:406068005').is('alive') and green >= 8 and olive == False and isTurnMod(2):
  369.     useSkill(4, 'random')          # ドリルアーム (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
  370.     olive  = True                  # reset next turn
  371.  
  372. elif unit('2:ally:406068005').is('dead') and green >= 12:
  373.     endTurn()                      
  374.     green  = 0                    
  375.  
  376. elif unit('2:ally:406068005').is('alive') and green >= 8:
  377.     endTurn()                      
  378.     green  = 0                    
  379.  
  380. elif unit('2:ally:406068005').is('dead') and green <= 4:
  381.     useSkill(1, 'random')          # 暗夜弾 (215943): Magic dark damage (2.5x, MAG) to one enemy, Inflict Blind (100%) on one enemy
  382.     green += 1                    
  383.  
  384. elif unit('2:ally:406068005').is('alive') and green <= 2:
  385.     useSkill(1, 'random')          # 暗夜弾 (215943): Magic dark damage (2.5x, MAG) to one enemy, Inflict Blind (100%) on one enemy
  386.     green += 1                    
  387.  
  388. elif unit('2:ally:406068005').is('dead') and peach == False and isTurnMod(2):
  389.     useSkill(2, 'random')          # 全体闇魔弾 (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
  390.     green += 1                    
  391.     peach  = True                  # reset next turn
  392.  
  393. elif unit('2:ally:406068005').is('dead') and apple == False and isTurnMod(2):
  394.     useSkill(2, 'random')          # 全体闇魔弾 (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
  395.     green += 1                    
  396.     apple  = True                  # reset next turn
  397.  
  398. elif unit('2:ally:406068005').is('alive') and peach == False and honey == False and isTurnMod(2):
  399.     useSkill(2, 'random')          # 全体闇魔弾 (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
  400.     green += 1                    
  401.     peach  = True                  # reset next turn
  402.  
  403. elif unit('2:ally:406068005').is('alive') and apple == False and honey == False and isTurnMod(2):
  404.     useSkill(2, 'random')          # 全体闇魔弾 (215944): Magic dark damage (2.3x, MAG) to all enemies, Reduce DEF and SPR by 20% for 3 turns to all enemies
  405.     green += 1                    
  406.     apple  = True                  # reset next turn
  407.     honey  = True                  # persistent
  408.  
  409. elif unit('2:ally:406068005').is('alive') and apple == False and honey == True and isTurnMod(2):
  410.     wait()                         # No action
  411.     green += 1                    
  412.     peach  = True                  # reset next turn
  413.     apple  = True                  # reset next turn
  414.     honey  = False                 # persistent
  415.  
  416. elif random() <= 0.45:
  417.     useSkill(6, 'random')          # レフトアームパンチ (215948): Physical damage (3x, ATK) to one enemy
  418.     green += 1                    
  419.  
  420. else:
  421.     attack('random')              
  422.     green += 1                    
  423.  
  424. ##
  425. # Monster Info
  426. ##
  427. #
  428. # Monster  レフトアーム・機 (406078006)
  429. # Race     Machina
  430. # Level    99
  431. # Actions  20-20
  432. #
  433. #
  434. # Stats
  435. #        HP         70000000
  436. #        MP            60000
  437. #        ATK             800
  438. #        DEF            2000
  439. #        MAG             700
  440. #        SPR            1900
  441. #
  442. #
  443. # Damage resist
  444. #        physical          0%
  445. #        magical           0%
  446. #
  447. #
  448. # Element resist
  449. #        Fire              0%
  450. #        Ice               0%
  451. #        Lightning        50%
  452. #        Water           -50%
  453. #        Wind              0%
  454. #        Earth           -50%
  455. #        Light            50%
  456. #        Dark              0%
  457. #        Non-Elemental     0%
  458. #
  459. #
  460. # Status resist (+80% / application)
  461. #        Poison          100%
  462. #        Blind           100%
  463. #        Sleep           100%
  464. #        Silence         100%
  465. #        Paralyze        100%
  466. #        Confusion       100%
  467. #        Disease         100%
  468. #        Petrify         100%
  469. #
  470. #
  471. # Debuff resist
  472. #        ATK             100%
  473. #        DEF               0%
  474. #        MAG             100%
  475. #        SPR               0%
  476. #        Stop            100%
  477. #        Charm           100%
  478. #        Berserk         100%
  479. #
  480. #
  481. # Immunity
  482. #        Death             +
  483. #        Gravity           +
  484. #
  485. ###
  486.  
  487. ###
  488. # Passives
  489. ###
  490. #
  491. #  全ステ50% (100015) [Passive]
  492. #
  493. #  Increase ATK, DEF, MAG and SPR by 50%
  494. #
  495. ##
  496. #
  497. #  物理・魔法カウンター(レフトアーム・機) (100075) [Passive]
  498. #
  499. #  100% chance to counter physical attacks with レフトアームパンチ (215948) to the attacker
  500. #  100% chance to counter magic attacks with レフトアームパンチ (215948) to the attacker
  501. #
  502. ##
  503.  
  504. ###
  505. # Skills
  506. ###
  507. #
  508. #  暗夜弾 (215943) [Magic]
  509. #
  510. #  Magic dark damage (2.5x, MAG) to one enemy
  511. #  Inflict Blind (100%) on one enemy
  512. #
  513. #  Sealable  -    Unknown1  +
  514. #  Reflect   -    Unknown2  -
  515. #
  516. ##
  517. #
  518. #  全体闇魔弾 (215944) [Magic]
  519. #
  520. #  Magic dark damage (2.3x, MAG) to all enemies
  521. #  Reduce DEF and SPR by 20% for 3 turns to all enemies
  522. #
  523. #  Sealable  -    Unknown1  +
  524. #  Reflect   -    Unknown2  -
  525. #
  526. ##
  527. #
  528. #  プログラム・マンイーター (215945) [None]
  529. #
  530. #  Increase magic damage against Humans by 20% to caster for 2 turns
  531. #
  532. #  Sealable  -    Unknown1  +
  533. #  Reflect   -    Unknown2  -
  534. #
  535. ##
  536. #
  537. #  ドリルアーム (215946) [Physical]
  538. #
  539. #  Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover)
  540. #  Inflict Stop (100%) for 3 turns on one enemy
  541. #
  542. #  Sealable  -    Unknown1  +
  543. #  Reflect   -    Unknown2  -
  544. #
  545. ##
  546. #
  547. #  アームバースト・改 (215947) [Physical]
  548. #
  549. #  [Death]
  550. #  Cast Death (100%) or 80% chance to deal physical damage (15x, ATK) to one enemy
  551. #  Inflict Paralyze and Disease (100%) on one enemy
  552. #
  553. #  Sealable  -    Unknown1  +
  554. #  Reflect   -    Unknown2  -
  555. #
  556. ##
  557. #
  558. #  レフトアームパンチ (215948) [Physical]
  559. #
  560. #  Physical damage (3x, ATK) to one enemy
  561. #
  562. #  Sealable  -    Unknown1  +
  563. #  Reflect   -    Unknown2  -
  564. #
  565. ##
  566.  
  567. ###
  568. # AI
  569. ###
  570. if   once():
  571.     endTurn()                      
  572.  
  573. elif unit('2:ally:406068006').is('dead') and green >= 12 and peach == False:
  574.     useSkill(5, 'highest SPR')     # アームバースト・改 (215947): [Death], Cast Death (100%) or 80% chance to deal physical damage (15x, ATK) to one enemy, Inflict Paralyze and Disease (100%) on one enemy
  575.     peach  = True                  # reset next turn
  576.  
  577. elif unit('2:ally:406068006').is('alive') and green >= 8 and isTurnMod(2) and peach == False:
  578.     useSkill(5, 'highest SPR')     # アームバースト・改 (215947): [Death], Cast Death (100%) or 80% chance to deal physical damage (15x, ATK) to one enemy, Inflict Paralyze and Disease (100%) on one enemy
  579.     peach  = True                  # reset next turn
  580.  
  581. elif unit('2:ally:406068006').is('dead') and green >= 12:
  582.     endTurn()                      
  583.     green  = 0                    
  584.  
  585. elif unit('2:ally:406068006').is('alive') and green >= 8:
  586.     endTurn()                      
  587.     green  = 0                    
  588.  
  589. elif apple == False:
  590.     useSkill(4, 'random')          # ドリルアーム (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
  591.     green += 1                    
  592.     apple  = True                  # reset next turn
  593.  
  594. elif berry == False:
  595.     useSkill(4, 'highest ATK')     # ドリルアーム (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
  596.     green += 1                    
  597.     berry  = True                  # reset next turn
  598.  
  599. elif unit('2:ally:406068006').is('dead') and olive == False:
  600.     useSkill(4, 'random')          # ドリルアーム (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
  601.     green += 1                    
  602.     olive  = True                  # reset next turn
  603.  
  604. elif unit('2:ally:406068006').is('dead') and mango == False:
  605.     useSkill(4, 'highest ATK')     # ドリルアーム (215946): Physical damage (2x * 1.18 = 2.35x, ATK) to one enemy (ignore cover), Inflict Stop (100%) for 3 turns on one enemy
  606.     green += 1                    
  607.     mango  = True                  # reset next turn
  608.  
  609. elif unit('2:ally:406068006').is('dead') and green <= 7:
  610.     useSkill(6, 'random')          # レフトアームパンチ (215948): Physical damage (3x, ATK) to one enemy
  611.     green += 1                    
  612.  
  613. elif unit('2:ally:406068006').is('alive') and green <= 4:
  614.     useSkill(6, 'random')          # レフトアームパンチ (215948): Physical damage (3x, ATK) to one enemy
  615.     green += 1                    
  616.  
  617. else:
  618.     attack('random')              
  619.     green += 1                    
  620.  
  621. ##
  622. # Monster Info
  623. ##
  624. #
  625. # Monster  アイガイオン (406058003)
  626. # Race     Machina
  627. # Level    99
  628. # Actions  60-60
  629. #
  630. #
  631. # Stats
  632. #        HP        500000000
  633. #        MP           100000
  634. #        ATK            1600
  635. #        DEF             750
  636. #        MAG            1500
  637. #        SPR             750
  638. #
  639. #
  640. # Damage resist
  641. #        physical          0%
  642. #        magical           0%
  643. #
  644. #
  645. # Element resist
  646. #        Fire              0%
  647. #        Ice               0%
  648. #        Lightning       -30%
  649. #        Water             0%
  650. #        Wind              0%
  651. #        Earth             0%
  652. #        Light           -30%
  653. #        Dark              0%
  654. #        Non-Elemental     0%
  655. #
  656. #
  657. # Status resist (+80% / application)
  658. #        Poison          100%
  659. #        Blind           100%
  660. #        Sleep           100%
  661. #        Silence         100%
  662. #        Paralyze        100%
  663. #        Confusion       100%
  664. #        Disease         100%
  665. #        Petrify         100%
  666. #
  667. #
  668. # Debuff resist
  669. #        ATK               0%
  670. #        DEF             100%
  671. #        MAG               0%
  672. #        SPR             100%
  673. #        Stop            100%
  674. #        Charm           100%
  675. #        Berserk         100%
  676. #
  677. #
  678. # Immunity
  679. #        Death             +
  680. #        Gravity           +
  681. #
  682. ###
  683.  
  684. ###
  685. # Passives
  686. ###
  687. #
  688. #  全ステ60% (100048) [Passive]
  689. #
  690. #  Increase ATK, DEF, MAG and SPR by 60%
  691. #
  692. ##
  693.  
  694. ###
  695. # Skills
  696. ###
  697. #
  698. #  コアレーザー (215918) [Magic]
  699. #
  700. #  Magic damage (4x, MAG) to one enemy
  701. #
  702. #  Sealable  -    Unknown1  +
  703. #  Reflect   -    Unknown2  -
  704. #
  705. ##
  706. #
  707. #  ジェノサイドビーム (215919) [None]
  708. #
  709. #  Magic* damage (2.6x, MAG) to all enemies
  710. #
  711. #  Sealable  -    Unknown1  +
  712. #  Reflect   -    Unknown2  -
  713. #
  714. ##
  715. #
  716. #  超電磁大爆発 (215920) [None]
  717. #
  718. #  Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
  719. #
  720. #  Sealable  -    Unknown1  +
  721. #  Reflect   -    Unknown2  -
  722. #
  723. ##
  724. #
  725. #  本体にプラズマが集中する (215921) [None]
  726. #
  727. #  Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
  728. #
  729. #  Sealable  -    Unknown1  +
  730. #  Reflect   -    Unknown2  -
  731. #
  732. ##
  733. #
  734. #  宇宙大崩壊 (215922) [None]
  735. #
  736. #  Magic* damage (6x * 1.43 = 8.57x, MAG) to all enemies (ignore reflect)
  737. #
  738. #  Sealable  -    Unknown1  +
  739. #  Reflect   -    Unknown2  -
  740. #
  741. ##
  742. #
  743. #  宇宙崩壊 (215923) [None]
  744. #
  745. #  Magic* damage (3.5x * 1.43 = 5x, MAG) to all enemies (ignore reflect)
  746. #
  747. #  Sealable  -    Unknown1  +
  748. #  Reflect   -    Unknown2  -
  749. #
  750. ##
  751. #
  752. #  スペースディストーション (215924) [None]
  753. #
  754. #  Increase DEF and SPR by 300% for 3 turns to caster
  755. #  Set all elements resistance to 300% for 3 turns to caster (can not be removed)
  756. #
  757. #  Sealable  -    Unknown1  +
  758. #  Reflect   -    Unknown2  -
  759. #
  760. ##
  761. #
  762. #  プログラムVer1.0起動 (215925) [None]
  763. #
  764. #  No effect
  765. #
  766. #  Sealable  -    Unknown1  +
  767. #  Reflect   -    Unknown2  -
  768. #
  769. ##
  770. #
  771. #  プログラムVerビースト起動 (215926) [None]
  772. #
  773. #  No effect
  774. #
  775. #  Sealable  -    Unknown1  +
  776. #  Reflect   -    Unknown2  -
  777. #
  778. ##
  779. #
  780. #  プログラムVerデーモン起動 (215927) [None]
  781. #
  782. #  No effect
  783. #
  784. #  Sealable  -    Unknown1  +
  785. #  Reflect   -    Unknown2  -
  786. #
  787. ##
  788. #
  789. #  ピピーッ!複数ノ敵意ヲ確認! (215928) [None]
  790. #
  791. #  No effect
  792. #
  793. #  Sealable  -    Unknown1  +
  794. #  Reflect   -    Unknown2  -
  795. #
  796. ##
  797. #
  798. #  ピピーッ!排除開始! (215929) [None]
  799. #
  800. #  No effect
  801. #
  802. #  Sealable  -    Unknown1  +
  803. #  Reflect   -    Unknown2  -
  804. #
  805. ##
  806. #
  807. #  光を浴びてプラズマが拡散した (215930) [None]
  808. #
  809. #  No effect
  810. #
  811. #  Sealable  -    Unknown1  +
  812. #  Reflect   -    Unknown2  -
  813. #
  814. ##
  815. #
  816. #  システムダウン (215931) [None]
  817. #
  818. #  No effect
  819. #
  820. #  Sealable  -    Unknown1  +
  821. #  Reflect   -    Unknown2  -
  822. #
  823. ##
  824. #
  825. #  システム・リカバリー完了 (215932) [None]
  826. #
  827. #  No effect
  828. #
  829. #  Sealable  -    Unknown1  +
  830. #  Reflect   -    Unknown2  -
  831. #
  832. ##
  833. #
  834. #  ピピーッ!ガシャン! (215933) [None]
  835. #
  836. #  Summon ally #1
  837. #
  838. #  Sealable  -    Unknown1  +
  839. #  Reflect   -    Unknown2  -
  840. #
  841. ##
  842. #
  843. #  ピピーッ!ガシャン! (215934) [None]
  844. #
  845. #  Summon ally #2
  846. #
  847. #  Sealable  -    Unknown1  +
  848. #  Reflect   -    Unknown2  -
  849. #
  850. ##
  851. #
  852. #  ピピーッ!ガシャン! (215935) [None]
  853. #
  854. #  Summon ally #3
  855. #
  856. #  Sealable  -    Unknown1  +
  857. #  Reflect   -    Unknown2  -
  858. #
  859. ##
  860. #
  861. #  生体細胞移植・悪魔 (215936) [None]
  862. #
  863. #  No effect
  864. #
  865. #  Sealable  -    Unknown1  +
  866. #  Reflect   -    Unknown2  -
  867. #
  868. ##
  869. #
  870. #  レフトアーム復元完了 (215937) [None]
  871. #
  872. #  No effect
  873. #
  874. #  Sealable  -    Unknown1  +
  875. #  Reflect   -    Unknown2  -
  876. #
  877. ##
  878. #
  879. #  ピピーッ!ウィーン! (215938) [None]
  880. #
  881. #  Summon ally #5
  882. #
  883. #  Sealable  -    Unknown1  +
  884. #  Reflect   -    Unknown2  -
  885. #
  886. ##
  887. #
  888. #  ピピーッ!ウィーン! (215939) [None]
  889. #
  890. #  Summon ally #6
  891. #
  892. #  Sealable  -    Unknown1  +
  893. #  Reflect   -    Unknown2  -
  894. #
  895. ##
  896. #
  897. #  ピピーッ!ウィーン! (215940) [None]
  898. #
  899. #  Summon ally #7
  900. #
  901. #  Sealable  -    Unknown1  +
  902. #  Reflect   -    Unknown2  -
  903. #
  904. ##
  905. #
  906. #  生体細胞移植・獣 (215941) [None]
  907. #
  908. #  No effect
  909. #
  910. #  Sealable  -    Unknown1  +
  911. #  Reflect   -    Unknown2  -
  912. #
  913. ##
  914. #
  915. #  ライトアーム復元完了 (215942) [None]
  916. #
  917. #  No effect
  918. #
  919. #  Sealable  -    Unknown1  +
  920. #  Reflect   -    Unknown2  -
  921. #
  922. ##
  923.  
  924. ###
  925. # AI
  926. ###
  927. if   apple == True:
  928.     endTurn()                      
  929.  
  930. elif once():
  931.     useSkill(11, 'random')         # ピピーッ!複数ノ敵意ヲ確認! (215928): No effect
  932.  
  933. elif once():
  934.     wait()                         # No action
  935.  
  936. elif once():
  937.     wait()                         # No action
  938.  
  939. elif once():
  940.     useSkill(10, 'random')         # プログラムVerデーモン起動 (215927): No effect
  941.  
  942. elif once():
  943.     wait()                         # No action
  944.  
  945. elif once():
  946.     wait()                         # No action
  947.  
  948. elif once():
  949.     useSkill(19, 'random')         # 生体細胞移植・悪魔 (215936): No effect
  950.  
  951. elif once():
  952.     wait()                         # No action
  953.  
  954. elif once():
  955.     wait()                         # No action
  956.  
  957. elif once():
  958.     useSkill(16, 'random')         # ピピーッ!ガシャン! (215933): Summon レフトアーム・悪魔 (406078004)
  959.  
  960. elif once():
  961.     wait()                         # No action
  962.  
  963. elif once():
  964.     wait()                         # No action
  965.  
  966. elif once():
  967.     useSkill(9, 'random')          # プログラムVerビースト起動 (215926): No effect
  968.  
  969. elif once():
  970.     wait()                         # No action
  971.  
  972. elif once():
  973.     wait()                         # No action
  974.  
  975. elif once():
  976.     useSkill(24, 'random')         # 生体細胞移植・獣 (215941): No effect
  977.  
  978. elif once():
  979.     wait()                         # No action
  980.  
  981. elif once():
  982.     wait()                         # No action
  983.  
  984. elif once():
  985.     useSkill(21, 'random')         # ピピーッ!ウィーン! (215938): Summon ライトアーム・獣 (406068004)
  986.  
  987. elif once():
  988.     wait()                         # No action
  989.  
  990. elif once():
  991.     wait()                         # No action
  992.  
  993. elif once():
  994.     useSkill(7, 'random')          # スペースディストーション (215924): Increase DEF and SPR by 300% for 3 turns to caster, Set all elements resistance to 300% for 3 turns to caster (can not be removed)
  995.  
  996. elif once():
  997.     wait()                         # No action
  998.  
  999. elif once():
  1000.     wait()                         # No action
  1001.  
  1002. elif once():
  1003.     useSkill(12, 'random')         # ピピーッ!排除開始! (215929): No effect
  1004.     apple  = True                  # reset next turn
  1005.  
  1006. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1007.     useSkill(15, 'random')         # システム・リカバリー完了 (215932): No effect
  1008.  
  1009. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1010.     wait()                         # No action
  1011.  
  1012. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1013.     wait()                         # No action
  1014.  
  1015. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1016.     useSkill(10, 'random')         # プログラムVerデーモン起動 (215927): No effect
  1017.  
  1018. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1019.     wait()                         # No action
  1020.  
  1021. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1022.     wait()                         # No action
  1023.  
  1024. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1025.     useSkill(19, 'random')         # 生体細胞移植・悪魔 (215936): No effect
  1026.  
  1027. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1028.     wait()                         # No action
  1029.  
  1030. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1031.     wait()                         # No action
  1032.  
  1033. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1034.     useSkill(17, 'random')         # ピピーッ!ガシャン! (215934): Summon レフトアーム・悪魔 (406078005)
  1035.  
  1036. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1037.     wait()                         # No action
  1038.  
  1039. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1040.     wait()                         # No action
  1041.  
  1042. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1043.     useSkill(20, 'random')         # レフトアーム復元完了 (215937): No effect
  1044.  
  1045. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1046.     wait()                         # No action
  1047.  
  1048. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1049.     wait()                         # No action
  1050.  
  1051. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1052.     useSkill(9, 'random')          # プログラムVerビースト起動 (215926): No effect
  1053.  
  1054. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1055.     wait()                         # No action
  1056.  
  1057. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1058.     wait()                         # No action
  1059.  
  1060. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1061.     useSkill(24, 'random')         # 生体細胞移植・獣 (215941): No effect
  1062.  
  1063. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1064.     wait()                         # No action
  1065.  
  1066. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1067.     wait()                         # No action
  1068.  
  1069. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1070.     useSkill(22, 'random')         # ピピーッ!ウィーン! (215939): Summon ライトアーム・獣 (406068005)
  1071.  
  1072. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1073.     wait()                         # No action
  1074.  
  1075. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1076.     wait()                         # No action
  1077.  
  1078. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1079.     useSkill(25, 'random')         # ライトアーム復元完了 (215942): No effect
  1080.  
  1081. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1082.     wait()                         # No action
  1083.  
  1084. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1085.     wait()                         # No action
  1086.  
  1087. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead') and green >= 15 and white == 3:
  1088.     useSkill(7, 'random')          # スペースディストーション (215924): Increase DEF and SPR by 300% for 3 turns to caster, Set all elements resistance to 300% for 3 turns to caster (can not be removed)
  1089.     mauve += 1                    
  1090.     white  = 0                    
  1091.     green  = 0                    
  1092.     berry  = True                  # reset next turn
  1093.  
  1094. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1095.     useSkill(15, 'random')         # システム・リカバリー完了 (215932): No effect
  1096.  
  1097. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1098.     wait()                         # No action
  1099.  
  1100. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1101.     wait()                         # No action
  1102.  
  1103. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1104.     useSkill(8, 'random')          # プログラムVer1.0起動 (215925): No effect
  1105.  
  1106. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1107.     wait()                         # No action
  1108.  
  1109. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1110.     wait()                         # No action
  1111.  
  1112. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1113.     useSkill(18, 'random')         # ピピーッ!ガシャン! (215935): Summon レフトアーム・機 (406078006)
  1114.  
  1115. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1116.     wait()                         # No action
  1117.  
  1118. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1119.     wait()                         # No action
  1120.  
  1121. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1122.     useSkill(20, 'random')         # レフトアーム復元完了 (215937): No effect
  1123.  
  1124. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1125.     wait()                         # No action
  1126.  
  1127. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1128.     wait()                         # No action
  1129.  
  1130. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1131.     useSkill(23, 'random')         # ピピーッ!ウィーン! (215940): Summon ライトアーム・機 (406068006)
  1132.  
  1133. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1134.     wait()                         # No action
  1135.  
  1136. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1137.     wait()                         # No action
  1138.  
  1139. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1140.     useSkill(25, 'random')         # ライトアーム復元完了 (215942): No effect
  1141.  
  1142. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1143.     wait()                         # No action
  1144.  
  1145. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1146.     wait()                         # No action
  1147.  
  1148. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead') and green >= 15 and white == 3:
  1149.     useSkill(7, 'random')          # スペースディストーション (215924): Increase DEF and SPR by 300% for 3 turns to caster, Set all elements resistance to 300% for 3 turns to caster (can not be removed)
  1150.     mauve += 1                    
  1151.     white  = 0                    
  1152.     green  = 0                    
  1153.     berry  = True                  # reset next turn
  1154.  
  1155. elif berry == False and mauve >= 1 and isTurnMod(3):
  1156.     useSkill(7, 'random')          # スペースディストーション (215924): Increase DEF and SPR by 300% for 3 turns to caster, Set all elements resistance to 300% for 3 turns to caster (can not be removed)
  1157.     berry  = True                  # reset next turn
  1158.  
  1159. elif mauve >= 1:
  1160.     endTurn()                      
  1161.     mauve  = 0                    
  1162.  
  1163. elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406078004').is('alive') and isTurnMod(3):
  1164.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1165.     mauve += 1                    
  1166.  
  1167. elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406068004').is('alive') and isTurnMod(3):
  1168.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1169.     mauve += 1                    
  1170.  
  1171. elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406078005').is('alive') and isTurnMod(3):
  1172.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1173.     mauve += 1                    
  1174.  
  1175. elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406068005').is('alive') and isTurnMod(3):
  1176.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1177.     mauve += 1                    
  1178.  
  1179. elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406078006').is('alive') and isTurnMod(3):
  1180.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1181.     mauve += 1                    
  1182.  
  1183. elif unit('1:ally:any').HP > 0.4 and unit('2:ally:406068006').is('alive') and isTurnMod(3):
  1184.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1185.     mauve += 1                    
  1186.  
  1187. elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406078004').is('alive') and isTurnMod(2):
  1188.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1189.     mauve += 1                    
  1190.  
  1191. elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406068004').is('alive') and isTurnMod(2):
  1192.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1193.     mauve += 1                    
  1194.  
  1195. elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406078005').is('alive') and isTurnMod(2):
  1196.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1197.     mauve += 1                    
  1198.  
  1199. elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406068005').is('alive') and isTurnMod(2):
  1200.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1201.     mauve += 1                    
  1202.  
  1203. elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406078006').is('alive') and isTurnMod(2):
  1204.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1205.     mauve += 1                    
  1206.  
  1207. elif unit('1:ally:any').HP < 0.4 and unit('2:ally:406068006').is('alive') and isTurnMod(2):
  1208.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1209.     mauve += 1                    
  1210.  
  1211. elif unit('2:ally:406078004').is('alive'):
  1212.     wait()                         # No action
  1213.     mauve += 1                    
  1214.  
  1215. elif unit('2:ally:406068004').is('alive'):
  1216.     wait()                         # No action
  1217.     mauve += 1                    
  1218.  
  1219. elif unit('2:ally:406078005').is('alive'):
  1220.     wait()                         # No action
  1221.     mauve += 1                    
  1222.  
  1223. elif unit('2:ally:406068005').is('alive'):
  1224.     wait()                         # No action
  1225.     mauve += 1                    
  1226.  
  1227. elif unit('2:ally:406078006').is('alive'):
  1228.     wait()                         # No action
  1229.     mauve += 1                    
  1230.  
  1231. elif unit('2:ally:406068006').is('alive'):
  1232.     wait()                         # No action
  1233.     mauve += 1                    
  1234.  
  1235. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead'):
  1236.     useSkill(14, 'random')         # システムダウン (215931): No effect
  1237.  
  1238. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead'):
  1239.     wait()                         # No action
  1240.  
  1241. elif once() and unit('2:ally:406078004').is('dead') and unit('2:ally:406068004').is('dead'):
  1242.     wait()                         # No action
  1243.  
  1244. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead'):
  1245.     useSkill(14, 'random')         # システムダウン (215931): No effect
  1246.  
  1247. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead'):
  1248.     wait()                         # No action
  1249.  
  1250. elif once() and unit('2:ally:406078005').is('dead') and unit('2:ally:406068005').is('dead'):
  1251.     wait()                         # No action
  1252.  
  1253. elif once() and unit('2:ally:406078006').is('dead') and unit('2:ally:406068006').is('dead'):
  1254.     useSkill(14, 'random')         # システムダウン (215931): No effect
  1255.  
  1256. elif once() and unit('2:ally:406078006').is('dead') and unit('2:ally:406068006').is('dead'):
  1257.     wait()                         # No action
  1258.  
  1259. elif once() and unit('2:ally:406078006').is('dead') and unit('2:ally:406068006').is('dead'):
  1260.     wait()                         # No action
  1261.  
  1262. elif unit('1:ally:any').sufferedDamageLastTurn('thunder', 'physical') and melon == False:
  1263.     useSkill(3, 'random')          # 超電磁大爆発 (215920): Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
  1264.     melon  = True                  # reset next turn
  1265.  
  1266. elif unit('1:ally:any').sufferedDamageLastTurn('thunder', 'magical') and melon == False:
  1267.     useSkill(3, 'random')          # 超電磁大爆発 (215920): Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
  1268.     melon  = True                  # reset next turn
  1269.  
  1270. elif unit('1:ally:any').sufferedDamageLastTurn('light', 'physical') and melon == False:
  1271.     useSkill(3, 'random')          # 超電磁大爆発 (215920): Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
  1272.     melon  = True                  # reset next turn
  1273.  
  1274. elif unit('1:ally:any').sufferedDamageLastTurn('light', 'magical') and melon == False:
  1275.     useSkill(3, 'random')          # 超電磁大爆発 (215920): Hybrid* lightning damage (1.5x, ATK & MAG) to all enemies
  1276.     melon  = True                  # reset next turn
  1277.  
  1278. elif unit('1:ally:any').HP < 0.4 and green >= 15 and mango == False:
  1279.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1280.     mango  = True                  # reset next turn
  1281.  
  1282. elif unit('1:ally:any').HP > 0.4 and green >= 15 and lemon == False and isTurnMod(2):
  1283.     useSkill(2, 'random')          # ジェノサイドビーム (215919): Magic* damage (2.6x, MAG) to all enemies
  1284.     lemon  = True                  # reset next turn
  1285.  
  1286. elif unit('1:ally:any').HP < 0.4 and green >= 15 and grape == False and isTurnMod(2):
  1287.     useSkill(4, 'random')          # 本体にプラズマが集中する (215921): Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
  1288.     grape  = True                  # reset next turn
  1289.     pasta  = True                  # persistent
  1290.  
  1291. elif unit('1:ally:any').HP > 0.4 and green >= 15 and grape == False and isTurnMod(3):
  1292.     useSkill(4, 'random')          # 本体にプラズマが集中する (215921): Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
  1293.     grape  = True                  # reset next turn
  1294.     pasta  = True                  # persistent
  1295.  
  1296. elif green >= 15 and white == 3:
  1297.     endTurn()                      
  1298.     white  = 0                    
  1299.     green  = 0                    
  1300.  
  1301. elif green >= 15:
  1302.     endTurn()                      
  1303.     white += 1                    
  1304.     green  = 0                    
  1305.  
  1306. elif unit('1:ally:any').sufferedDamageLastTurn('light', 'physical') and guava == False and pasta == True:
  1307.     useSkill(13, 'random')         # 光を浴びてプラズマが拡散した (215930): No effect
  1308.     guava  = True                  # reset next turn
  1309.  
  1310. elif unit('1:ally:any').sufferedDamageLastTurn('light', 'magical') and guava == False and pasta == True:
  1311.     useSkill(13, 'random')         # 光を浴びてプラズマが拡散した (215930): No effect
  1312.     guava  = True                  # reset next turn
  1313.  
  1314. elif unit('1:ally:any').sufferedDamageLastTurn('light', 'physical') and olive == False and pasta == True:
  1315.     useSkill(6, 'random')          # 宇宙崩壊 (215923): Magic* damage (3.5x * 1.43 = 5x, MAG) to all enemies (ignore reflect)
  1316.     olive  = True                  # reset next turn
  1317.     pasta  = False                 # persistent
  1318.  
  1319. elif unit('1:ally:any').sufferedDamageLastTurn('light', 'magical') and olive == False and pasta == True:
  1320.     useSkill(6, 'random')          # 宇宙崩壊 (215923): Magic* damage (3.5x * 1.43 = 5x, MAG) to all enemies (ignore reflect)
  1321.     olive  = True                  # reset next turn
  1322.     pasta  = False                 # persistent
  1323.  
  1324. elif olive == False and pasta == True:
  1325.     useSkill(5, 'random')          # 宇宙大崩壊 (215922): Magic* damage (6x * 1.43 = 8.57x, MAG) to all enemies (ignore reflect)
  1326.     olive  = True                  # reset next turn
  1327.     pasta  = False                 # persistent
  1328.  
  1329. elif green <= 6:
  1330.     useSkill(1, 'random')          # コアレーザー (215918): Magic damage (4x, MAG) to one enemy
  1331.     green += 1                    
  1332.  
  1333. else:
  1334.     attack('random')              
  1335.     green += 1                    
  1336.  
  1337. ##
  1338. # Monster Info
  1339. ##
  1340. #
  1341. # Monster  ライトアーム・獣 (406068004)
  1342. # Race     Beast
  1343. # Level    99
  1344. # Actions  20-20
  1345. #
  1346. #
  1347. # Stats
  1348. #        HP         60000000
  1349. #        MP            60000
  1350. #        ATK             700
  1351. #        DEF             800
  1352. #        MAG             600
  1353. #        SPR             800
  1354. #
  1355. #
  1356. # Damage resist
  1357. #        physical          0%
  1358. #        magical           0%
  1359. #
  1360. #
  1361. # Element resist
  1362. #        Fire              0%
  1363. #        Ice             -50%
  1364. #        Lightning         0%
  1365. #        Water           100%
  1366. #        Wind              0%
  1367. #        Earth             0%
  1368. #        Light             0%
  1369. #        Dark              0%
  1370. #        Non-Elemental     0%
  1371. #
  1372. #
  1373. # Status resist (+80% / application)
  1374. #        Poison          100%
  1375. #        Blind           100%
  1376. #        Sleep           100%
  1377. #        Silence         100%
  1378. #        Paralyze        100%
  1379. #        Confusion       100%
  1380. #        Disease         100%
  1381. #        Petrify         100%
  1382. #
  1383. #
  1384. # Debuff resist
  1385. #        ATK             100%
  1386. #        DEF               0%
  1387. #        MAG             100%
  1388. #        SPR               0%
  1389. #        Stop            100%
  1390. #        Charm           100%
  1391. #        Berserk         100%
  1392. #
  1393. #
  1394. # Immunity
  1395. #        Death             +
  1396. #        Gravity           +
  1397. #
  1398. ###
  1399.  
  1400. ###
  1401. # Passives
  1402. ###
  1403. #
  1404. #  全ステ50% (100015) [Passive]
  1405. #
  1406. #  Increase ATK, DEF, MAG and SPR by 50%
  1407. #
  1408. ##
  1409. #
  1410. #  物理・魔法カウンター(ライトアーム・獣) (100074) [Passive]
  1411. #
  1412. #  100% chance to counter physical attacks with ライトアームパンチ (215956) to the attacker (max 3 / turn)
  1413. #  100% chance to counter magic attacks with ライトアームパンチ (215956) to the attacker (max 3 / turn)
  1414. #
  1415. ##
  1416.  
  1417. ###
  1418. # Skills
  1419. ###
  1420. #
  1421. #  炎下弾 (215949) [Physical]
  1422. #
  1423. #  Physical fire damage (2.5x, ATK) to one enemy
  1424. #
  1425. #  Sealable  -    Unknown1  +
  1426. #  Reflect   -    Unknown2  -
  1427. #
  1428. ##
  1429. #
  1430. #  全体炎下弾 (215950) [Physical]
  1431. #
  1432. #  Physical fire damage (2.3x, ATK) to all enemies
  1433. #  Reduce resistance to Fire by 35% for 5 turns to all enemies
  1434. #
  1435. #  Sealable  -    Unknown1  +
  1436. #  Reflect   -    Unknown2  -
  1437. #
  1438. ##
  1439. #
  1440. #  防衛用ジャミング (215951) [None]
  1441. #
  1442. #  Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
  1443. #
  1444. #  Sealable  -    Unknown1  +
  1445. #  Reflect   -    Unknown2  -
  1446. #
  1447. ##
  1448. #
  1449. #  リフレクトオール (215952) [None]
  1450. #
  1451. #  Reflect all spell(s) for 3 turns to all allies
  1452. #
  1453. #  Sealable  -    Unknown1  +
  1454. #  Reflect   -    Unknown2  -
  1455. #
  1456. ##
  1457. #
  1458. #  ケアルジャビーム (215953) [None]
  1459. #
  1460. #  Restore 7000000 HP to all allies
  1461. #
  1462. #  Sealable  +    Unknown1  +
  1463. #  Reflect   -    Unknown2  -
  1464. #
  1465. ##
  1466. #
  1467. #  アッパーボルテージ (215954) [None]
  1468. #
  1469. #  Increase ATK and MAG by 10% for 3 turns to all allies
  1470. #
  1471. #  Sealable  -    Unknown1  +
  1472. #  Reflect   -    Unknown2  -
  1473. #
  1474. ##
  1475. #
  1476. #  メタルコート (215955) [None]
  1477. #
  1478. #  Increase DEF and SPR by 30% for 5 turns to all allies
  1479. #
  1480. #  Sealable  -    Unknown1  +
  1481. #  Reflect   -    Unknown2  -
  1482. #
  1483. ##
  1484. #
  1485. #  ライトアームパンチ (215956) [Physical]
  1486. #
  1487. #  Physical damage (3x, ATK) to one enemy
  1488. #
  1489. #  Sealable  -    Unknown1  +
  1490. #  Reflect   -    Unknown2  -
  1491. #
  1492. ##
  1493.  
  1494. ###
  1495. # AI
  1496. ###
  1497. if   once():
  1498.     endTurn()                      
  1499.  
  1500. elif unit('2:ally:406078004').is('dead') and green >= 12 and berry == False and isTurnMod(5):
  1501.     useSkill(3, 'random')          # 防衛用ジャミング (215951): Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
  1502.     berry  = True                  # reset next turn
  1503.  
  1504. elif unit('2:ally:406078004').is('dead') and green >= 12 and peach == False and isTurnMod(8):
  1505.     useSkill(5, 'random')          # ケアルジャビーム (215953): Restore 7000000 HP to all allies
  1506.     peach  = True                  # reset next turn
  1507.  
  1508. elif unit('2:ally:406078004').is('alive') and green >= 8 and berry == False and isTurnMod(5):
  1509.     useSkill(3, 'random')          # 防衛用ジャミング (215951): Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
  1510.     berry  = True                  # reset next turn
  1511.  
  1512. elif unit('2:ally:406078004').is('alive') and green >= 8 and peach == False and isTurnMod(8):
  1513.     useSkill(5, 'random')          # ケアルジャビーム (215953): Restore 7000000 HP to all allies
  1514.     peach  = True                  # reset next turn
  1515.  
  1516. elif unit('2:ally:406078004').is('dead') and green >= 12:
  1517.     endTurn()                      
  1518.     green  = 0                    
  1519.  
  1520. elif unit('2:ally:406078004').is('alive') and green >= 8:
  1521.     endTurn()                      
  1522.     green  = 0                    
  1523.  
  1524. elif unit('2:ally:406078005').is('dead') and green <= 4:
  1525.     useSkill(1, 'random')          # 炎下弾 (215949): Physical fire damage (2.5x, ATK) to one enemy
  1526.     green += 1                    
  1527.  
  1528. elif unit('2:ally:406078005').is('alive') and green <= 2:
  1529.     useSkill(1, 'random')          # 炎下弾 (215949): Physical fire damage (2.5x, ATK) to one enemy
  1530.     green += 1                    
  1531.  
  1532. elif unit('2:ally:406078004').is('dead') and apple == False and isTurnMod(2):
  1533.     useSkill(2, 'random')          # 全体炎下弾 (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
  1534.     green += 1                    
  1535.     apple  = True                  # reset next turn
  1536.  
  1537. elif unit('2:ally:406078004').is('alive') and apple == False and honey == True and isTurnMod(2):
  1538.     useSkill(2, 'random')          # 全体炎下弾 (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
  1539.     green += 1                    
  1540.     apple  = True                  # reset next turn
  1541.     honey  = False                 # persistent
  1542.  
  1543. elif unit('2:ally:406078004').is('alive') and apple == False and honey == False and isTurnMod(2):
  1544.     wait()                         # No action
  1545.     green += 1                    
  1546.     apple  = True                  # reset next turn
  1547.     honey  = True                  # persistent
  1548.  
  1549. elif random() <= 0.45:
  1550.     useSkill(8, 'random')          # ライトアームパンチ (215956): Physical damage (3x, ATK) to one enemy
  1551.     green += 1                    
  1552.  
  1553. else:
  1554.     attack('random')              
  1555.     green += 1                    
  1556.  
  1557. ##
  1558. # Monster Info
  1559. ##
  1560. #
  1561. # Monster  ライトアーム・獣 (406068005)
  1562. # Race     Beast
  1563. # Level    99
  1564. # Actions  20-20
  1565. #
  1566. #
  1567. # Stats
  1568. #        HP         65000000
  1569. #        MP            60000
  1570. #        ATK             750
  1571. #        DEF             850
  1572. #        MAG             650
  1573. #        SPR             850
  1574. #
  1575. #
  1576. # Damage resist
  1577. #        physical          0%
  1578. #        magical           0%
  1579. #
  1580. #
  1581. # Element resist
  1582. #        Fire              0%
  1583. #        Ice             -50%
  1584. #        Lightning         0%
  1585. #        Water           100%
  1586. #        Wind              0%
  1587. #        Earth             0%
  1588. #        Light             0%
  1589. #        Dark              0%
  1590. #        Non-Elemental     0%
  1591. #
  1592. #
  1593. # Status resist (+80% / application)
  1594. #        Poison          100%
  1595. #        Blind           100%
  1596. #        Sleep           100%
  1597. #        Silence         100%
  1598. #        Paralyze        100%
  1599. #        Confusion       100%
  1600. #        Disease         100%
  1601. #        Petrify         100%
  1602. #
  1603. #
  1604. # Debuff resist
  1605. #        ATK             100%
  1606. #        DEF               0%
  1607. #        MAG             100%
  1608. #        SPR               0%
  1609. #        Stop            100%
  1610. #        Charm           100%
  1611. #        Berserk         100%
  1612. #
  1613. #
  1614. # Immunity
  1615. #        Death             +
  1616. #        Gravity           +
  1617. #
  1618. ###
  1619.  
  1620. ###
  1621. # Passives
  1622. ###
  1623. #
  1624. #  全ステ50% (100015) [Passive]
  1625. #
  1626. #  Increase ATK, DEF, MAG and SPR by 50%
  1627. #
  1628. ##
  1629. #
  1630. #  物理・魔法カウンター(ライトアーム・獣) (100074) [Passive]
  1631. #
  1632. #  100% chance to counter physical attacks with ライトアームパンチ (215956) to the attacker (max 3 / turn)
  1633. #  100% chance to counter magic attacks with ライトアームパンチ (215956) to the attacker (max 3 / turn)
  1634. #
  1635. ##
  1636.  
  1637. ###
  1638. # Skills
  1639. ###
  1640. #
  1641. #  炎下弾 (215949) [Physical]
  1642. #
  1643. #  Physical fire damage (2.5x, ATK) to one enemy
  1644. #
  1645. #  Sealable  -    Unknown1  +
  1646. #  Reflect   -    Unknown2  -
  1647. #
  1648. ##
  1649. #
  1650. #  全体炎下弾 (215950) [Physical]
  1651. #
  1652. #  Physical fire damage (2.3x, ATK) to all enemies
  1653. #  Reduce resistance to Fire by 35% for 5 turns to all enemies
  1654. #
  1655. #  Sealable  -    Unknown1  +
  1656. #  Reflect   -    Unknown2  -
  1657. #
  1658. ##
  1659. #
  1660. #  防衛用ジャミング (215951) [None]
  1661. #
  1662. #  Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
  1663. #
  1664. #  Sealable  -    Unknown1  +
  1665. #  Reflect   -    Unknown2  -
  1666. #
  1667. ##
  1668. #
  1669. #  リフレクトオール (215952) [None]
  1670. #
  1671. #  Reflect all spell(s) for 3 turns to all allies
  1672. #
  1673. #  Sealable  -    Unknown1  +
  1674. #  Reflect   -    Unknown2  -
  1675. #
  1676. ##
  1677. #
  1678. #  ケアルジャビーム (215953) [None]
  1679. #
  1680. #  Restore 7000000 HP to all allies
  1681. #
  1682. #  Sealable  +    Unknown1  +
  1683. #  Reflect   -    Unknown2  -
  1684. #
  1685. ##
  1686. #
  1687. #  アッパーボルテージ (215954) [None]
  1688. #
  1689. #  Increase ATK and MAG by 10% for 3 turns to all allies
  1690. #
  1691. #  Sealable  -    Unknown1  +
  1692. #  Reflect   -    Unknown2  -
  1693. #
  1694. ##
  1695. #
  1696. #  メタルコート (215955) [None]
  1697. #
  1698. #  Increase DEF and SPR by 30% for 5 turns to all allies
  1699. #
  1700. #  Sealable  -    Unknown1  +
  1701. #  Reflect   -    Unknown2  -
  1702. #
  1703. ##
  1704. #
  1705. #  ライトアームパンチ (215956) [Physical]
  1706. #
  1707. #  Physical damage (3x, ATK) to one enemy
  1708. #
  1709. #  Sealable  -    Unknown1  +
  1710. #  Reflect   -    Unknown2  -
  1711. #
  1712. ##
  1713.  
  1714. ###
  1715. # AI
  1716. ###
  1717. if   once():
  1718.     endTurn()                      
  1719.  
  1720. elif unit('2:ally:406078005').is('dead') and green >= 12 and berry == False and isTurnMod(4):
  1721.     useSkill(3, 'random')          # 防衛用ジャミング (215951): Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
  1722.     berry  = True                  # reset next turn
  1723.  
  1724. elif unit('2:ally:406078005').is('dead') and green >= 12 and peach == False and isTurnMod(6):
  1725.     useSkill(5, 'random')          # ケアルジャビーム (215953): Restore 7000000 HP to all allies
  1726.     peach  = True                  # reset next turn
  1727.  
  1728. elif unit('2:ally:406078005').is('dead') and green >= 12 and mango == False and isTurnMod(3):
  1729.     useSkill(6, 'random')          # アッパーボルテージ (215954): Increase ATK and MAG by 10% for 3 turns to all allies
  1730.     mango  = True                  # reset next turn
  1731.  
  1732. elif unit('2:ally:406078005').is('alive') and green >= 8 and berry == False and isTurnMod(4):
  1733.     useSkill(3, 'random')          # 防衛用ジャミング (215951): Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
  1734.     berry  = True                  # reset next turn
  1735.  
  1736. elif unit('2:ally:406078005').is('alive') and green >= 8 and peach == False and isTurnMod(6):
  1737.     useSkill(5, 'random')          # ケアルジャビーム (215953): Restore 7000000 HP to all allies
  1738.     peach  = True                  # reset next turn
  1739.  
  1740. elif unit('2:ally:406078005').is('alive') and green >= 8 and mango == False and isTurnMod(3):
  1741.     useSkill(6, 'random')          # アッパーボルテージ (215954): Increase ATK and MAG by 10% for 3 turns to all allies
  1742.     mango  = True                  # reset next turn
  1743.  
  1744. elif unit('2:ally:406078005').is('dead') and green >= 12:
  1745.     endTurn()                      
  1746.     green  = 0                    
  1747.  
  1748. elif unit('2:ally:406078005').is('alive') and green >= 8:
  1749.     endTurn()                      
  1750.     green  = 0                    
  1751.  
  1752. elif unit('2:ally:406078005').is('dead') and green <= 4:
  1753.     useSkill(1, 'random')          # 炎下弾 (215949): Physical fire damage (2.5x, ATK) to one enemy
  1754.     green += 1                    
  1755.  
  1756. elif unit('2:ally:406078005').is('alive') and green <= 2:
  1757.     useSkill(1, 'random')          # 炎下弾 (215949): Physical fire damage (2.5x, ATK) to one enemy
  1758.     green += 1                    
  1759.  
  1760. elif unit('2:ally:406078005').is('dead') and olive == False and isTurnMod(2):
  1761.     useSkill(2, 'random')          # 全体炎下弾 (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
  1762.     green += 1                    
  1763.     olive  = True                  # reset next turn
  1764.  
  1765. elif unit('2:ally:406078005').is('dead') and apple == False and isTurnMod(2):
  1766.     useSkill(2, 'random')          # 全体炎下弾 (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
  1767.     green += 1                    
  1768.     apple  = True                  # reset next turn
  1769.  
  1770. elif unit('2:ally:406078005').is('alive') and olive == False and honey == True and isTurnMod(2):
  1771.     useSkill(2, 'random')          # 全体炎下弾 (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
  1772.     green += 1                    
  1773.     olive  = True                  # reset next turn
  1774.  
  1775. elif unit('2:ally:406078005').is('alive') and apple == False and honey == True and isTurnMod(2):
  1776.     useSkill(2, 'random')          # 全体炎下弾 (215950): Physical fire damage (2.3x, ATK) to all enemies, Reduce resistance to Fire by 35% for 5 turns to all enemies
  1777.     green += 1                    
  1778.     apple  = True                  # reset next turn
  1779.     honey  = False                 # persistent
  1780.  
  1781. elif unit('2:ally:406078005').is('alive') and apple == False and honey == False and isTurnMod(2):
  1782.     wait()                         # No action
  1783.     green += 1                    
  1784.     olive  = True                  # reset next turn
  1785.     apple  = True                  # reset next turn
  1786.     honey  = True                  # persistent
  1787.  
  1788. elif random() <= 0.45:
  1789.     useSkill(8, 'random')          # ライトアームパンチ (215956): Physical damage (3x, ATK) to one enemy
  1790.     green += 1                    
  1791.  
  1792. else:
  1793.     attack('random')              
  1794.     green += 1                    
  1795.  
  1796. ##
  1797. # Monster Info
  1798. ##
  1799. #
  1800. # Monster  ライトアーム・機 (406068006)
  1801. # Race     Machina
  1802. # Level    99
  1803. # Actions  20-20
  1804. #
  1805. #
  1806. # Stats
  1807. #        HP         70000000
  1808. #        MP            60000
  1809. #        ATK             800
  1810. #        DEF            2000
  1811. #        MAG             700
  1812. #        SPR            1900
  1813. #
  1814. #
  1815. # Damage resist
  1816. #        physical          0%
  1817. #        magical           0%
  1818. #
  1819. #
  1820. # Element resist
  1821. #        Fire              0%
  1822. #        Ice               0%
  1823. #        Lightning        50%
  1824. #        Water           -50%
  1825. #        Wind              0%
  1826. #        Earth           -50%
  1827. #        Light            50%
  1828. #        Dark              0%
  1829. #        Non-Elemental     0%
  1830. #
  1831. #
  1832. # Status resist (+80% / application)
  1833. #        Poison          100%
  1834. #        Blind           100%
  1835. #        Sleep           100%
  1836. #        Silence         100%
  1837. #        Paralyze        100%
  1838. #        Confusion       100%
  1839. #        Disease         100%
  1840. #        Petrify         100%
  1841. #
  1842. #
  1843. # Debuff resist
  1844. #        ATK             100%
  1845. #        DEF               0%
  1846. #        MAG             100%
  1847. #        SPR               0%
  1848. #        Stop            100%
  1849. #        Charm           100%
  1850. #        Berserk         100%
  1851. #
  1852. #
  1853. # Immunity
  1854. #        Death             +
  1855. #        Gravity           +
  1856. #
  1857. ###
  1858.  
  1859. ###
  1860. # Passives
  1861. ###
  1862. #
  1863. #  全ステ50% (100015) [Passive]
  1864. #
  1865. #  Increase ATK, DEF, MAG and SPR by 50%
  1866. #
  1867. ##
  1868. #
  1869. #  物理・魔法カウンター(ライトアーム・機) (100076) [Passive]
  1870. #
  1871. #  100% chance to counter physical attacks with ライトアームパンチ (215956) to the attacker
  1872. #  100% chance to counter magic attacks with ライトアームパンチ (215956) to the attacker
  1873. #
  1874. ##
  1875.  
  1876. ###
  1877. # Skills
  1878. ###
  1879. #
  1880. #  炎下弾 (215949) [Physical]
  1881. #
  1882. #  Physical fire damage (2.5x, ATK) to one enemy
  1883. #
  1884. #  Sealable  -    Unknown1  +
  1885. #  Reflect   -    Unknown2  -
  1886. #
  1887. ##
  1888. #
  1889. #  全体炎下弾 (215950) [Physical]
  1890. #
  1891. #  Physical fire damage (2.3x, ATK) to all enemies
  1892. #  Reduce resistance to Fire by 35% for 5 turns to all enemies
  1893. #
  1894. #  Sealable  -    Unknown1  +
  1895. #  Reflect   -    Unknown2  -
  1896. #
  1897. ##
  1898. #
  1899. #  防衛用ジャミング (215951) [None]
  1900. #
  1901. #  Increase break resistance to ATK and MAG by 50% for 3 turns to all allies
  1902. #
  1903. #  Sealable  -    Unknown1  +
  1904. #  Reflect   -    Unknown2  -
  1905. #
  1906. ##
  1907. #
  1908. #  リフレクトオール (215952) [None]
  1909. #
  1910. #  Reflect all spell(s) for 3 turns to all allies
  1911. #
  1912. #  Sealable  -    Unknown1  +
  1913. #  Reflect   -    Unknown2  -
  1914. #
  1915. ##
  1916. #
  1917. #  ケアルジャビーム (215953) [None]
  1918. #
  1919. #  Restore 7000000 HP to all allies
  1920. #
  1921. #  Sealable  +    Unknown1  +
  1922. #  Reflect   -    Unknown2  -
  1923. #
  1924. ##
  1925. #
  1926. #  アッパーボルテージ (215954) [None]
  1927. #
  1928. #  Increase ATK and MAG by 10% for 3 turns to all allies
  1929. #
  1930. #  Sealable  -    Unknown1  +
  1931. #  Reflect   -    Unknown2  -
  1932. #
  1933. ##
  1934. #
  1935. #  メタルコート (215955) [None]
  1936. #
  1937. #  Increase DEF and SPR by 30% for 5 turns to all allies
  1938. #
  1939. #  Sealable  -    Unknown1  +
  1940. #  Reflect   -    Unknown2  -
  1941. #
  1942. ##
  1943. #
  1944. #  ライトアームパンチ (215956) [Physical]
  1945. #
  1946. #  Physical damage (3x, ATK) to one enemy
  1947. #
  1948. #  Sealable  -    Unknown1  +
  1949. #  Reflect   -    Unknown2  -
  1950. #
  1951. ##
  1952.  
  1953. ###
  1954. # AI
  1955. ###
  1956. if   once():
  1957.     endTurn()                      
  1958.  
  1959. elif not unit('1:ally:any').hasReflect() and apple == False:
  1960.     useSkill(4, 'random')          # リフレクトオール (215952): Reflect all spell(s) for 3 turns to all allies
  1961.     apple  = True                  # reset next turn
  1962.  
  1963. elif not unit('2:ally:406078006').hasReflect() and unit('2:ally:406078006').is('alive') and apple == False:
  1964.     useSkill(4, 'random')          # リフレクトオール (215952): Reflect all spell(s) for 3 turns to all allies
  1965.     apple  = True                  # reset next turn
  1966.  
  1967. elif not unit('2:ally:406058003').hasReflect() and unit('2:ally:406058003').is('alive') and apple == False:
  1968.     useSkill(4, 'random')          # リフレクトオール (215952): Reflect all spell(s) for 3 turns to all allies
  1969.     apple  = True                  # reset next turn
  1970.  
  1971. elif unit('2:ally:406078006').is('dead') and green >= 12 and berry == False and isTurnMod(3):
  1972.     useSkill(6, 'random')          # アッパーボルテージ (215954): Increase ATK and MAG by 10% for 3 turns to all allies
  1973.     berry  = True                  # reset next turn
  1974.  
  1975. elif unit('2:ally:406078006').is('dead') and green >= 12 and peach == False and isTurnMod(3):
  1976.     useSkill(7, 'random')          # メタルコート (215955): Increase DEF and SPR by 30% for 5 turns to all allies
  1977.     peach  = True                  # reset next turn
  1978.  
  1979. elif unit('2:ally:406078006').is('dead') and green >= 12 and olive == False and isTurnMod(5):
  1980.     useSkill(5, 'random')          # ケアルジャビーム (215953): Restore 7000000 HP to all allies
  1981.     olive  = True                  # reset next turn
  1982.  
  1983. elif unit('2:ally:406078006').is('alive') and green >= 8 and berry == False and isTurnMod(3):
  1984.     useSkill(6, 'random')          # アッパーボルテージ (215954): Increase ATK and MAG by 10% for 3 turns to all allies
  1985.     berry  = True                  # reset next turn
  1986.  
  1987. elif unit('2:ally:406078006').is('alive') and green >= 8 and peach == False and isTurnMod(3):
  1988.     useSkill(7, 'random')          # メタルコート (215955): Increase DEF and SPR by 30% for 5 turns to all allies
  1989.     peach  = True                  # reset next turn
  1990.  
  1991. elif unit('2:ally:406078006').is('alive') and green >= 8 and olive == False and isTurnMod(5):
  1992.     useSkill(5, 'random')          # ケアルジャビーム (215953): Restore 7000000 HP to all allies
  1993.     olive  = True                  # reset next turn
  1994.  
  1995. elif unit('2:ally:406078006').is('dead') and green >= 12:
  1996.     endTurn()                      
  1997.     green  = 0                    
  1998.  
  1999. elif unit('2:ally:406078006').is('alive') and green >= 8:
  2000.     endTurn()                      
  2001.     green  = 0                    
  2002.  
  2003. elif unit('2:ally:406078006').is('dead') and green <= 7:
  2004.     useSkill(8, 'random')          # ライトアームパンチ (215956): Physical damage (3x, ATK) to one enemy
  2005.     green += 1                    
  2006.  
  2007. elif unit('2:ally:406078006').is('alive') and green <= 3:
  2008.     useSkill(8, 'random')          # ライトアームパンチ (215956): Physical damage (3x, ATK) to one enemy
  2009.     green += 1                    
  2010.  
  2011. else:
  2012.     attack('random')              
  2013.     green += 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top