Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. if @findobject 0x4003dc30
  2. while color 0x4003dc30 == 1175
  3. //playsound 'notify.wav'
  4. //pause 2000
  5. // playmacro 'v'
  6. if dead 'self'
  7. playmacro 'playsound'
  8. endif
  9. endwhile
  10. endif
  11. if not buffexists 'Gift Of Renewal' and timer 'gift' > 240000
  12. autotargetself
  13. while not buffexists 'Gift Of Renewal'
  14. cast 'Gift Of Renewal'
  15. waitfortarget 10000
  16. target 'self'
  17. endwhile
  18. endif
  19. if buffexists 'Gift of Renewal' and timer 'gift' > 120000
  20. settimer 'gift' 0
  21. endif
  22. if not timerexists 'gift'
  23. @createtimer 'gift'
  24. endif
  25. if not timerexists 'stoptimer'
  26. @createtimer 'stoptimer'
  27. endif
  28. if not timerexists 'walktimer'
  29. @createtimer 'walktimer'
  30. endif
  31. if mana > 100
  32. @unsetalias 'lastmana100'
  33. @unsetalias 'lastmana75'
  34. @unsetalias 'lastmana50'
  35. @unsetalias 'lastmana0'
  36. elseif mana > 75
  37. @unsetalias 'lastmana75'
  38. @unsetalias 'lastmana50'
  39. @unsetalias 'lastmana0'
  40. elseif mana > 50
  41. if findalias 'lastmana75' or findalias 'lastmana100'
  42. @unsetalias 'lastmana100'
  43. @unsetalias 'lastmana75'
  44. settimer 'stoptimer' 0
  45. endif
  46. @unsetalias 'lastmana50'
  47. @unsetalias 'lastmana0'
  48. else
  49. if findalias 'lastmana75' or findalias 'lastmana100'
  50. @unsetalias 'lastmana100'
  51. @unsetalias 'lastmana75'
  52. settimer 'stoptimer' 0
  53. endif
  54. if findalias 'lastmana50'
  55. @unsetalias 'lastmana50'
  56. settimer 'stoptimer' 0
  57. endif
  58. @unsetalias 'lastmana0'
  59. endif
  60. if dead 'self'
  61. playmacro 'playsound'
  62. endif
  63. if hits > 100
  64. if timer 'stoptimer' > 2000
  65. if mana > 100
  66. @setalias 'lastmana100' 'self'
  67. if not buffexists 'Arcane Empowerment' and mana > 45
  68. if hits > 80
  69. // cast 'Arcane Empowerment'
  70. endif
  71. endif
  72. if hits > 100 and poisoned 'self'
  73. cast 'Arch Cure' 'self'
  74. endif
  75. elseif mana > 75
  76. @setalias 'lastmana75' 'self'
  77. elseif mana > 50
  78. @setalias 'lastmana50' 'self'
  79. else
  80. @setalias 'lastmana0' 'self'
  81. endif
  82. if mana > 30
  83. if @findtype 0xa2 'any' 'world' 'any' 3
  84. cast 'Wither'
  85. elseif @findtype 0x95 'any' 'world' 'any' 3
  86. cast 'Wither'
  87. else
  88. cast 'Thunderstorm'
  89. endif
  90. endif
  91. else
  92. sysmsg 'Stop timer'
  93. if timer 'walktimer' > 15000 and hits > 100
  94. settimer 'walktimer' 0
  95. if not @findalias 'stopwalk'
  96. // playmacro 'tstormwalk'
  97. endif
  98. endif
  99. endif
  100. else
  101. if poisoned 'self' and hits > 80
  102. cast 'Thunderstorm'
  103. elseif poisoned 'self' and hits < 80
  104. usetype 0xf07
  105. //cast 'Arch Cure' 'self'
  106. else
  107. cast "Heal" 'self'
  108. endif
  109. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement