@VALMA it just spamms ban of doom
and if i remove it it just starts to spam immolate and occcasionally a soulfire
Edit : i also havent seen your profile do any incinerates at all.
@VALMA it just spamms ban of doom
and if i remove it it just starts to spam immolate and occcasionally a soulfire
Edit : i also havent seen your profile do any incinerates at all.
Last edited by saga3180; 02-11-2012 at 10:59 AM.
Been a while since my last update but here it is: RestoDruid_Eff_Profile.rar
Quick list of changes:
- Added /rejuv to toggle blanket rejuving the raid
- Modified the encounter handling in general
- Added code for Yor'sahj Heroic
- Slight mana improvements
- Bug fixes
More information with the original post here: http://www.ownedcore.com/forums/worl...ml#post2156781 ([BETA] PQRotation - an automated ability priority queue.)
Lol his is a freaking nightmare compared to minelol but he showed me how to make tables for my spells for an easier kill switch for my spells. Like deep corruption will be easy to code with something like this. I can also change what each spells target health they heal at from outside the ability so when I play around with things I never actually play around with the core healing rotation.
I wanted to start playing around with cast times in regards to buffs to see if I couldn't start making the heals smarter in regards to currents buffs and things like that.
Also I wanted my rotation to work at any level. So I have every spell check of spell is known. Leveling pally healers should be able to use this, though I don't know how efficient it will use mana at such low levels haha. That would be an experiment XD though as I was saying before. I could literally code just one ability that would be say --- level 70 --- that changes all the numbers for somebody level 70 without breaking any functionality for somebody 85. That's why I started the rewrite :-)
Sharing another snippet from my Rogue profile, any feedback would be good:
So this is my custom interrupt logic. The first line checks if we are in stealth and if so returns early (don't want to kick as you try to open with a garrote silence for example). The rather ugly looking table that follows is so you can instantly check if the spell being casted is in the interrupt list, without having to loop through the table on every ability check iteration which would be expensive, I'm interested in maximum efficiency so this table should ideally be placed in a loader ability that only runs once. The downside of using spell names is that it won't work for different localisations but the upside is we don't have to bother converting between spell ids and spell names.Code:if UnitBuffID("player", 1784) then return end local spells = {["Polymorph"] = 1, ["Frostbolt"] = 1, ["Cyclone"] = 1, ["Regrowth"] = 1, ["Nourish"] = 1, ["Flash of Light"] = 1, ["Divine Light"] = 1, ["Flash of Light"] = 1, ["Flash Heal"] = 1, ["Healing Wave"] = 1, ["Healing Surge"] = 1, ["Lava Burst"] = 1, ["Greater Healing Wave"] = 1, ["Hex"] = 1, ["Fear"] = 1, ["Haunt"] = 1, ["Unstable Affliction"] = 1 } local fspell, _, _, _, fstart, fend, _, _, fint = UnitCastingInfo("focus") if spells[fspell] and not fint and ((fend - GetTime() * 1000) / (fend - fstart)) * 100 < 40 then PQR_CustomTarget = "focus" if 0 == IsSpellInRange("Kick", "focus") then CastSpellByID(36554, "focus") end return true end local tspell, _, _, _, tstart, tend, _, _, tint = UnitCastingInfo("target") if spells[tspell] and not tint and ((tend - GetTime() * 1000) / (tend - tstart)) * 100 < 30 then PQR_CustomTarget = "target" return true end
It first checks if the focus target is casting, that the cast is interruptible and that it is in the last 40 percent of the cast, I feel this is better than having an arbitrary delay. It then checks if we are in range for the interrupt and if not focus shadowsteps and then interrupts the focus. I played with a few different numbers, with 20-30% the casts would still sometimes go off so I settled on 40% for focus to allow time for the shadowstep and 30% for the target. The last chunk of code just does the same checks but on the current target. I put the focus target check first because I feel if you have a focus target much of the time it's going to be a healer and therefore their casts would take priority, but this can be changed of course, and the currently redundant values in the spell table could eventually be used for spell priorities so if both target and focus were casting it would interrupt the highest priority spell (e.g. a big heal).
would this work on my warrior? I added a few spells and removed CastSpellByID(36554, "focus")
end
And instead of Kick i put in Pummel
Code:local spells = {["Polymorph"] = 1, ["Frostbolt"] = 1, ["Cyclone"] = 1, ["Regrowth"] = 1, ["Healing Touch] = 1, ["Mana Burn"] = 1, ["Nourish"] = 1, ["Flash of Light"] = 1, ["Divine Light"] = 1, ["Flash of Light"] = 1, ["Flash Heal"] = 1, ["Healing Wave"] = 1, ["Healing Surge"] = 1, ["Lava Burst"] = 1, ["Greater Healing Wave"] = 1, ["Hex"] = 1, ["Fear"] = 1, ["Haunt"] = 1, ["Drain Soul"] = 1, ["Hibernate"]= 1, ["Unstable Affliction"] = 1 } local fspell, _, _, _, fstart, fend, _, _, fint = UnitCastingInfo("focus") if spells[fspell] and not fint and ((fend - GetTime() * 1000) / (fend - fstart)) * 100 < 40 then PQR_CustomTarget = "focus" if 0 == IsSpellInRange("Pummel", "focus") then return true end local tspell, _, _, _, tstart, tend, _, _, tint = UnitCastingInfo("target") if spells[tspell] and not tint and ((tend - GetTime() * 1000) / (tend - tstart)) * 100 < 30 then PQR_CustomTarget = "target" return true end
Anyone know if there's a new Resto Shaman profile? Onya hasn't posted in awhile. Is his newest the one on page 290? Can't find another one.
Change the 0 to a 1 in the line I bolded, because you only want to focus kick as a Warrior if you are already in range, you are also missing an end so that might throw an lua error. Actually this made me realise a flaw in my code, if the focus target is casting but is out of range it won't move on to the target checks, so will need to fix that.local spells = {["Polymorph"] = 1, ["Frostbolt"] = 1, ["Cyclone"] = 1, ["Regrowth"] = 1, ["Healing Touch] = 1, ["Mana Burn"] = 1, ["Nourish"] = 1, ["Flash of Light"] = 1, ["Divine Light"] = 1, ["Flash of Light"] = 1, ["Flash Heal"] = 1, ["Healing Wave"] = 1, ["Healing Surge"] = 1, ["Lava Burst"] = 1, ["Greater Healing Wave"] = 1, ["Hex"] = 1, ["Fear"] = 1, ["Haunt"] = 1, ["Drain Soul"] = 1, ["Hibernate"]= 1, ["Unstable Affliction"] = 1 }
local fspell, _, _, _, fstart, fend, _, _, fint = UnitCastingInfo("focus")
if spells[fspell] and not fint and ((fend - GetTime() * 1000) / (fend - fstart)) * 100 < 40 then
PQR_CustomTarget = "focus"
if 1 == IsSpellInRange("Pummel", "focus") then
return true end
end
local tspell, _, _, _, tstart, tend, _, _, tint = UnitCastingInfo("target")
if spells[tspell] and not tint and ((tend - GetTime() * 1000) / (tend - tstart)) * 100 < 30 then
PQR_CustomTarget = "target"
return true
end
Hi at all someone can help me to create 1 offsets for 13623 wow version? pls i realy need
Whyismyprogramdoes not see thegame, althoughversion15 211
Does anyone have DnD code? I looked at buba's code, doesn't really work. Any help?