autoshift: stand up when using ability

This commit is contained in:
shagu
2016-12-19 11:04:53 +01:00
parent 50d5ccc328
commit ebc9f3cafa
+6
View File
@@ -81,6 +81,12 @@ pfUI:RegisterModule("autoshift", function ()
pfUI.autoshift:SetScript("OnEvent", function()
pfUI.autoshift.lastError = arg1
local CancelLater = nil
if arg1 == SPELL_FAILED_NOT_STANDING then
SitOrStand()
return
end
for id, errorstring in pairs(pfUI.autoshift.errors) do
if arg1 == errorstring then
for i=0,15,1 do