Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1.     elseif clevent == "SPELL_HEAL" then
  2.         if spellName == "Regrowth" or spellName == "Nourish" or spellName == "Healing Touch" then
  3.             stack = select(4, UnitBuff(fullDstName, "Lifebloom", nil, "PLAYER"))
  4.             if stack~=nil then
  5.                 token = nameLookup["Lifebloom"]
  6.                 self:FireSpell(track[token], dstName, dstGUID, stack)
  7.             end
  8.         end
  9.     elseif clevent == "SPELL_CAST_SUCCESS" then
  10.         if spellName == "Lifebloom" then
  11.             stack = select(4, UnitBuff(fullDstName, "Lifebloom", nil, "PLAYER"))
  12.             if stack~=nil then
  13.                 self:FireSpell(track[token], dstName, dstGUID, stack)
  14.             end
  15.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement