mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 22:30:13 -05:00
- Fixed a few missed GetNumPartyMembers/GetNumRaidMembers references. Eventually I'll get all of them.
This commit is contained in:
@ -6,6 +6,12 @@ TargetCC.prototype.debuffName = nil
|
|||||||
TargetCC.prototype.debuffRemaining = 0
|
TargetCC.prototype.debuffRemaining = 0
|
||||||
TargetCC.prototype.debuffDuration = 0
|
TargetCC.prototype.debuffDuration = 0
|
||||||
|
|
||||||
|
local GetNumPartyMembers, GetNumRaidMembers = GetNumPartyMembers, GetNumRaidMembers
|
||||||
|
if IceHUD.WowVer >= 50000 then
|
||||||
|
GetNumPartyMembers = GetNumGroupMembers
|
||||||
|
GetNumRaidMembers = GetNumGroupMembers
|
||||||
|
end
|
||||||
|
|
||||||
-- list of spell ID's for each CC type so we can avoid localization issues
|
-- list of spell ID's for each CC type so we can avoid localization issues
|
||||||
local StunCCList = {
|
local StunCCList = {
|
||||||
-- kidney shot
|
-- kidney shot
|
||||||
|
@ -6,6 +6,12 @@ TargetInvuln.prototype.buffName = nil
|
|||||||
TargetInvuln.prototype.buffRemaining = 0
|
TargetInvuln.prototype.buffRemaining = 0
|
||||||
TargetInvuln.prototype.buffDuration = 0
|
TargetInvuln.prototype.buffDuration = 0
|
||||||
|
|
||||||
|
local GetNumPartyMembers, GetNumRaidMembers = GetNumPartyMembers, GetNumRaidMembers
|
||||||
|
if IceHUD.WowVer >= 50000 then
|
||||||
|
GetNumPartyMembers = GetNumGroupMembers
|
||||||
|
GetNumRaidMembers = GetNumGroupMembers
|
||||||
|
end
|
||||||
|
|
||||||
-- list of spell ID's for each CC type so we can avoid localization issues
|
-- list of spell ID's for each CC type so we can avoid localization issues
|
||||||
local InvulnList= {
|
local InvulnList= {
|
||||||
-- Anti-Magic Shell
|
-- Anti-Magic Shell
|
||||||
|
@ -14,6 +14,15 @@ IceThreat.aggroBar = nil
|
|||||||
IceThreat.aggroBarMulti = nil
|
IceThreat.aggroBarMulti = nil
|
||||||
IceThreat.prototype.scheduledEvent = nil
|
IceThreat.prototype.scheduledEvent = nil
|
||||||
|
|
||||||
|
local GetNumPartyMembers, GetNumRaidMembers = GetNumPartyMembers, GetNumRaidMembers
|
||||||
|
local MAX_NUM_RAID_MEMBERS, MAX_NUM_PARTY_MEMBERS = MAX_NUM_RAID_MEMBERS, MAX_NUM_PARTY_MEMBERS
|
||||||
|
if IceHUD.WowVer >= 50000 then
|
||||||
|
GetNumPartyMembers = GetNumGroupMembers
|
||||||
|
GetNumRaidMembers = GetNumGroupMembers
|
||||||
|
MAX_NUM_PARTY_MEMBERS = MAX_PARTY_MEMBERS
|
||||||
|
MAX_NUM_RAID_MEMBERS = MAX_RAID_MEMBERS
|
||||||
|
end
|
||||||
|
|
||||||
local MAX_NUM_RAID_MEMBERS = 40
|
local MAX_NUM_RAID_MEMBERS = 40
|
||||||
local MAX_NUM_PARTY_MEMBERS = 5
|
local MAX_NUM_PARTY_MEMBERS = 5
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user