vatam

Untitled

Jun 10th, 2014
402
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. if not trigger.Loaded then
  2.   local name = trigger.Icon:GetName()
  3.   name = name:sub(16)
  4.   if name:sub(0,1) == " " then name = name:sub(2) end -- handle at lest one whitespace
  5.   trigger.tMyData = {}
  6.   trigger.Loaded = true
  7.   trigger.OnUnitCreated = (function(self, unit)
  8.     -- if you change the name of the aura to track another mob you need to reloadui
  9.     if unit:GetName() == name then
  10.       trigger.tMyData.unit = unit
  11.     end
  12.    end)
  13.   Apollo.RegisterEventHandler("UnitCreated", "OnUnitCreated", trigger)
  14. end
  15.  
  16. local unit = trigger.tMyData.unit
  17. if unit then
  18.   local nIA = unit:GetInterruptArmorMax()
  19.   if nIA then
  20.     trigger.Stacks = nIA
  21.     return nIA > 0
  22.   end
  23. end
Advertisement
Comments
  • Cuiznxcn
    167 days
    # text 0.19 KB | 0 0
    1. Best t33n active cpx link daily updates!
    2.  
    3. Copy and paste the link in a new browser tab and then hit enter!
    4.  
    5. https://crazyporn.xxx/members/157354/?asgtbndr=1&play=true&spon=adworld&zone=400
    6.  
Add Comment
Please, Sign In to add comment