Advertisement
Dasffion

Untitled

Dec 30th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.00 KB | None | 0 0
  1. action (barbbuff) var abilitystarted 1 when ^But you are already practicing that form\!|But you are already enraged with that berserk\.
  2.  
  3. BARB_CHECK:
  4. pause 0.001
  5. pause 0.001
  6. if (!$standing) then gosub STAND
  7. send meditate flame
  8. pause 2
  9. pause 0.5
  10. if ($innerFire > 2) && (%zerkFamine) && (!$zerkFamine) then
  11. {
  12. action (barbbuff) on
  13. var abilitystarted 0
  14. send berserk famine
  15. pause
  16. if %abilitystarted 1 then put #tvar zerkFamine 1
  17. action (barbbuff) off
  18. }
  19. if ($innerFire > 2) && (%zerkWildfire) && (!$zerkWildfire) then
  20. {
  21. action (barbbuff) on
  22. var abilitystarted 0
  23. send berserk wildfire
  24. pause
  25. if %abilitystarted 1 then put #tvar zerkWildfire 1
  26. action (barbbuff) off
  27. }
  28. if ($innerFire > 2) && ($stamina < 70) && (%zerkAvalanche) && (!$zerkAvalanche) then
  29. {
  30. action (barbbuff) on
  31. var abilitystarted 0
  32. send berserk avalanche
  33. pause
  34. if %abilitystarted 1 then put #tvar zerkAvalanche 1
  35. action (barbbuff) off
  36. }
  37. if ($innerFire > 3) && (%zerkTsunami) && (!$zerkTsunami) then
  38. {
  39. action (barbbuff) on
  40. var abilitystarted 0
  41. send berserk tsunami
  42. pause
  43. if %abilitystarted 1 then put #tvar zerkTsunami 1
  44. action (barbbuff) off
  45. }
  46. if ($innerFire > 3) && (%zerkEarthquake) && (!$zerkEarthquake) then
  47. {
  48. action (barbbuff) on
  49. var abilitystarted 0
  50. send berserk earthquake
  51. pause
  52. if %abilitystarted 1 then put #tvar zerkEarthquake 1
  53. action (barbbuff) off
  54. }
  55. if ($innerFire > 3) && (%zerkFlashflood) && (!$zerkFlashflood) then
  56. {
  57. action (barbbuff) on
  58. var abilitystarted 0
  59. send berserk flash flood
  60. pause
  61. if %abilitystarted 1 then put #tvar zerkFlashflood 1
  62. action (barbbuff) off
  63. }
  64. if ($stamina > 98) && ($zerkAvalanche) then put berserk stop avalanche
  65. # MELEE
  66. if (%barbMonkey) && (!$barbMonkey) && ($innerFire > 2) then
  67. {
  68. action (barbbuff) on
  69. var abilitystarted 0
  70. gosub PUT form monkey
  71. pause 0.5
  72. if %abilitystarted 1 then put #tvar barbMonkey 1
  73. action (barbbuff) off
  74. }
  75. if (%barbBuffalo) && (!$barbBuffalo) && ($innerFire > 2) then
  76. {
  77. action (barbbuff) on
  78. var abilitystarted 0
  79. send form buffalo
  80. pause 0.5
  81. if %abilitystarted 1 then put #tvar barbBuffalo 1
  82. action (barbbuff) off
  83. }
  84. if ($barbPanther) && (%melee = 1) || ($barbPanther) && ($innerFire < 2) then gosub PUT form stop panther
  85. if ($barbEagle) && (%melee = 1) || ($barbEagle) && ($innerFire < 2) then gosub PUT form stop eagle
  86. if ($barbBadger) && (%melee = 1) || ($barbBadger) && ($innerFire < 2) then gosub PUT form stop badger
  87. if (%barbDragon) && (!$barbDragon) && (%melee = 1) && ($innerFire > 2) then
  88. {
  89. action (barbbuff) on
  90. var abilitystarted 0
  91. gosub PUT form dragon
  92. pause 0.5
  93. if %abilitystarted 1 then put #tvar barbDragon 1
  94. action (barbbuff) off
  95. }
  96. if (%barbPiranha) && (!$barbPiranha) && ($circle > 50) && ($innerFire > 2) then
  97. {
  98. action (barbbuff) on
  99. var abilitystarted 0
  100. gosub PUT form piranha
  101. pause 0.5
  102. if %abilitystarted 1 then put #tvar barbPiranha 1
  103. action (barbbuff) off
  104. }
  105. if (%barbTurtle) && (!$barbTurtle) && (%melee = 1) && ($circle > 50) && ($innerFire > 2) then
  106. {
  107. action (barbbuff) on
  108. var abilitystarted 0
  109. gosub PUT form turtle
  110. pause 0.5
  111. if %abilitystarted 1 then put #tvar barbTurtle 1
  112. action (barbbuff) off
  113. }
  114. ## RANGED
  115. if ($barbMonkey) && (%ranged = 1) || ($barbMonkey) && ($innerFire < 2) then gosub PUT form stop monkey
  116. if ($barbDragon) && (%ranged = 1) || ($barbDragon) && ($innerFire < 2) then gosub PUT form stop dragon
  117. if ($barbTurtle) && (%ranged = 1) || ($barbTurtle) && ($innerFire < 2) then gosub PUT form stop turtle
  118. if (%barbEagle) && (!$barbEagle) && (%ranged = 1) && ($innerFire > 2) then
  119. {
  120. action (barbbuff) on
  121. var abilitystarted 0
  122. gosub PUT form eagle
  123. pause 0.5
  124. if %abilitystarted 1 then put #tvar barbEagle 1
  125. action (barbbuff) off
  126. }
  127. if (%barbPanther) && (!$barbPanther) && ($innerFire > 2) then
  128. {
  129. action (barbbuff) on
  130. var abilitystarted 0
  131. gosub PUT form panther
  132. pause 0.5
  133. if %abilitystarted 1 then put #tvar barbPanther 1
  134. action (barbbuff) off
  135. }
  136. if (%barbBadger) && (!$barbBadger) && ($circle > 50) && ($innerFire > 2) then
  137. {
  138. action (barbbuff) on
  139. var abilitystarted 0
  140. gosub PUT form badger
  141. pause 0.5
  142. if %abilitystarted 1 then put #tvar barbBadger 1
  143. action (barbbuff) off
  144. }
  145. if (%barbSwan) && (!$barbSwan) && ($innerFire > 1) && ($innerFire > 2) then
  146. {
  147. action (barbbuff) on
  148. var abilitystarted 0
  149. gosub PUT form swan
  150. pause 0.5
  151. if %abilitystarted 1 then put #tvar barbSwan 1
  152. action (barbbuff) off
  153. }
  154. if ($Warding.LearningRate > 33) && ($barbSwan) then send form stop swan
  155. # MISC
  156. if (%barbBear) && (!$barbBear) && ($innerFire > 2) then
  157. {
  158. action (barbbuff) on
  159. var abilitystarted 0
  160. gosub PUT form bear
  161. pause 0.5
  162. if %abilitystarted 1 then put #tvar barbBear 1
  163. action (barbbuff) off
  164. }
  165. pause 0.3
  166. put #var BarbBuffs $gametime
  167. if ($Warding.LearningRate < 32) then send meditate research turtle
  168. pause 0.3
  169. pause 0.3
  170. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement