add twenty instance type
This commit is contained in:
@@ -2141,7 +2141,7 @@ function BuffTrigger.Add(data)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local groupTrigger = trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"
|
local groupTrigger = trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"
|
||||||
local effectiveIgnoreSelf = groupTrigger and trigger.ignoreSelf
|
local effectiveIgnoreSelf = groupTrigger and trigger.ignoreSelf
|
||||||
local effectiveClass = groupTrigger and trigger.useClass and trigger.class
|
local effectiveClass = groupTrigger and trigger.useClass and trigger.class
|
||||||
local effectiveIgnoreDead = groupTrigger and trigger.ignoreDead
|
local effectiveIgnoreDead = groupTrigger and trigger.ignoreDead
|
||||||
local effectiveIgnoreDisconnected = groupTrigger and trigger.ignoreDisconnected
|
local effectiveIgnoreDisconnected = groupTrigger and trigger.ignoreDisconnected
|
||||||
|
|||||||
@@ -1728,6 +1728,7 @@ WeakAuras.instance_types = {
|
|||||||
none = L["No Instance"],
|
none = L["No Instance"],
|
||||||
party = L["5 Man Dungeon"],
|
party = L["5 Man Dungeon"],
|
||||||
ten = L["10 Man Raid"],
|
ten = L["10 Man Raid"],
|
||||||
|
twenty = L["20 Man Raid"],
|
||||||
twentyfive = L["25 Man Raid"],
|
twentyfive = L["25 Man Raid"],
|
||||||
fortyman = L["40 Man Raid"],
|
fortyman = L["40 Man Raid"],
|
||||||
pvp = L["Battleground"],
|
pvp = L["Battleground"],
|
||||||
|
|||||||
@@ -1913,6 +1913,8 @@ local function GetInstanceTypeAndSize()
|
|||||||
if Type == "raid" then
|
if Type == "raid" then
|
||||||
if maxPlayers == 10 then
|
if maxPlayers == 10 then
|
||||||
size = "ten"
|
size = "ten"
|
||||||
|
elseif maxPlayers == 20 then
|
||||||
|
size = "twenty"
|
||||||
elseif maxPlayers == 25 then
|
elseif maxPlayers == 25 then
|
||||||
size = "twentyfive"
|
size = "twentyfive"
|
||||||
elseif maxPlayers == 40 then
|
elseif maxPlayers == 40 then
|
||||||
|
|||||||
Reference in New Issue
Block a user