WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /Chamois
    from Rev 499 to Rev 600
    Reverse comparison

Rev 499 → Rev 600

Chamois.lua
87,7 → 87,7
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)
129,7 → 129,7
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)
137,7 → 137,7
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)
Chamois.toc
1,6 → 1,6
## Interface: 30100
## Interface: 40000
## Title: Chamois
## Version: 2.7.1
## Version: 3.0
## Notes: Shaman Weaponbuff and shield reminder
## Author: Mikma
Chamois.lua
\ No newline at end of file