you know what would be completely awesome?
64 bit PQR.
make this happen.
(don't post things I post to Patreon.)
Last edited by cukiemunster; 09-18-2013 at 01:46 PM.
Hi, I am searching urgently for the new PQR OFFSETS as per the 18th September 2013, I can't find any thread with them, please ?
Trying to get PQR_UnitFacing() to work and it isn't for me.
I am using this to try to cast Flame Shock on a focus target.
It still tries to cast it on my focus even if my focus is behind me, am I using the function wrong here?
if focusRange == 1 and UnitExists('focus') and PQR_UnitFacing("player", "focus", 180) == true then
CastSpellByName('Flame Shock', 'focus')
end
I've been toying with it for a while now and still got nothing. I'm still not really sure how I'm supposed to use PQR_UnitInfo() with the PQR_UnitFacing() function.
If someone could kinda fill in the missing pieces here that would be great. I just want to make sure my focus target is actually in front of me before trying to cast Flame Shock on it.
Code:local focusRange = IsSpellInRange('Flame Shock', "focus") local FS = UnitDebuffID('target', 8050, 'player') local focusFS = UnitDebuffID('focus', 8050, 'player') if UnitExists('focus') and focusRange == 1 and --unit exists and is in range PQR_UnitFacing('player','focus') == true and --I'm facing the unit FS and focusFS == nil --flame shock is on my primary target but not my focus then CastSpellByName('Flame Shock', 'focus') --cast Flame Shock on focus end
I've been using the following code (I found it in the previous topic, props to whoever posted it /kiss) with success in a pvp affliction profile I'm making. Dunno how cpu intensive it is, but works all right on my side.
Code:function PlayerFacingTarget(Unit) if not UnitExists(Unit) or UnitIsUnit("player",Unit) then return false end local x1,y1,_,facing = PQR_UnitInfo(UnitGUID("player")) local x2,y2 = PQR_UnitInfo(UnitGUID(Unit)) local yawAngle = atan2(y1 - y2, x1 - x2) - deg(facing) if yawAngle < 0 then yawAngle = yawAngle + 360 end return yawAngle > 90 and yawAngle < 270 end
Hey folks do you know how to set xelper's or any other interrupter for new hunter counter shot spell? It seems not interrupting atm
Go into the Xelper interrupt profile and change the spell ID for the hunter interrupt from the silence shot spellID to counter shot.
Underlined it
Code:if xelperInterruptInit == nil then --TestComment xelperInterruptInit = true function PQR_InterruptSpell() local _, playerClass = UnitClass("player") if playerClass == "DEATHKNIGHT" then return 47528 elseif playerClass == "DRUID" then local catForm = UnitBuffID("player", 768) if catForm ~= nil then return 80965 else return 80964 end elseif playerClass == "HUNTER" then return 34490 elseif playerClass == "MAGE" then return 2139 elseif playerClass == "PALADIN" then return 96231 elseif playerClass == "PRIEST" then return 15487 elseif playerClass == "ROGUE" then return 1766 elseif playerClass == "SHAMAN" then return 57994 elseif playerClass == "WARLOCK" then return 19647 elseif playerClass == "WARRIOR" then return 6552 else return 0 end end end
I need assistance! I'm a fellow warrior looking for someone to fix this profile I use. I'm trying to get it to use Stormbolt when Colossus Smash debuff is up. If anyone knows how to do that please PM me!