from retail
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user