Verified Commit ea404834 authored by Repooc's avatar Repooc

add [warmode] for equipment sets per request

parent 0e84c176
......@@ -696,6 +696,7 @@ L["SLE_EM_TAGS_HELP"] = [[Following tags and parameters are eligible for setting
|cff3cbf27pvp|r - if on BG, arena or world pvp area. Available arguments: pvp, arena;
|cff3cbf27difficulty|r - defines the difficulty of the instance. Arguments are: normal, heroic, lfr, challenge, mythic;
|cff3cbf27effectivelevel|r - effective level refers to your level when you are scaled, e.g. timewalking
|cff3cbf27warmode|r - checks if you have warmode enabled
Example: [solo] Set1; [party:4, spec:3] Set2; [instance:raid, difficulty:heroic] Set3
]]
......
......@@ -696,6 +696,7 @@ L["SLE_EM_TAGS_HELP"] = [[Les balises et paramètres suivants sont éligibles po
|cff3cbf27pvp|r - if on BG, arena or world pvp area. Available arguments: pvp, arena;
|cff3cbf27difficulty|r - defines the difficulty of the instance. Arguments are: normal, heroic, lfr, challenge, mythic;
|cff3cbf27effectivelevel|r - effective level refers to your level when you are scaled, e.g. timewalking
|cff3cbf27warmode|r - checks if you have warmode enabled
Example: [solo] Set1; [party:4, spec:3] Set2; [instance:raid, difficulty:heroic] Set3
]]
......
......@@ -696,6 +696,7 @@ L["SLE_EM_TAGS_HELP"] = [[Following tags and parameters are eligible for setting
|cff3cbf27pvp|r - wenn auf BG, Arena oder Welt-PvP-Bereich. Verfügbare Argumente: pvp, arena;
|cff3cbf27difficulty|r - definiert die Schwierigkeit der Instanz. Argumente sind: normal, heroic, lfr, challenge, mythic;
|cff3cbf27effectivelevel|r - Effektives Level bezieht sich auf Ihr Level, wenn Du skaliert bist, z.B. Zeitwanderung
|cff3cbf27warmode|r - checks if you have warmode enabled
Example: [solo] Set1; [party:4, spec:3] Set2; [instance:raid, difficulty:heroic] Set3
]]
......
......@@ -696,6 +696,7 @@ L["SLE_EM_TAGS_HELP"] = [[Following tags and parameters are eligible for setting
|cff3cbf27pvp|r - if on BG, arena or world pvp area. Available arguments: pvp, arena;
|cff3cbf27difficulty|r - defines the difficulty of the instance. Arguments are: normal, heroic, lfr, challenge, mythic;
|cff3cbf27effectivelevel|r - effective level refers to your level when you are scaled, e.g. timewalking
|cff3cbf27warmode|r - checks if you have warmode enabled
Example: [solo] Set1; [party:4, spec:3] Set2; [instance:raid, difficulty:heroic] Set3
]]
......
......@@ -695,6 +695,7 @@ L["SLE_EM_TAGS_HELP"] = [[Следующие тэги и параметры мо
|cff3cbf27pvp|r - для полей боя, арен и открытых пвп зон. Параметры: ПвП, арена;
|cff3cbf27difficulty|r - Определяет сложность подземелья. Параметры: нормал, героик, лфр, испытание, мифик;
|cff3cbf27effectivelevel|r - effective level refers to your level when you are scaled, e.g. timewalking
|cff3cbf27warmode|r - checks if you have warmode enabled
Пример: [solo] Set1; [party:4, spec:3] Set2; [instance:raid, difficulty:heroic] Set3
]]
......
......@@ -182,6 +182,9 @@ EM.TagsTable = {
['NoCondition'] = function()
return true
end,
['warmode'] = function()
return C_PvP.IsWarModeDesired()
end,
}
--Building up set data
......@@ -395,6 +398,7 @@ function EM:Initialize()
EM:RegisterEvent('ACTIVE_TALENT_GROUP_CHANGED', Equip)
EM:RegisterEvent('PLAYER_LEVEL_CHANGED', Equip)
EM:RegisterEvent('GROUP_ROSTER_UPDATE', Equip)
EM:RegisterEvent('PLAYER_FLAGS_CHANGED', Equip)
--Initial apply options
EM:TagsProcess(EM.db.conditions)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment