Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Do not remove this comment, it is part of this trigger: Class Buffs
- aura_env.button = CreateFrame("Button", "buffButton", aura_env.region, "SecureActionButtonTemplate")
- aura_env.button:SetAllPoints()
- aura_env.button:SetAttribute("unit", "player")
- aura_env.button:SetAttribute("type","spell")
- local _, class, _ = UnitClass("player")
- aura_env.class = class;
- if class == "MAGE" then
- aura_env.auraID = 1459
- aura_env.button:SetAttribute("spell", 1459)
- elseif class == "PRIEST" then
- aura_env.auraID = 21562
- aura_env.button:SetAttribute("spell", 21562)
- else
- aura_env.auraID = 6673
- aura_env.button:SetAttribute("spell", 6673)
- end
- -- Do not remove this comment, it is part of this trigger: Arcane Intellect Missing Members
- local _, class, _ = UnitClass("player")
- aura_env.class = class;
- if class == "MAGE" then
- aura_env.auraID = 1459
- aura_env.button:SetAttribute("spell", 1459)
- elseif class == "PRIEST" then
- aura_env.auraID = 21562
- aura_env.button:SetAttribute("spell", 21562)
- else
- aura_env.auraID = 6673
- aura_env.button:SetAttribute("spell", 6673)
- end
- -- Do not remove this comment, it is part of this trigger: Battle Shout Missing Members
- local _, class, _ = UnitClass("player")
- aura_env.class = class;
- if class == "MAGE" then
- aura_env.auraID = 1459
- aura_env.button:SetAttribute("spell", 1459)
- elseif class == "PRIEST" then
- aura_env.auraID = 21562
- aura_env.button:SetAttribute("spell", 21562)
- else
- aura_env.auraID = 6673
- aura_env.button:SetAttribute("spell", 6673)
- end
- -- Do not remove this comment, it is part of this trigger: Power Word: Fortitude Missing Members
- local _, class, _ = UnitClass("player")
- aura_env.class = class;
- if class == "MAGE" then
- aura_env.auraID = 1459
- aura_env.button:SetAttribute("spell", 1459)
- elseif class == "PRIEST" then
- aura_env.auraID = 21562
- aura_env.button:SetAttribute("spell", 21562)
- else
- aura_env.auraID = 6673
- aura_env.button:SetAttribute("spell", 6673)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement