from retail
This commit is contained in:
@@ -4991,7 +4991,7 @@ WeakAuras.event_prototypes = {
|
|||||||
tinsert(events, "PLAYER_REGEN_DISABLED")
|
tinsert(events, "PLAYER_REGEN_DISABLED")
|
||||||
tinsert(events, "PLAYER_ENTERING_WORLD")
|
tinsert(events, "PLAYER_ENTERING_WORLD")
|
||||||
end
|
end
|
||||||
if trigger.use_pvpflagged ~= nil then
|
if trigger.use_pvpflagged ~= nil or trigger.use_afk ~= nil then
|
||||||
tinsert(events, "PLAYER_FLAGS_CHANGED")
|
tinsert(events, "PLAYER_FLAGS_CHANGED")
|
||||||
end
|
end
|
||||||
if trigger.use_alive ~= nil then
|
if trigger.use_alive ~= nil then
|
||||||
@@ -5110,6 +5110,12 @@ WeakAuras.event_prototypes = {
|
|||||||
type = "tristate",
|
type = "tristate",
|
||||||
init = "UnitExists('pet') and not UnitIsDead('pet')"
|
init = "UnitExists('pet') and not UnitIsDead('pet')"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name = "afk",
|
||||||
|
display = L["Is Away from Keyboard"],
|
||||||
|
type = "tristate",
|
||||||
|
init = "UnitIsAFK('player')"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name = "ingroup",
|
name = "ingroup",
|
||||||
display = L["In Group"],
|
display = L["In Group"],
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ local function ConstructModelPicker(frame)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
group:Pick(group.givenPath, group.givenZ, group.givenX, group.givenY);
|
group:Pick(group.givenModel, group.givenZ, group.givenX, group.givenY);
|
||||||
end
|
end
|
||||||
group.Close();
|
group.Close();
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user