Could anyone please update a Feral Druid PVP script?
Could anyone please update a Feral Druid PVP script?
The way hes implemented the interrupt system, you could turn your herb and archaeology gathering scripts into, interrupt rotations, allowing them to be used by any class
same goes for other profile authors implementing Fading light , shrapnel etc... just add your abilities for each respectively to the interrupt abilities already in place by xelper
To prevent the rotation from needlessly delaying I check if the spellID provided is on cooldown using GetSpellCooldown(). This unfortunately doesn't work for spells that are associated with items, in which case I need to use GetItemCooldown().
Basically, without the item ID if you spam it even while it is on cooldown it will delay the rotation.
The reason we need the spellID as well is because I use UNIT_SPELLCAST_FAILED ( and _QUIET) to add the delay and UNIT_SPELLCAST_SUCCEEDED to remove the delay. These events only pass us the spell ID, not the item ID... and there is no other equivalent events for item usage.Code:Without ItemID: [19:33:51] <PQR Debug> DELAY: Golem's Strength was added. [19:33:51] <PQR Debug> DELAY: Removed Golem's Strength as the cast was successful. [19:33:52] <PQR Debug> DELAY: Golem's Strength was added. With ItemID: [19:35:49] <PQR Debug> DELAY: Golem's Strength was added. [19:35:49] <PQR Debug> DELAY: Removed Golem's Strength as the cast was successful. [19:35:50] <PQR Debug> DELAY: Golem's Strength was not added. Item is on cooldown.
Last edited by Xelper; 03-11-2012 at 06:46 PM.
what is the most uptodate PVE Disc profile?
That is true, and might need a little fine tuning but basically the WoW combat lag tolerance system will queue up an event on the server side prior to you being off GCD. Therefore you want the proper spell to be queued up prior to you being off GCD.
If you are casting the ability at your latency + the deviation caused by the ability check loop, your ability will reach the server after you are off GCD. In this case a higher latency value is a good thing. Double the latency seems like a safe bet to me.
@sheuron: see previous page for my response to you, didn't want you to miss it![]()
Last edited by Xelper; 03-11-2012 at 06:57 PM.
My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
https://imdasandmandeathknight.googl...com/svn/trunk/
anyone have a destro lock profile plz?
@kickmydog
Is there a reason that your profiles are no longer Aspect switching between Fox and Hawk? I've noticed that ever since upgrading to PQR 2 today.
okay i'm working on updating everything i've coded. but i've hit a snag
i'm trying to create a timer that i can call to other ablities. it should calc out the time till a mob/boss dies but its busted somewhere. If tried to modify the code from rTimeToDie : Combat Mods : World of Warcraft AddOnsCode:local current_life = UnitHealth("target") local first_time = GetTime() local first_life = UnitHealth("target") local first_life_max = UnitHealthMax('target") if current_life > 0 then local time_diff = GetTime() - first_time local hp_diff = first_life - current_life if hp_diff > 0 then local full_time = time_diff* first_life_max/hp_diff local past_first_time = (first_life_max - first_life) * time_diff/hp_diff calc_time = first_time - past_first_time + full_time - current_time if calc_time < 1 then calc_time = 1 end end time_to_die = SecondsToTime(calc_time) print(time_to_die) end
but i can't get it to work. so I'm offering rep for the fix.
notes:
I just want to create a timer ability and then do a check against it in my code such as:
if unitdebuff("target", 1950) == nil and time_to_die > 21 then return true end
thanks for your help!
Last edited by crystal_tech; 03-11-2012 at 09:04 PM.
Would that even be possible? I mean, with the damage going out changing so much, to where its never accurate enough to use, the time could be off by a lot. I mean, what if a DPS dies, and lets say he has a DPS of 30k. Your loosing a good chunk of damage on the boss. If the fights got more than a minute left, your loosing an estimated 1.8mil dmg a minute there, depending on class and procs if the spec is RNG based. This would especially not work on Zon'ozz where the boss takes more damage the more stacks of the de-buff he gets on him.