from retail

This commit is contained in:
Bunny67
2020-07-10 16:51:17 +03:00
parent fabdc8a5a0
commit 09bc3d6374
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -4991,7 +4991,7 @@ WeakAuras.event_prototypes = {
tinsert(events, "PLAYER_REGEN_DISABLED")
tinsert(events, "PLAYER_ENTERING_WORLD")
end
if trigger.use_pvpflagged ~= nil then
if trigger.use_pvpflagged ~= nil or trigger.use_afk ~= nil then
tinsert(events, "PLAYER_FLAGS_CHANGED")
end
if trigger.use_alive ~= nil then
@@ -5110,6 +5110,12 @@ WeakAuras.event_prototypes = {
type = "tristate",
init = "UnitExists('pet') and not UnitIsDead('pet')"
},
{
name = "afk",
display = L["Is Away from Keyboard"],
type = "tristate",
init = "UnitIsAFK('player')"
},
{
name = "ingroup",
display = L["In Group"],
@@ -184,7 +184,7 @@ local function ConstructModelPicker(frame)
end
end
else
group:Pick(group.givenPath, group.givenZ, group.givenX, group.givenY);
group:Pick(group.givenModel, group.givenZ, group.givenX, group.givenY);
end
group.Close();
end