Originally Posted by
mentally
Hey guys!
I want to apologize for not being here so often the last two weeks. I can promise you though that I have been working hard on the profile to make it just that little bit better.
I would've released my profile before the weekend, but, I went into labor on Friday and at 11:20pm CEST I gave birth to a perfect baby boy! He was 49cm and weighted 3030g. I'll try and post some pictures that I have on my phone later.
With Sheepmoon's permission, I'll go through his profile and mix-match a bit, if he's interested we could even work together on it. And if you want buba and have space on your SVN I could host my profile with you.
Anyhow, I'll try and have it released by Wednesday's nerf patch here in Europe.
pm sent, and can't wait for an update
i haven't had the energy to code any more of my SPriest code haha
he's just been sitting around waiting for something interesting to arise.... i have a sinking suspicion his time may come soon XD
-----------
@valma Getting a lot of Usage errors on both UnitBuff and UnitName..... going to try and sort them out, i love how the code is constructed so I want to use it haha
*edit*
think I fixed it..... here's what I morphed it into so far....
Code:
if not FirstRun then
local PQ_BeaconTarget = "player"
local BeaconTargetName = UnitName("player")
FirstRun = 1
end
local hasMouseover = UnitExists("mouseover")
local mouseoverFriend = UnitIsFriend("player", "mouseover")
local group = "party"
local members = GetNumPartyMembers()
if GetNumRaidMembers() > 0 then group = "raid" members = GetNumRaidMembers() end
if IsRightAltKeyDown() and GetCurrentKeyBoardFocus() == nil then
if hasMouseover and mouseoverFriend then
local nameMouseover = GetUnitName("mouseover")
for i = 1, members, 1 do
local member = group..tostring(i)
if nameMouseover == UnitName(member) then
PQ_BeaconTarget = member
PQ_BeaconTargetName = nameMouseover
PQR_CustomTarget = PQ_BeaconTarget
return true
end
end
if group == "party" and nameMouseover == GetUnitName("player") then
PQ_BeaconTarget = "player"
PQ_BeaconTargetName = nameMouseover
PQR_CustomTarget = "player"
return true
end
end
end
local Beacon = UnitBuffID(PQ_BeaconTarget, 53563)
if UnitName(PQ_BeaconTarget) == PQ_BeaconTargetName then
if Beacon then
local BeaconExpire = select(7,UnitBuffID(PQ_BeaconTarget, 53563)) - GetTime()
if BeaconExpire < 10 then
PQR_CustomTarget = PQ_BeaconTarget
return true
end
else
PQR_CustomTarget = PQ_BeaconTarget
return true
end
else
for i = 1, members, 1 do
local member = group..tostring(i)
if PQ_BeaconTargetName == UnitName(member) then
PQ_BeaconTarget = member
PQR_CustomTarget = PQ_BeaconTarget
return true
end
end
end
yes pretty much the same so far, but this is the first way i got it to work, will clean it up some more now <3
and one of the key things I want to point out since I don't remember seeing this anywhere else.... when you are running a check on your party size and you're in a party here's how the check goes
for a party size of 5 it will check
party1
party2
party2
party4
nowhere in that check does it actually check the player, so whenever we do party size checks we also need to manually add in the player as well at the very end...... that was the whole cause of the "My Pally will heal everyone else fine, just not myself!" problem haha