- Fixed a few missed GetNumPartyMembers/GetNumRaidMembers references. Eventually I'll get all of them.

This commit is contained in:
Parnic
2012-08-30 04:09:33 +00:00
parent e90146da28
commit 771a2e88a0
3 changed files with 21 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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