DrFetus

7th Dragon VFD: Insomnia Alpha AI

May 26th, 2022
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.17 KB | None | 0 0
  1. Routine 1
  2. -Take 2 actions per turn.
  3. -If counter 3 is at 0 and Life is below 70%, swap to routine 2.
  4. -If counter 2 is at 15 and it is the 2nd action in the turn:
  5. --1/2 chance to use Bite. Set counters 1, 2, and 3 to 0.
  6. --1/2 chance to attack. Set counters 1, 2, and 3 to 0.
  7. -If counter 2 is at 14 and it is the 1st action in the turn:
  8. --1/2 chance to use Power Slash. Add 1 to counter 2.
  9. --1/2 chance to attack. Add 1 to counter 2.
  10. -If counter 2 is at 13 and it is the 2nd action in the turn:
  11. --1/2 chance to use Bite. Add 1 to counter 2.
  12. --1/2 chance to attack. Add 1 to counter 2.
  13. -If counter 2 is at 12 and it is the 1st action in the turn:
  14. --Use Exhaust Breath. Add 1 to counter 2.
  15. -If counter 2 is at 11 and it is the 2nd action in the turn:
  16. --Use Deep Inhale. Add 1 to counter 2.
  17. -If counter 2 is at 10 and it is the 1st action in the turn:
  18. --Use Death Sentence. Set counter 1 to 0. Add 1 to counter 2.
  19. -If counter 2 is at 9 and it is the 2nd action in the turn:
  20. --Use Deadly Omen. Set counter 1 to 20. Add 1 to counter 2.
  21. -If counter 2 is at 8 and it is the 1st action in the turn:
  22. --1/2 chance to use Bite. Add 1 to counter 2. Set counter 3 to 10.
  23. --1/2 chance to attack. Add 1 to counter 2. Set counter 3 to 10.
  24. -If counter 2 is at 7 and it is the 2nd action in the turn:
  25. --1/2 chance to attack. Add 1 to counter 2.
  26. --1/2 chance to use Bite. Add 1 to counter 2.
  27. -If counter 2 is at 6 and it is the 1st action in the turn:
  28. --1/2 chance to use Power Slash. Add 1 to counter 2.
  29. --1/2 chance to use Bite. Add 1 to counter 2.
  30. -If counter 2 is at 5 and it is the 2nd action in the turn:
  31. --1/2 chance to use Bite. Add 1 to counter 2. Set counter 3 to 0.
  32. --1/2 chance to attack. Add 1 to counter 2. Set counter 3 to 0.
  33. -If counter 2 is at 4, counter 1 is at 10, and it is the 1st action in the turn:
  34. --Use Exhaust Breath. Set counter 1 to 0. Add 1 to counter 2.
  35. -If counter 2 is at 3 and it is the 2nd action in the turn:
  36. --Use Deep Inhale. Set counter 1 to 10. Add 1 to counter 2.
  37. -If counter 2 is at 2, counter 1 is at 20, and it is the 1st action in the turn:
  38. --Use Death Sentence. Set counter 1 to 0. Add 1 to counter 2.
  39. -If counter 2 is at 1 and it is the 2nd action in the turn:
  40. --Use Deadly Omen. Set counter 1 to 20. Add 1 to counter 2.
  41. -If counter 2 is at 0 and it is the 1st action in the turn:
  42. --1/2 chance to use Power Slash. Add 1 to counter 2. Set counter 3 to 10.
  43. --1/2 chance to attack. Add 1 to counter 2. Set counter 3 to 10.
  44.  
  45. Routine 2
  46. -Take 2 actions per turn.
  47. -If counter 3 is at 0 and Life is below 40%, swap to routine 3.
  48. -If counter 0 is at 0, and it is the 1st action in the turn:
  49. --1/2 chance to use Bite. Set counters 0 and 3 to 10.
  50. --1/2 chance to attack. Set counters 0 and 3 to 10.
  51. -If counter 0 is at 10, and it is the 2nd action in the turn:
  52. --Use Deep Inhale. Set counter 0 to 20 and counter 1 to 10.
  53. -If counter 0 is at 20, and it is the 1st action in the turn:
  54. --Use Dark Breath. Set counter 0 to 30 and counter 1 to 0.
  55. -If counter 0 is at 30, and it is the 2nd action in the turn:
  56. --1/2 chance to use Bite. Set counters 0 to 40. Set counters 1 and 3 to 0.
  57. --1/2 chance to attack. Set counters 0 to 40. Set counters 1 and 3 to 0.
  58. -If counter 2 is at 15 and it is the 2nd action in the turn:
  59. --1/2 chance to use Bite. Set counters 1, 2, and 3 to 0.
  60. --1/2 chance to attack. Set counters 1, 2, and 3 to 0.
  61. -If counter 2 is at 14, counter 1 is at 20, and it is the 1st action in the turn:
  62. --Use Death Sentence. Set counter 1 to 0. Add 1 to counter 2.
  63. -If counter 2 is at 13 and it is the 2nd action in the turn:
  64. --Use Deadly Omen. Set counter 1 to 20. Add 1 to counter 2.
  65. -If counter 2 is at 12 and it is the 1st action in the turn:
  66. --1/2 chance to use Bite. Add 1 to counter 2. Set counter 3 to 10.
  67. --1/2 chance to attack. Add 1 to counter 2. Set counter 3 to 10.
  68. -If counter 2 is at 11 and it is the 2nd action in the turn:
  69. --1/2 chance to use Bite. Add 1 to counter 2. Set counter 3 to 0.
  70. --1/2 chance to attack. Add 1 to counter 2. Set counter 3 to 0.
  71. -If counter 2 is at 10, counter 1 is at 10, and it is the 1st action in the turn:
  72. --1/2 chance to use Dark Breath. Set counter 1 to 0. Add 1 to counter 2.
  73. --1/2 chance to use Exhaust Breath. Set counter 1 to 0. Add 1 to counter 2.
  74. -If counter 2 is at 9 and it is the 2nd action in the turn:
  75. --Use Deep Inhale. Set counter 1 to 10. Add 1 to counter 2.
  76. -If counter 2 is at 8 and it is the 1st action in the turn:
  77. --1/2 chance to use Bite. Add 1 to counter 2. Set counter 3 to 10.
  78. --1/2 chance to use Power Slash. Add 1 to counter 2. Set counter 3 to 10.
  79. -If counter 2 is at 7 and it is the 2nd action in the turn:
  80. --1/2 chance to attack. Add 1 to counter 2.
  81. --1/2 chance to use Bite. Add 1 to counter 2.
  82. -If counter 2 is at 6 and it is the 1st action in the turn:
  83. --1/2 chance to use Power Slash. Add 1 to counter 2.
  84. --1/2 chance to use Bite. Add 1 to counter 2.
  85. -If counter 2 is at 5 and it is the 2nd action in the turn:
  86. --1/2 chance to use Bite. Add 1 to counter 2. Set counter 3 to 0.
  87. --1/2 chance to attack. Add 1 to counter 2. Set counter 3 to 0.
  88. -If counter 2 is at 4, counter 1 is at 10, and it is the 1st action in the turn:
  89. --Use Dark Breath. Set counter 1 to 0. Add 1 to counter 2.
  90. -If counter 2 is at 3 and it is the 2nd action in the turn:
  91. --Use Deep Inhale. Set counter 1 to 10. Add 1 to counter 2.
  92. -If counter 2 is at 2 and it is the 1st action in the turn:
  93. --1/2 chance to attack. Add 1 to counter 2. Set counter 3 to 10.
  94. --1/2 chance to use Bite. Add 1 to counter 2. Set counter 3 to 10.
  95. -If counter 2 is at 1 and it is the 2nd action in the turn:
  96. --1/2 chance to use Power Slash. Add 1 to counter 2.
  97. --1/2 chance to use Bite. Add 1 to counter 2.
  98. -If counter 2 is at 0 and it is the 1st action in the turn:
  99. --1/2 chance to attack. Add 1 to counter 2.
  100. --1/2 chance to use Bite. Add 1 to counter 2.
  101. -Else:
  102. --1/3 chance to attack. Set counter 1 to 10. Add 1 to counter 2.
  103. --1/3 chance to use Bite. Set counter 1 to 10. Add 1 to counter 2.
  104. --1/3 chance to use Power Slash. Set counter 1 to 10. Add 1 to counter 2.
  105.  
  106. Routine 3
  107. -Take 2 actions per turn.
  108. -If counter 1 is at 0:
  109. --Use its crystal to collect dark energy. Set counters 0 and 2 to 0. Set counter 1 to 50.
  110. -If counter 1 is at 50, and it is the 2nd action in the turn:
  111. --Use dark energy to restore LF. Set counters 0 and 2 to 0. Set counter 1 to 100.
  112. -If counter 2 is at 17 and it is the 1st action in the turn:
  113. --1/2 chance to use Bite. Set counters 1 and 2 to 0.
  114. --1/2 chance to Attack. Set counters 1 and 2 to 0.
  115. -If counter 2 is at 16, counter 1 is at 10, and it is the 2nd action in the turn:
  116. --Use Dark Breath. Set counters 1 to 10. Add 1 to counter 2.
  117. -If counter 2 is at 15 and it is the 2nd action in the turn:
  118. --Use Deep Inhale. Set counters 1 to 10. Add 1 to counter 2.
  119. -If counter 2 is at 14 and it is the 1st action in the turn:
  120. --1/2 chance to use Power Slash. Add 1 to counter 2.
  121. --1/2 chance to use Bite. Add 1 to counter 2.
  122. -If counter 2 is at 13 and it is the 2nd action in the turn:
  123. --1/2 chance to use Bite. Add 1 to counter 2.
  124. --1/2 chance to attack. Add 1 to counter 2.
  125. -If counter 2 is at 12 and it is the 1st action in the turn:
  126. --Use Bite (Target the party member with the highest Life). Add 1 to counter 2.
  127. -If counter 2 is at 11 and it is the 2nd action in the turn:
  128. --1/2 chance to use Bite. Add 1 to counter 2.
  129. --1/2 chance to attack. Add 1 to counter 2.
  130. -If counter 2 is at 10, counter 1 is at 10, and it is the 1st action in the turn:
  131. --1/2 chance to use Dark Breath. Set counter 1 to 0. Add 1 to counter 2.
  132. --1/2 chance to use Exhaust Breath. Set counter 1 to 0. Add 1 to counter 2.
  133. -If counter 2 is at 9 and it is the 2nd action in the turn:
  134. --Use Deep Inhale. Set counter 1 to 10. Add 1 to counter 2.
  135. -If counter 2 is at 8 and it is the 1st action in the turn:
  136. --1/2 chance to use Bite. Add 1 to counter 2.
  137. --1/2 chance to attack. Add 1 to counter 2.
  138. -If counter 2 is at 7 and it is the 2nd action in the turn:
  139. --1/2 chance to attack. Add 1 to counter 2.
  140. --1/2 chance to use Bite. Add 1 to counter 2.
  141. -If counter 2 is at 6 and it is the 1st action in the turn:
  142. --Use Power Slash. Add 1 to counter 2.
  143. -If counter 2 is at 5 and it is the 2nd action in the turn:
  144. --1/2 chance to use Bite. Add 1 to counter 2.
  145. --1/2 chance to attack. Add 1 to counter 2.
  146. -If counter 2 is at 4, counter 1 is at 10, and it is the 1st action in the turn:
  147. --Use Dark Breath. Set counter 1 to 0. Add 1 to counter 2.
  148. -If counter 2 is at 4:
  149. --2/3 chance to attack. Add 1 to counter 2.
  150. --1/3 chance to use Power Slash. Add 1 to counter 2.
  151. -If counter 2 is at 3 and it is the 2nd action in the turn:
  152. --Use Deep Inhale. Set counter 1 to 10. Add 1 to counter 2.
  153. -If counter 2 is at 2 and it is the 1st action in the turn:
  154. --1/2 chance to attack. Add 1 to counter 2.
  155. --1/2 chance to use Bite. Add 1 to counter 2.
  156. -If counter 2 is at 1 and it is the 2nd action in the turn:
  157. --1/2 chance to use Power Slash. Add 1 to counter 2.
  158. --1/2 chance to use Bite. Add 1 to counter 2.
  159. -If counter 2 is at 0 and it is the 1st action in the turn:
  160. --1/2 chance to attack. Add 1 to counter 2.
  161. --1/2 chance to use Bite. Add 1 to counter 2.
  162. -Else:
  163. --1/3 chance to attack. Add 1 to counter 2.
  164. --1/3 chance to use Bite. Add 1 to counter 2.
  165. --1/3 chance to use Power Slash. Add 1 to counter 2.
Advertisement
Add Comment
Please, Sign In to add comment