Advertisement
Guest User

Untitled

a guest
Dec 9th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. function STshred()
  2. local nextShred = smash1 and {shred1, shred2,} or getMonkPriority("shred", 1)
  3. local pattern = rex.new("^(left|right)?(arm|leg|torso|head)(mangled|damaged|broken)$")
  4. if combat.afflictions.rebounding and combat.checks.tstorm >= tonumber(3) then
  5. table.insert(curing.qeb, "sand slice " .. mayhem.target .. " storm")
  6. end
  7.  
  8. local side1,limb1, aff1 = pattern:match(nextShred[1])
  9.  
  10. if limb1 == "torso" or limb1 == "head" then
  11. hitlimb1 = limb1
  12. else
  13. hitlimb1 = side1 .. " " .. limb1
  14. end
  15. table.insert(curing.qeb, "sand shred " .. mayhem.target .. " "..hitlimb1.." storm")
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement