mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 12:30:50 +00:00
autoshift: stand up when using ability
This commit is contained in:
@@ -81,6 +81,12 @@ pfUI:RegisterModule("autoshift", function ()
|
|||||||
pfUI.autoshift:SetScript("OnEvent", function()
|
pfUI.autoshift:SetScript("OnEvent", function()
|
||||||
pfUI.autoshift.lastError = arg1
|
pfUI.autoshift.lastError = arg1
|
||||||
local CancelLater = nil
|
local CancelLater = nil
|
||||||
|
|
||||||
|
if arg1 == SPELL_FAILED_NOT_STANDING then
|
||||||
|
SitOrStand()
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
for id, errorstring in pairs(pfUI.autoshift.errors) do
|
for id, errorstring in pairs(pfUI.autoshift.errors) do
|
||||||
if arg1 == errorstring then
|
if arg1 == errorstring then
|
||||||
for i=0,15,1 do
|
for i=0,15,1 do
|
||||||
|
|||||||
Reference in New Issue
Block a user