add twenty instance type

This commit is contained in:
Bunny67
2020-08-29 04:34:58 +03:00
parent 51caeab274
commit a1bb00a773
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -2141,7 +2141,7 @@ function BuffTrigger.Add(data)
end
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 effectiveIgnoreDead = groupTrigger and trigger.ignoreDead
local effectiveIgnoreDisconnected = groupTrigger and trigger.ignoreDisconnected
+1
View File
@@ -1728,6 +1728,7 @@ WeakAuras.instance_types = {
none = L["No Instance"],
party = L["5 Man Dungeon"],
ten = L["10 Man Raid"],
twenty = L["20 Man Raid"],
twentyfive = L["25 Man Raid"],
fortyman = L["40 Man Raid"],
pvp = L["Battleground"],
+2
View File
@@ -1913,6 +1913,8 @@ local function GetInstanceTypeAndSize()
if Type == "raid" then
if maxPlayers == 10 then
size = "ten"
elseif maxPlayers == 20 then
size = "twenty"
elseif maxPlayers == 25 then
size = "twentyfive"
elseif maxPlayers == 40 then