Advertisement
gSe7eN

Untitled

May 5th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.67 KB | None | 0 0
  1. #bind build_swap /setclass
  2. sub Bind_build_swap()
  3. /call bind_sql_edit setLvlMax 105 NA TRUE
  4. /call bind_setassist g on TRUE
  5. /if (${Me.Class.ShortName.Equal[DRU]}) {
  6. /call Bind_setDRU AAWolfSpirit black TRUE
  7. /call Bind_buff self on TRUE
  8. /call Bind_buff bc on TRUE
  9. /call Bind_buff tell on TRUE
  10. /call Bind_sql_edit swCombatHeal TRUE NA TRUE
  11. /call Bind_sql_edit swCombatDoT TRUE NA TRUE
  12. /call Bind_sql_edit swCombatNuke TRUE NA TRUE
  13. /call Bind_rez give on TRUE
  14. /call Bind_burn raid on TRUE
  15. /call Bind_burn auto on TRUE
  16. /call Bind_burn count 3 TRUE
  17. /call bind_sql_edit setLvlMax 105 NA TRUE
  18. /call bind_heal self on TRUE
  19. /call bind_heal group on TRUE
  20. /call bind_heal pet on TRUE
  21. /call Bind_debuff snare on TRUE
  22. }
  23. /if (${_build.Equal[clr]}) {
  24.  
  25. /call Bind_setCLR grouphot on TRUE
  26. /call Bind_setCLR arbitrate on TRUE
  27. /call Bind_setCLR aggressive on TRUE
  28. /call Bind_setCLR divinerez on TRUE
  29.  
  30. /call Bind_setCombatControl heal on TRUE
  31.  
  32. /call Bind_buff self on TRUE
  33. /call Bind_buff bc on TRUE
  34. /call Bind_buff tell on TRUE
  35.  
  36. /call Bind_rez take on TRUE
  37. /call Bind_rez give on TRUE
  38. /call Bind_rez everyone on TRUE
  39. /call Bind_rez combat on TRUE
  40.  
  41. /call Bind_burn raid on TRUE
  42. /call Bind_burn auto on TRUE
  43. /call Bind_burn count 3 TRUE
  44.  
  45. /call bind_heal self on TRUE
  46. /call bind_heal group on TRUE
  47. /call bind_heal pet on TRUE
  48.  
  49. }
  50. /if (${_class.Equal[enc]}) {
  51. /call Bind_buff self on TRUE
  52. /call Bind_buff bc on TRUE
  53. /call Bind_buff tell on TRUE
  54. /call Bind_buff pet on TRUE
  55. /call Bind_debuff mezz on TRUE
  56. /call Bind_debuff tash on TRUE
  57. /call Bind_debuff slow on TRUE
  58. /call Bind_setCombatControl dot on TRUE
  59. /call Bind_setCombatControl nuke on TRUE
  60. /call Bind_burn raid on TRUE
  61. /call Bind_burn auto on TRUE
  62. /call Bind_burn count 3 TRUE
  63. }
  64. /if (${_class.Equal[wiz]}) {
  65. /call bind_sql_edit coreAuto TRUE TRUE
  66. /call bind_buff self on TRUE
  67. /call Bind_setCombatControl nuke on TRUE
  68. /call bind_setWIZ forcetwincast on TRUE
  69. /call bind_setWIZ line fire TRUE
  70. /call Bind_setCombatControl aliance on TRUE
  71. }
  72. /return
  73.  
  74. #bind build_clrheal /clrheal
  75. sub Bind_build_clrheal
  76.  
  77. /declare a int local
  78. /declare b int local
  79. /for a 1 to 3
  80. /call bind_heal "healIntervention${a}" "${Me.Gem[${Math.Calc[13-${a}]}]}"
  81. /next a
  82.  
  83. /for a 1 to 3
  84. /call bind_heal "healRemedy${a}" "${Me.Gem[${Math.Calc[10-${a}]}]}"
  85. /next a
  86.  
  87. /for a 1 to 2
  88. /call bind_heal "healRenewal${a}" "${Me.Gem[${Math.Calc[7-${a}]}]}"
  89. /next a
  90.  
  91. /call Bind_setCLR "healWholeGroup" "${Me.Gem[1]}"
  92. /call bind_setCLR "healWholeGroupHoT" "${Me.Gem[2]}"
  93. /call bind_setCLR "healIssuance" "${Me.Gem[3]}"
  94. /return
  95.  
  96. #bind build_SetBuffs /makebuffs
  97. Sub bind_build_SetBuffs(string _class)
  98. /declare a int local
  99.  
  100. /if (${_class.Equal[CLR]}) {
  101. |**
  102. 1: Aego
  103. 2: Shield
  104. 3: Ward
  105. 4: Symbol
  106. 5: Vie
  107. 6: Shining
  108. 7: Anticipated
  109. **|
  110.  
  111. /for a 1 to 7
  112. /call bind_sql_edit "Buff${a}" "${Me.Gem[${a}]}" NA TRUE
  113. /if (${a}!=4) /call bind_sql_edit Buff${a}self TRUE NA TRUE
  114. /next a
  115. |Buff1 aego
  116. /call bind_sql_edit BCBuff1Class "|PAL|CLR" NA TRUE
  117. /call bind_sql_edit RaidBuff1Class "|PAL|CLR" NA TRUE
  118. /call bind_sql_edit Buff1Alias "|virtue|aego|assurance|surety" NA TRUE
  119. /call bind_sql_edit ManualBuff1Class "|PAL|CLR"
  120. |Buff2 shielding
  121. /call bind_sql_edit BCBuff2Class FALSE NA TRUE
  122. /call bind_sql_edit RaidBuff2Class FALSE NA TRUE
  123. /call bind_sql_edit Buff2Alias FALSE NA TRUE
  124. /call bind_sql_edit ManualBuff2Class FALSE NA TRUE
  125. |Buff3 ward
  126. /call bind_sql_edit BCBuff3Class FALSE NA TRUE
  127. /call bind_sql_edit RaidBuff3Class FALSE NA TRUE
  128. /call bind_sql_edit Buff3Alias FALSE NA TRUE
  129. /call bind_sql_edit ManualBuff3Class FALSE NA TRUE
  130. |Buff4 symbol
  131. /call bind_sql_edit BCBuff4Class "|WAR|SHD|DRU|SHM|ENC|MAG|WIZ|NEC|BST|RNG|BER|ROG|BRD|MNK" NA TRUE
  132. /call bind_sql_edit ManualBuff4Class "|WAR|SHD|DRU|SHM|ENC|MAG|WIZ|NEC|BST|RNG|BER|ROG|BRD|MNK" NA TRUE
  133. /call bind_sql_edit RaidBuff4Class "|WAR|SHD|DRU|SHM|ENC|MAG|WIZ|NEC|BST|RNG|BER|ROG|BRD|MNK" NA TRUE
  134. /call bind_sql_edit Buff4Alias "|symbol" NA TRUE
  135. |Buff5 Vie
  136. /call bind_sql_edit Buff5Alias "|vie" NA TRUE
  137. |buff6 Shining
  138. /call bind_sql_edit BCBuff6Class "|WAR|SHD|PAL|CLR|ENC|" NA TRUE
  139. /call bind_sql_edit ManualBuff6Class "|WAR|SHD|PAL|CLR|ENC|" NA TRUE
  140. /call bind_sql_edit RaidBuff6Class "|WAR|SHD|PAL|CLR|ENC|" NA TRUE
  141. /call bind_sql_edit Buff6Alias "|symbol" NA TRUE
  142. |buff7 Anticipated
  143. /call bind_sql_edit BCBuff7Class "|WAR|SHD|PAL|CLR|ENC|" NA TRUE
  144. /call bind_sql_edit ManualBuff7Class "|WAR|SHD|PAL|CLR|ENC|" NA TRUE
  145. /call bind_sql_edit RaidBuff7Class "|WAR|SHD|PAL|CLR|ENC|" NA TRUE
  146. } else /if (${_class.Equal[DRU]}) {
  147. |**
  148. 1:Mask
  149. 2:Skin
  150. 3:Regen
  151. 4:str
  152. 5:ds
  153. **|
  154. /for a 1 to 5
  155. /call bind_sql_edit "Buff${a}" "${Me.Gem[${a}]}" NA TRUE
  156. /call bind_sql_edit Buff${a}self TRUE NA TRUE
  157. /next a
  158. |Buff
  159. /call bind_sql_edit BCBuff1Class FALSE NA TRUE
  160. /call bind_sql_edit RaidBuff1Class FALSE NA TRUE
  161. /call bind_sql_edit Buff1Alias FALSE NA TRUE
  162. /call bind_sql_edit ManualBuff1Class FALSE NA TRUE
  163. |Buff2 skin
  164. /call bind_sql_edit BCBuff2Class "|WAR|SHD|DRU|SHM|ENC|MAG|WIZ|NEC|BST|RNG|BER|ROG|BRD|MNK" NA TRUE
  165. /call bind_sql_edit ManualBuff2Class "|WAR|SHD|DRU|SHM|ENC|MAG|WIZ|NEC|BST|RNG|BER|ROG|BRD|MNK" NA TRUE
  166. /call bind_sql_edit RaidBuff2Class "|WAR|SHD|DRU|SHM|ENC|MAG|WIZ|NEC|BST|RNG|BER|ROG|BRD|MNK" NA TRUE
  167. /call bind_sql_edit Buff2Alias "|skin" NA TRUE
  168. |Buff3 regen
  169. /call bind_sql_edit Buff3Alias "|regen" NA TRUE
  170. |Buff4 str
  171. /call bind_sql_edit Buff4Alias "|str|Mammoth|mammoths" NA TRUE
  172. |Buff5 DS
  173. /call bind_sql_edit BCBuff1Class "|WAR|PAL|SHD"
  174. /call bind_sql_edit Aura1Spell "${Me.Gem[6]}" NA TRUE
  175. /call bind_sql_edit Aura1Buff "${Me.Gem[6]}"
  176. /call bind_sql_edit AANow1 Preincarnation NA TRUE
  177. /call bind_sql_edit AANow2 "Communion of the Cheetah" NA TRUE
  178. /call bind_sql_edit spellGrowth "${Me.Gem[5]}" NA TRUE
  179. /call bind_sql_edit spellGrowthToon ${Group.MainAssist} NA TRUE
  180. } else /if (${_class.Equal[enc]}) {
  181. |**
  182. 1:shield
  183. 2:regen
  184. 3:haste
  185. 4:aura1
  186. 5:aura2
  187. 6:ward
  188. 7:poly
  189. 8:uni
  190. 9:pet
  191. **|
  192. /for a 1 to 3
  193. /call bind_sql_edit Buff${a} "${Me.Gem[${a}]}" NA TRUE
  194. /call bind_sql_edit Buff${a}self TRUE NA TRUE
  195. /next a
  196. /call bind_sql_edit BCBuff1Class FALSE NA TRUE
  197. /call bind_sql_edit RaidBuff1Class FALSE NA TRUE
  198. /call bind_sql_edit ManualBuff1Class FALSE NA TRUE
  199. /call bind_sql_edit Aura1Spell "${Me.Gem[4]}" NA TRUE
  200. /call bind_sql_edit Aura1Buff "${Me.Gem[4]}" NA TRUE
  201. /call bind_sql_edit Aura2Spell "${Me.Gem[5]}" NA TRUE
  202. /call Bind_sql_edit Aura2Buff "${Me.Gem[5]}" NA TRUE
  203. /call bind_sql_edit runeWard "${Me.Gem[6]}" NA TRUE
  204. /call bind_sql_edit runePoly "${Me.Gem[7]}" NA TRUE
  205. /call bind_sql_edit runUnity "${Me.Gem[8]}" NA TRUE
  206. /call bind_sql_edit setPetType "${Me.Gem[9]}" NA TRUE
  207.  
  208. }
  209. /if (${_class.Equal[enc]}) {
  210. |****|
  211. }
  212. /if (${_class.Equal[wiz]}) {
  213. |**
  214. 1:shield
  215. 2:crystalwing
  216. 3:mirror?
  217. 4:meleeguard
  218. 10:harvest
  219. 11:Jolt
  220. **|
  221. /call bind_sql_edit GatherSpell "${Me.Gem[10]}" NA TRUE
  222. /call bind_sql_edit spellConcussion "${Me.Gem[11]}" NA TRUE
  223. /for a 1 to 2
  224. /call bind_sql_edit Buff${a} "${Me.Gem[1]}" NA TRUE
  225. /call bind_sql_edit BCBuff${a}Class FALSE NA TRUE
  226. /call bind_sql_edit Manual${a}Class FALSE NA TRUE
  227. /call bind_sql_edit Buff${a}self TRUE NA TRUE
  228. /next a
  229. /call bind_sql_edit Buff2 "${Me.Gem[4]}" NA TRUE
  230. }
  231. /return
  232.  
  233. #Bind MakeDPS /makedps
  234. Sub Bind_MakeDPS
  235. /declare a int local
  236. /if (${Me.Class.ShortName.Equal[DRU]}) {
  237. /for a 1 to 4
  238. /call bind_sql_edit DoT${a} "${Me.Gem[${Math.Calc[13-${a}]}]}" NA TRUE
  239. /next a
  240. /for a 1 to 3
  241. /call bind_sql_edit Nuke${a} "${Me.Gem[${Math.Calc[9-${a}]}]}" NA TRUE
  242. /next a
  243. }
  244. /if (${Me.Class.ShortName.Equal[ENC]}) {
  245. /call bind_sql_edit spellpbaeMez "${Me.Gem[11]}" NA TRUE
  246. /call bind_sql_edit spellMez "${Me.Gem[12]}"
  247. /call bind_sql_edit AASlow "Slowing Helix" NA TRUE
  248. /call spellStun "${Me.Gem[10]}" NA TRUE
  249. /for a 1 to 3
  250. /call bind_sql_edit DoT${a} "${Me.Gem[${Math.Calc[10-${a}]}]}" NA TRUE
  251. /next a
  252. /for a 1 to 5
  253. /call bind_sql_edit Nuke${a} "${Me.Gem[${Math.Calc[7-${a}]}]}" NA TRUE
  254. /next a
  255. }
  256. /if (${Me.Class.ShortName.Equal[WIZ]}){
  257. /call bind_sql_edit lineFire "|${Me.Gem[9]}|${Me.Gem[8]}|${Me.Gem[7]}|${Me.Gem[6]}|${Me.Gem[5]}|${Me.Gem[4]}" NA TRUE
  258. /call bind_sql_edit WIZAlliance "${Me.Gem[2]}" NA TRUE
  259. }
  260. /return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement