/Chamois
end |
local function checkshield() |
if (GetSpellInfo(lightningshield) or GetSpellInfo(watershield) or (select(5,GetTalentInfo(3,23)) > 0)) and (IsUsableSpell(watershield) or IsUsableSpell(lightningshield) or IsUsableSpell(earthshield)) and (UnitAura("player",watershield) or UnitAura("player",lightningshield) or UnitAura("player",earthshield)) then |
if (GetSpellInfo(lightningshield) or GetSpellInfo(watershield) or GetSpellInfo(earthshield)) and (IsUsableSpell(watershield) or IsUsableSpell(lightningshield) or IsUsableSpell(earthshield)) and (UnitAura("player",watershield) or UnitAura("player",lightningshield) or UnitAura("player",earthshield)) then |
Chamois.Shield:SetAlpha(0) |
else |
Chamois.Shield:SetAlpha(alpha) |
end |
local function checkshamanisticrage() |
if select(5,GetTalentInfo(2,25)) > 0 and IsUsableSpell(shamanisticrage) and checkcooldown(shamanisticrage) and math.floor(UnitMana("player")/UnitManaMax("player")*100) < 50 then |
if select(5,GetTalentInfo(2,15)) > 0 and IsUsableSpell(shamanisticrage) and checkcooldown(shamanisticrage) and math.floor(UnitMana("player")/UnitManaMax("player")*100) < 50 then |
Chamois.ShamanisticRage:SetAlpha(alpha) |
else |
Chamois.ShamanisticRage:SetAlpha(0) |
end |
local function checkmaelstromweapon() |
if select(5,GetTalentInfo(2,28)) > 0 and select(4,UnitAura("player",maelstromweapon)) == 5 then |
if select(5,GetTalentInfo(2,17)) > 0 and select(4,UnitAura("player",maelstromweapon)) == 5 then |
Chamois.MaelstromWeapon:SetAlpha(alpha) |
else |
Chamois.MaelstromWeapon:SetAlpha(0) |
## Interface: 30100 |
## Interface: 40000 |
## Title: Chamois |
## Version: 2.7.1 |
## Version: 3.0 |
## Notes: Shaman Weaponbuff and shield reminder |
## Author: Mikma |
Chamois.lua |