Need input from someone more experienced than me.
-- Seal
if AoeSwap ~= nil and AoeSwap ~= 0 and GetShapeshiftForm("player") == 0 then
CastShapeshiftForm(1)
elseif AoeSwap == nil and GetShapeshiftForm("player") ~= 1 then
CastShapeshiftForm(1)
elseif AoeSwap == 0 and GetShapeshiftForm("player") ~= 2 then
CastShapeshiftForm(2)
end
Works fine for me, I can press right ctrl all day and it switches seals no problem.
Extra Info: In pqr settings I have my ability check delay set to 20ms
Other people have issues with the seal not switching, what could be the problem?
Aoe code
if modtime == nil then
modtime = 0
end
--Aoe Mode switch, Right Ctrl Toggle
if IsRightControlKeyDown() and GetTime() - modtime > 1 then
modtime = GetTime()
if AoeSwap then
AoeSwap = nil
CastShapeshiftForm(1)
PQR_WriteToChat("Aoe Mode: \124cFFE61515Disabled")
else
AoeSwap = 1
CastShapeshiftForm(2)
PQR_WriteToChat("Aoe Mode: \124cFF15E615Enabled")
end
end