DrFetus

Crystal Dragon Form 2 AI

Apr 12th, 2017
164
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Crystal Dragon: Speed Form
  2.  
  3. 259 = Bash
  4. 260 = Stab
  5. 261 = Cut
  6. 262 = Sleep + Head Bind
  7. 263 = Random elements
  8. 264 = Change to dragon form
  9.  
  10. Dragon ID: 155
  11. Speed ID: 166
  12.  
  13. Upon starting the battle or switching to Speed form, generate a number from 4 to 6. Stay in Speed form for that many turns, and shift to dragon form at the end of the turn after the counter reaches 0.
  14. Shift to dragon form after losing over 10% of max HP in one turn.
  15.  
  16. If HP is below 76%, 30% chance to cast (262) on any given turn. (Standard targeting.)
  17. If HP is below 76% and any party members have an ailment, 30% chance to cast (259). (Targets party members with an ailment.)
  18. If HP is below 50%, and a party member is asleep:
  19.  
  20. 40% chance to cast (259) (Targets party members with an ailment.)
  21. 20% chance to cast (260) (Standard targeting.)
  22. 40% chance to cast (261) (Standard targeting.)
  23.  
  24. From 100% HP to 76% HP:
  25. =======================
  26.  
  27. If skills 259, 260, and 261 were not cast last turn:
  28.  
  29. 30% chance to cast (259) (Standard targeting.)
  30. 30% chance to cast (260) (Standard targeting.)
  31. 30% chance to cast (261) (Standard targeting.)
  32. 10% chance to use a regular attack. (Standard targeting.)
  33.  
  34. If skill 261 was cast last turn:
  35.  
  36. 40% chance to cast (259) (Standard targeting.)
  37. 40% chance to cast (260) (Standard targeting.)
  38. 20% chance to use a regular attack. (Standard targeting.)
  39.  
  40. If skill 260 was cast last turn:
  41.  
  42. 40% chance to cast (259) (Standard targeting.)
  43. 40% chance to cast (261) (Standard targeting.)
  44. 20% chance to use a regular attack. (Standard targeting.)
  45.  
  46. If skill 259 was cast last turn:
  47.  
  48. 40% chance to cast (260) (Standard targeting.)
  49. 40% chance to cast (261) (Standard targeting.)
  50. 20% chance to use a regular attack. (Standard targeting.)
  51.  
  52. From 75% HP to 51% HP:
  53. ======================
  54.  
  55. If skills 259, 260, and 261 were not cast last turn:
  56.  
  57. 30% chance to cast (259) (Standard targeting.)
  58. 30% chance to cast (260) (Standard targeting.)
  59. 30% chance to cast (261) (Standard targeting.)
  60. 10% chance to use a regular attack. (Standard targeting.)
  61.  
  62. If skill 261 was cast last turn:
  63.  
  64. 70% chance to cast (259) (Standard targeting.)
  65. 30% chance to use a regular attack. (Standard targeting.)
  66.  
  67. If skill 259 was cast last turn:
  68.  
  69. 50% chance to cast (263) (Standard targeting.)
  70. 40% chance to cast (260) (Standard targeting.)
  71. 10% chance to cast (262) (Standard targeting.)
  72.  
  73. If skill 260 was cast last turn:
  74.  
  75. 45% chance to cast (259) (Standard targeting.)
  76. 45% chance to cast (261) (Standard targeting.)
  77. 10% chance to cast (262) (Standard targeting.)
  78.  
  79. From 50% HP to Death:
  80. =====================
  81.  
  82. I have no idea what causes Crystal Dragon to use these routines.
  83.  
  84. Routine 1:
  85.  
  86. 45% chance to cast (259) (Standard targeting.)
  87. 5% chance to cast (261) (Standard targeting.)
  88. 40% chance to cast (260) (Targets the front row.)
  89. 10% chance to cast (263) (Standard targeting.)
  90.  
  91. Routine 2:
  92.  
  93. 45% chance to cast (259) (Standard targeting.)
  94. 45% chance to cast (261) (Standard targeting.)
  95. 10% chance to use a regular attack. (Standard targeting.)
  96.  
  97. Routine 3:
  98.  
  99. 50% chance to cast (263) (Standard targeting.)
  100. 40% chance to cast (260) (Targets the front row.)
  101. 10% chance to cast (262) (Standard targeting.)
RAW Paste Data