SHARE
TWEET

Untitled

a guest Dec 3rd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if not buffexists 'Enemy of One'
  2.   cast 'Enemy of one'
  3. endif
  4. if hits < 70
  5.   if not timerexists 'counter2'
  6.     createtimer 'counter2'
  7.     cast 'Confidence'
  8.     pause 500
  9.   endif
  10.   if timer 'counter2' > 8000
  11.     removetimer 'counter2'
  12.     pause 500
  13.   endif
  14. endif
  15. if not buffexists 'Consecrate Weapon'
  16.   cast 'Consecrate Weapon'
  17.   pause 200
  18. endif
  19. getenemy 'gray' 'criminal' 'enemy' 'closest'
  20. pause 100
  21. //endif
  22. //getenemy 'innocent' 'closest'
  23. if @findobject 'enemy'
  24.   if distance 'enemy' < 2
  25.     if mana > 15
  26.       //setability 'primary' 'on'
  27.       // setability 'secondary' 'on'
  28.     endif
  29.     attack! 'enemy'
  30.     if mana > 5 and mana < 60
  31.       if not timerexists 'consecrus'
  32.         createtimer 'consecrus'
  33.         cast 'Consecrate Weapon'
  34.         pause 500
  35.       endif
  36.       if timer 'consecrus' > 8000
  37.         removetimer 'consecrus'
  38.       endif
  39.     endif
  40.     if @inrange 'enemy' 1
  41.       if @x 'enemy' > x 'self' and @y 'enemy' > y 'self'
  42.         walk 'Southeast'
  43.       elseif @x 'enemy' < x 'self' and @y 'enemy' > y 'self'
  44.         walk 'Southwest'
  45.       elseif @x 'enemy' > x 'self' and @y 'enemy' < y 'self'
  46.         walk 'Northeast'
  47.       elseif @x 'enemy' < x 'self' and @y 'enemy' < y 'self'
  48.         walk 'Northwest'
  49.       elseif @x 'enemy' > x 'self' and @y 'enemy' == y 'self'
  50.         walk 'East'
  51.       elseif @x 'enemy' < x 'self' and @y 'enemy' == y 'self'
  52.         walk 'West'
  53.       elseif @x 'enemy' == x 'self' and @y 'enemy' > y 'self'
  54.         walk 'South'
  55.       elseif @x 'enemy' == x 'self' and @y 'enemy' < y 'self'
  56.         walk 'North'
  57.       endif
  58.     endif
  59.   endif
  60. endif
  61. if @findtype 0x2006 'any' 'ground' 'any' 3
  62.   setalias 'corpse' 'found'
  63.   usetype 0x2d2f  'any' 'backpack'
  64.   waitfortarget 1200
  65.   target 'corpse'
  66.   ignoreobject 'corpse'
  67.   useobject 'corpse'
  68. endif
  69. pause 200
  70. if weight 'self' > 550
  71.   usetype 0xe76
  72.   waitfortarget 1000
  73.   targettype 0x1081
  74.   if injournal 'This item is out of charges.' 'system'
  75.     usetype 0x26b8
  76.     waitfortarget 2500
  77.     targettype 0xe76
  78.     clearjournal
  79.   endif
  80. endif
  81. canceltarget
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top