mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Disabled target and target-target castbars in classic
This commit is contained in:
@ -83,7 +83,10 @@ If you have |cff42ffffDogTags|r enabled, you can open the Text Settings for the
|
|||||||
This is a side effect of the animation API that I'm co-opting to force a rotation without having to provide duplicates of every bar texture in the mod. Any bar moving sufficiently quickly and updating rapidly will cause this. |cff9999ffIceHUD|r is intended to be a vertically-oriented mod, so the rotation feature is there for people who are willing to accept the side effects that come with it. My suggestion is to use one of the many horizontally-oriented bar mods out there if you're wanting horizontal bars. |cff42ffffQuartz|r is a good castbar replacement that you can use and disable |cff9999ffIceHUD|r's built-in castbar, for example.
|
This is a side effect of the animation API that I'm co-opting to force a rotation without having to provide duplicates of every bar texture in the mod. Any bar moving sufficiently quickly and updating rapidly will cause this. |cff9999ffIceHUD|r is intended to be a vertically-oriented mod, so the rotation feature is there for people who are willing to accept the side effects that come with it. My suggestion is to use one of the many horizontally-oriented bar mods out there if you're wanting horizontal bars. |cff42ffffQuartz|r is a good castbar replacement that you can use and disable |cff9999ffIceHUD|r's built-in castbar, for example.
|
||||||
|
|
||||||
|cff9999ff18. How do I get rid of the bars that showed up beneath the player in the 7.0 patch?|r
|
|cff9999ff18. How do I get rid of the bars that showed up beneath the player in the 7.0 patch?|r
|
||||||
Blizzard added a "Personal Resource Display" feature in the 7.0 game client. You can disable it in the Game options -> Interface -> Names -> Personal Resource Display.]]
|
Blizzard added a "Personal Resource Display" feature in the 7.0 game client. You can disable it in the Game options -> Interface -> Names -> Personal Resource Display.
|
||||||
|
|
||||||
|
|cff9999ff19. Why is there no target castbar for Classic?|r
|
||||||
|
The Classic game client doesn't offer a reliable way to show castbars for anyone except the player. IceHUD doesn't support the type of inaccurate guessing at combat log details that would be required to get a semi-useful target castbar.]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
v1.12.1:
|
v1.12.1:
|
||||||
- (Classic) Fixed energy ticker resetting when spending energy.
|
- (Classic) Fixed energy ticker resetting when spending energy.
|
||||||
- (Classic) Fixed stack counters throwing errors and generally not functioning.
|
- (Classic) Fixed stack counters throwing errors and generally not functioning.
|
||||||
|
- (Classic) Disabled target and target-of-target castbars. Added a note to the FAQ as to why.
|
||||||
|
|
||||||
v1.12.0:
|
v1.12.0:
|
||||||
- Initial WoW Classic compatibility
|
- Initial WoW Classic compatibility
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||||
local FocusCast = IceCore_CreateClass(IceCastBar)
|
local FocusCast = IceCore_CreateClass(IceCastBar)
|
||||||
|
|
||||||
local UnitCastingInfo, UnitChannelInfo = UnitCastingInfo, UnitChannelInfo
|
|
||||||
if IceHUD.WowClassic then
|
|
||||||
UnitCastingInfo = CastingInfo
|
|
||||||
UnitChannelInfo = ChannelInfo
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Constructor --
|
-- Constructor --
|
||||||
function FocusCast.prototype:init()
|
function FocusCast.prototype:init()
|
||||||
FocusCast.super.prototype.init(self, "FocusCast")
|
FocusCast.super.prototype.init(self, "FocusCast")
|
||||||
|
@ -3,12 +3,6 @@ local TargetCast = IceCore_CreateClass(IceCastBar)
|
|||||||
|
|
||||||
TargetCast.prototype.notInterruptible = false
|
TargetCast.prototype.notInterruptible = false
|
||||||
|
|
||||||
local UnitCastingInfo, UnitChannelInfo = UnitCastingInfo, UnitChannelInfo
|
|
||||||
if IceHUD.WowClassic then
|
|
||||||
UnitCastingInfo = CastingInfo
|
|
||||||
UnitChannelInfo = ChannelInfo
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Constructor --
|
-- Constructor --
|
||||||
function TargetCast.prototype:init()
|
function TargetCast.prototype:init()
|
||||||
TargetCast.super.prototype.init(self, "TargetCast")
|
TargetCast.super.prototype.init(self, "TargetCast")
|
||||||
@ -90,20 +84,24 @@ function TargetCast.prototype:TargetChanged(unit)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local spell = UnitCastingInfo(self.unit)
|
if UnitCastingInfo then
|
||||||
local notInterruptible = select((IceHUD.WowVer < 80000 and not IceHUD.WowClassic) and 9 or 8, UnitCastingInfo(self.unit))
|
local spell = UnitCastingInfo(self.unit)
|
||||||
if spell then
|
local notInterruptible = select((IceHUD.WowVer < 80000 and not IceHUD.WowClassic) and 9 or 8, UnitCastingInfo(self.unit))
|
||||||
self.notInterruptible = notInterruptibleCast
|
if spell then
|
||||||
self:StartBar(IceCastBar.Actions.Cast)
|
self.notInterruptible = notInterruptibleCast
|
||||||
return
|
self:StartBar(IceCastBar.Actions.Cast)
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local channel = UnitChannelInfo(self.unit)
|
if UnitChannelInfo then
|
||||||
notInterruptible = select((IceHUD.WowVer < 80000 and not IceHUD.WowClassic) and 8 or 7, UnitChannelInfo(self.unit))
|
local channel = UnitChannelInfo(self.unit)
|
||||||
if channel then
|
notInterruptible = select((IceHUD.WowVer < 80000 and not IceHUD.WowClassic) and 8 or 7, UnitChannelInfo(self.unit))
|
||||||
self.notInterruptible = notInterruptibleChannel
|
if channel then
|
||||||
self:StartBar(IceCastBar.Actions.Channel)
|
self.notInterruptible = notInterruptibleChannel
|
||||||
return
|
self:StartBar(IceCastBar.Actions.Channel)
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self:StopBar()
|
self:StopBar()
|
||||||
@ -177,15 +175,18 @@ function TargetCast.prototype:GetOptions()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function TargetCast.prototype:StartBar(action, message)
|
function TargetCast.prototype:StartBar(action, message)
|
||||||
local spell = UnitCastingInfo(self.unit)
|
local spell, notInterruptible
|
||||||
local notInterruptible = select(IceHUD.WowVer < 80000 and 9 or 8, UnitCastingInfo(self.unit))
|
if UnitCastingInfo then
|
||||||
if not spell then
|
spell = UnitCastingInfo(self.unit)
|
||||||
|
notInterruptible = select(IceHUD.WowVer < 80000 and 9 or 8, UnitCastingInfo(self.unit))
|
||||||
|
end
|
||||||
|
if UnitChannelInfo and not spell then
|
||||||
spell = UnitChannelInfo(self.unit)
|
spell = UnitChannelInfo(self.unit)
|
||||||
notInterruptible = select(IceHUD.WowVer < 80000 and 8 or 7, UnitChannelInfo(self.unit))
|
notInterruptible = select(IceHUD.WowVer < 80000 and 8 or 7, UnitChannelInfo(self.unit))
|
||||||
end
|
|
||||||
|
|
||||||
if not spell then
|
if not spell then
|
||||||
return
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self.notInterruptible = notInterruptible
|
self.notInterruptible = notInterruptible
|
||||||
@ -197,4 +198,6 @@ end
|
|||||||
|
|
||||||
|
|
||||||
-- Load us up
|
-- Load us up
|
||||||
IceHUD.TargetCast = TargetCast:new()
|
if not IceHUD.WowClassic then
|
||||||
|
IceHUD.TargetCast = TargetCast:new()
|
||||||
|
end
|
||||||
|
@ -4,12 +4,6 @@ TargetTargetCast.prototype.scheduledEvent = nil
|
|||||||
|
|
||||||
local SelfDisplayModeOptions = {"Hide", "Normal"}
|
local SelfDisplayModeOptions = {"Hide", "Normal"}
|
||||||
|
|
||||||
local UnitCastingInfo, UnitChannelInfo = UnitCastingInfo, UnitChannelInfo
|
|
||||||
if IceHUD.WowClassic then
|
|
||||||
UnitCastingInfo = CastingInfo
|
|
||||||
UnitChannelInfo = ChannelInfo
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Constructor --
|
-- Constructor --
|
||||||
function TargetTargetCast.prototype:init()
|
function TargetTargetCast.prototype:init()
|
||||||
TargetTargetCast.super.prototype.init(self, "TargetTargetCast")
|
TargetTargetCast.super.prototype.init(self, "TargetTargetCast")
|
||||||
@ -64,16 +58,20 @@ function TargetTargetCast.prototype:UpdateTargetTarget()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local spell = UnitCastingInfo(self.unit)
|
if UnitCastingInfo then
|
||||||
if (spell) then
|
local spell = UnitCastingInfo(self.unit)
|
||||||
self:StartBar(IceCastBar.Actions.Cast)
|
if spell then
|
||||||
return
|
self:StartBar(IceCastBar.Actions.Cast)
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local channel = UnitChannelInfo(self.unit)
|
if UnitChannelInfo then
|
||||||
if (channel) then
|
local channel = UnitChannelInfo(self.unit)
|
||||||
self:StartBar(IceCastBar.Actions.Channel)
|
if channel then
|
||||||
return
|
self:StartBar(IceCastBar.Actions.Channel)
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self:StopBar()
|
self:StopBar()
|
||||||
@ -150,4 +148,6 @@ end
|
|||||||
|
|
||||||
|
|
||||||
-- Load us up
|
-- Load us up
|
||||||
IceHUD.TargetTargetCast = TargetTargetCast:new()
|
if not IceHUD.WowClassic then
|
||||||
|
IceHUD.TargetTargetCast = TargetTargetCast:new()
|
||||||
|
end
|
||||||
|
@ -77,5 +77,8 @@ IceHUD is a highly configurable and customizable HUD addon in the spirit of DHUD
|
|||||||
1. **How do I get rid of the bars that showed up beneath the player in the 7.0 patch?**
|
1. **How do I get rid of the bars that showed up beneath the player in the 7.0 patch?**
|
||||||
Blizzard added a "Personal Resource Display" feature in the 7.0 game client. You can disable it in the Game options -> Interface -> Names -> Personal Resource Display.
|
Blizzard added a "Personal Resource Display" feature in the 7.0 game client. You can disable it in the Game options -> Interface -> Names -> Personal Resource Display.
|
||||||
|
|
||||||
|
1. **Why is there no target castbar for Classic?**
|
||||||
|
The Classic game client doesn't offer a reliable way to show castbars for anyone except the player. IceHUD doesn't support the type of inaccurate guessing at combat log details that would be required to get a semi-useful target castbar.
|
||||||
|
|
||||||
|
|
||||||
See [here](https://www.wowace.com/projects/ice-hud/issues/113) for a user-created guide to creating new IceHUD textures.
|
See [here](https://www.wowace.com/projects/ice-hud/issues/113) for a user-created guide to creating new IceHUD textures.
|
||||||
|
Reference in New Issue
Block a user