add mounted load condition, add more wow api for load and organize it better
This commit is contained in:
@@ -972,6 +972,15 @@ Private.load_prototype = {
|
||||
optional = true,
|
||||
events = {"VEHICLE_UPDATE", "UNIT_ENTERED_VEHICLE", "UNIT_EXITED_VEHICLE"}
|
||||
},
|
||||
{
|
||||
name = "mounted",
|
||||
display = L["Mounted"],
|
||||
type = "tristate",
|
||||
init = "arg",
|
||||
width = WeakAuras.normalWidth,
|
||||
optional = true,
|
||||
events = {"MOUNTED_UPDATE"}
|
||||
},
|
||||
{
|
||||
name ="playerTitle",
|
||||
display = L["Player"],
|
||||
@@ -7429,9 +7438,6 @@ Private.event_prototypes = {
|
||||
if (trigger.use_ismoving ~= nil) then
|
||||
WeakAuras.WatchPlayerMoveSpeed();
|
||||
end
|
||||
if (trigger.use_mounted ~= nil) then
|
||||
WeakAuras.WatchForMounts();
|
||||
end
|
||||
if (trigger.use_HasPet ~= nil) then
|
||||
AddWatchedUnits("pet")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user