From ebc9f3cafa37314e871e41275482f61631e2e4d5 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 19 Dec 2016 11:04:53 +0100 Subject: [PATCH] autoshift: stand up when using ability --- modules/autoshift.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/autoshift.lua b/modules/autoshift.lua index 775d9d2b..7566ed57 100644 --- a/modules/autoshift.lua +++ b/modules/autoshift.lua @@ -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