Hey guys
I was wondering if one of yous can help me out with my PQR? I'm trying to run PVP Rogue sub profile from sheuron but constantly getting an error. ''PQR_xrn.lua is missing Rotation has be stopped'' does anyone know how to fix this error ?
Thanks
the DATA file goes in a different folder to the ROGUE one
not home at the moment so I cant look at the exact folder names but in the main PQR folder before you go into the folder where the class folders are there should be a "Data" folder
Data file into Data folder
Abilities and Rotations files into Class folder (Rogue one)
Any one have good Discipline PvE profile?
I just downloaded Sheurons profile-pack and its zipped with two folders (Data, Profiles) so I dont know what you've downloaded, get this instead and just drop the folders in your PQRotation-folder
and let it overwrite the old profiles there : http://goo.gl/rseZ0
I didn't need them, but if anyone wants
local bloodlust = UnitBuffID("player", 2825)
local heroism = UnitBuffID("player", 32182)
local timewarp = UnitBuffID("player", 80353)
local ancientHysteria = UnitBuffID("player", 90355)
if bloodlust ~= nil or timewarp ~= nil or heroism ~= nil or ancientHysteria ~= nil then
return true
end
edit: How can I store these buffs in a array/table like this?
local bloodlust = {80353, 90355, 32182, 2825}
local playerBuff = UnitBuffID("player", bloodlust) --Does this work? can you include variables in other instances?
for i,v in ipairs(bloodlust) do
if playerBuff == GetSpellInfo(v) then
return true
end
end
Last edited by averykey; 07-12-2012 at 09:13 AM.
My Svn - https://subversion.assembla.com/svn/averykeys-svn/
what you can do is this averykey:
And welcome to the world of globals lol.Code:local bloodlust = UnitBuffID("player", 2825) local heroism = UnitBuffID("player", 32182) local timewarp = UnitBuffID("player", 80353) local ancientHysteria = UnitBuffID("player", 90355) if bloodlust ~= nil or timewarp ~= nil or heroism ~= nil or ancientHysteria ~= nil then LustEffect = 1 else LustEffect = nil end
so if you want any ablity to be used when you have lust just check for 'LustEffect == 1' or just 'LustEffect'
just an example for people.Code:if UnitHealth("target") / UnitMaxHealth("target") * 100 <= 20 and LustEffect then return true else if UnitHealth("target") / UnitMaxHealth("target") * 100 >= 21 and not LustEffect then return false end end
Please if someone helped you donate rep to them.