Originally Posted by
averykey
Is this site sponsored by blizzard? Everything I click causes amazon to pop up to buy mop.
The seal switching isn't working.
It keeps casting for some reason.
Current code for Buff, and aoe switch.
Buff
PHP Code:
if not UnitAffectingCombat("player") then
if GetShapeshiftForm("player") ~= 1 or GetShapeshiftForm("player") ~= 2 or GetShapeshiftForm("player") ~= 3 then
CastShapeshiftForm(1)
end
end
aoe switch
PHP Code:
if modtime == nil then
modtime = 0
end
--right ctrl switches aoe mode
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
rep+ for help, will give a 3 dollars to anyone who can make a working code in buff so I don't have seal switching in aoe mode as well.
Buff
PHP Code:
if not UnitAffectingCombat("player") then
if GetShapeshiftForm() == 0 then
CastShapeshiftForm(1)
end
end
aoe switch
PHP Code:
--right ctrl switches aoe mode
if IsRightControlKeyDown() and (modtime == nil or GetTime() - modtime > 1) then
modtime = GetTime()
if AoeSwap == 1 and GetShapeshiftForm() ~= 1 then
AoeSwap = nil
CastShapeshiftForm(1)
PQR_WriteToChat("Aoe Mode: \124cFFE61515Disabled")
elseif AoeSwap == nil and GetShapeshiftForm() ~= 2 then
AoeSwap = 1
CastShapeshiftForm(2)
PQR_WriteToChat("Aoe Mode: \124cFF15E615Enabled")
end
end