Originally Posted by
bu_ba_911
lol every since I started keeping tabs on who's been downloading my profiles and such, I realized that over 30% of the people aren't in America or England, so I've been morphing everything to Universal code to accommodate them
and thats the beauty of having a smart phone with Tapatalk

it's always a single click away!!!
Yeah, I've got Tapatalk on my phone and use it on here sometimes. I've also, like I said, started converting all my profiles over to universal. The only problem I'm having is this spot of code for mangle. Works great when all it needs to do is return true, but when I start putting in CastSpellByName((())), it stops. Heres the code:
Name: Mangle
SpellID: 33876
Delay: 0
Code:
-- Rogues and Warriors can handle it themselves.
local hasCatMangle, _, _, _, _, _, CatMangleTimer = UnitDebuffID("target", 33876)
local hasBearMangle, _, _, _, _, _, BearMangleTimer = UnitDebuffID("target", 33878, "PLAYER")
local hasTrauma = UnitDebuffID("target", 46857)
local hasHemorrhage = UnitDebuffID("target", 16511)
local CP = GetComboPoints("player", "target")
if PQR_NotBehindTarget() then
if CP == 5 then
return false
else
return true
end
end
-- First, let's let other people handle their own debuffs
if hasTrauma ~= nil then
return false
elseif hasHemorrhage ~= nil then
return false
elseif hasBearMangle ~= nil then
return false
-- Let us handle it!
elseif hasCatMangle ~= nil or hasBearMangle ~= nil then
-- Check the timer
if CatMangleTimer - GetTime() < 1 then
return true
end
else
return true
end
replaced with
Name: Mangle
SpellID: 0
Delay: 0
Code:
-- Rogues and Warriors can handle it themselves.
local hasCatMangle, _, _, _, _, _, CatMangleTimer = UnitDebuffID("target", 33876)
local hasBearMangle, _, _, _, _, _, BearMangleTimer = UnitDebuffID("target", 33878, "PLAYER")
local hasTrauma = UnitDebuffID("target", 46857)
local hasHemorrhage = UnitDebuffID("target", 16511)
local CP = GetComboPoints("player", "target")
if PQR_NotBehindTarget() then
if CP == 5 then
return false
else
CastSpellByName(tostring(GetSpellInfo(33876)))
end
end
-- First, let's let other people handle their own debuffs
if hasTrauma ~= nil then
return false
elseif hasHemorrhage ~= nil then
return false
elseif hasBearMangle ~= nil then
return false
-- Let us handle it!
elseif hasCatMangle ~= nil or hasBearMangle ~= nil then
-- Check the timer
if CatMangleTimer - GetTime() < 1 then
CastSpellByName(tostring(GetSpellInfo(33876)))
end
else
CastSpellByName(tostring(GetSpellInfo(33876)))
end
I've even tried to simplify it by just checking to see if Cat Mnagle is on the target or not and it if isn't, it will cast the spell. But even that just stopped the rotation and froze it. Starting the bug the hell out of me, literally and figuratively lol