sheuron can you update your PQR_XRN file so that it dispels death but does not dispell earth? on heroic spine of deathwing
Here you go, not sure if this will work just looked through some profiles and found the ids for blood charge/tap
note: you can have 12 blood charges
spell id: 45529
target: target
--Not sure if this will work, this is code from a trinket.
local bloodCharge,_,_,bloodChargeCount = UnitAura("player","Blood Charge")
--Maybe it falls off? so you might want a; bloodChargeCount == 5 or bloodChargeEndTime <= 2
--local bloodChargeTime, _, _, _, _, _, bloodChargeEndTime = UnitBuffID("player", 114851) <-- spell id for bloodcharge
--if bloodChargeTime ~= nil then
-- bloodChargeEndTime = bloodChargeEndTime - GetTime()
--end
if bloodCharge ~= nil then
if bloodChargeCount == 5 then
return true
end
end
My Svn - https://subversion.assembla.com/svn/averykeys-svn/
Hey all just tried using this on the beta again with bubbas holy profile, downloaded the data files and everything and just getting spammed with an lua error atm. Tried doing a search but couldent see anything :-/
Message: [string "-- Set the Variable Cast Time based off Has..."]:7: attempt to index global 'PQ_Spell' (a nil value)
Time: 07/04/12 08:37:17
Count: 412
Stack: [string "-- Set the Variable Cast Time based off Has..."]:7: in function `?'
[string "if PQR_Addon_Loaded == nil then..."]:760: in function `PQR_NextAbility'
[string "if PQR_Addon_Loaded == nil then..."]:533: in function `PQR_ExecuteRotation'
[string "if PQR_Addon_Loaded == nil then..."]:289: in function <[string "if PQR_Addon_Loaded == nil then..."]:214>
Locals: spellsToCheck = <table> {
1 = 635
2 = 82326
3 = 19750
4 = 879
5 = 82327
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = 635
2 = 82326
3 = 19750
4 = 879
5 = 82327
}
(for control) = 1
i = 1
v = 635
(*temporary) = nil
(*temporary) = 1
(*temporary) = 635
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'PQ_Spell' (a nil value)"
@OnionsTich
Please stop spamming the forum asking about dispels on spine, sheuron already answered your question and told you exactly what to do. You have to be prepared to edit the code yourself.
@imdasandman
I havn't been playing my DK much recently but the last time I used your frost profile it was working fineThe one thing I would ask for and this goes for other class profiles as well from other profile creators, please put in a button toggle for cooldowns. For frost I changed mine so I could toggle on and off Raise Dead. I prefer to only use it on boss fights really.
Other than that all perfect. Can't remember if I rep+ you before so here's more!![]()
So I have been testing the code that Averykey gave me, but for some reason it doesn't want to work.
I'll do some more research into what the error could be.Code:local bloodCharge,_,_,bloodChargeCount = UnitAura("player","Blood Charge") local bloodChargeTime, _, _, _, _, _, bloodChargeEndTime = UnitBuffID("player", 114851) bloodChargeCount == 5 or bloodChargeEndTime <= 2 if bloodChargeTime == nil then bloodChargeEndTime = bloodChargeEndTime - GetTime() end if bloodCharge == nil then if bloodChargeCount >= 5 then return true end end
local bloodCharge,_,_,bloodChargeCount = UnitAura("player","Blood Charge")
--local bloodChargeTime, _, _, _, _, _, bloodChargeEndTime = UnitBuffID("player", 114851)
--example if it does fall off, I don't think it does though
--the ~= means if its up, the way you had it would always check while its off, no reason to.
--if bloodCharge ~= nil then
--if bloodChargeCount >= 5 or bloodChargeEndTime <= 2 then
--return true
--end
--end
--get current time of blood charge, only applies for the above ^
--if bloodChargeTime == nil then
--bloodChargeEndTime = bloodChargeEndTime - GetTime()
--end
--should work find with just the below, I don't know though; the _, _ stuff is a mystery to me still
if bloodCharge == nil then
if bloodChargeCount >= 5 then
return true
end
end[/code]
My Svn - https://subversion.assembla.com/svn/averykeys-svn/
Ah, I get what you mean now. Thanks again, Averykey. I appreciate your help!
Yea i will try to come up with a trash profile or somethibg that only blows sub 1 min cd's and gloves. Maybe you can point me to a profile that has this in rotation toggle( call to a sub routine) i can even add chat window notification
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Last edited by imdasandman; 07-04-2012 at 05:15 AM.
My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
https://imdasandmandeathknight.googl...com/svn/trunk/