Wrath updates for Paladin GCD, Rogue SnD

This commit is contained in:
Parnic
2022-08-30 22:25:16 -05:00
parent b33a82622f
commit b65909c570
4 changed files with 8 additions and 3 deletions

View File

@ -48,6 +48,7 @@ IceHUD.ShouldUpdateTargetHealthEveryTick = (IceHUD.WowClassic or IceHUD.WowClass
IceHUD.UsesUIPanelButtonTemplate = IceHUD.WowVer >= 50000 or IceHUD.WowClassic or IceHUD.WowClassicBC or IceHUD.WowClassicWrath IceHUD.UsesUIPanelButtonTemplate = IceHUD.WowVer >= 50000 or IceHUD.WowClassic or IceHUD.WowClassicBC or IceHUD.WowClassicWrath
IceHUD.EventExistsSpellcastInterruptible = IceHUD.WowVer >= 30200 and not IceHUD.WowClassicWrath IceHUD.EventExistsSpellcastInterruptible = IceHUD.WowVer >= 30200 and not IceHUD.WowClassicWrath
IceHUD.DeathKnightUnholyFrostRunesSwapped = IceHUD.WowVer < 70300 and not IceHUD.WowClassicWrath IceHUD.DeathKnightUnholyFrostRunesSwapped = IceHUD.WowVer < 70300 and not IceHUD.WowClassicWrath
IceHUD.UseFallbackPaladinGCDSpell = IceHUD.WowClassic or IceHUD.WowClassicBC or IceHUD.WowClassicWrath
IceHUD.UnitPowerEvent = "UNIT_POWER_UPDATE" IceHUD.UnitPowerEvent = "UNIT_POWER_UPDATE"

View File

@ -286,7 +286,7 @@ function GlobalCoolDown.prototype:GetSpellId()
MONK=100780, -- jab MONK=100780, -- jab
} }
if IceHUD.WowClassicBC or IceHUD.WowClassic then if IceHUD.UseFallbackPaladinGCDSpell then
defaultSpells["PALADIN"] = 635 defaultSpells["PALADIN"] = 635
end end

View File

@ -203,7 +203,7 @@ function PlayerMana.prototype:CheckVehicle()
end end
function PlayerMana.prototype:ShouldUseTicker() function PlayerMana.prototype:ShouldUseTicker()
return IceHUD.WowVer < 30000 or (IceHUD.WowVer < 70100 and not GetCVarBool("predictedPower")) return IceHUD.WowVer < 30000 or (IceHUD.WowVer < 70100 and not GetCVarBool("predictedPower") and not IceHUD.WowClassicWrath)
end end
function PlayerMana.prototype:SetupOnUpdate(enable) function PlayerMana.prototype:SetupOnUpdate(enable)

View File

@ -42,6 +42,10 @@ elseif IceHUD.WowClassicBC then
impSndBonusPerRank = 0.15 impSndBonusPerRank = 0.15
impSndTalentPage = 2 impSndTalentPage = 2
impSndTalentIdx = 4 impSndTalentIdx = 4
elseif IceHUD.WowClassicWrath then
impSndBonusPerRank = 0.25
impSndTalentPage = 2
impSndTalentIdx = 23
end end
local SPELL_POWER_COMBO_POINTS = SPELL_POWER_COMBO_POINTS local SPELL_POWER_COMBO_POINTS = SPELL_POWER_COMBO_POINTS
@ -290,7 +294,7 @@ local function HasSpell(id)
end end
local function ShouldHide() local function ShouldHide()
if IceHUD.WowVer >= 90000 or IceHUD.WowClassicBC then if IceHUD.WowVer >= 90000 or IceHUD.WowClassicBC or IceHUD.WowClassicWrath then
return false return false
end end