Yes, thank you bu_ba.
Hey guys!
Been laying sick, so I haven't really been thinking about posting up my "updated" Shadow Priest profile with the leveling profile yet.
Should find some time to do it today after classes have settled all though I do have to stress that I'm working on making sure that the dots respectively, refreshes whenever you gain an intellect proc, and refresh whenever the intellect proc is about to go out, to get the maximum time possible with enhanced dot damage.
One other thing I was thinking about; I haven't been able to find the Spell ID's for Heroic Ultraxion's Fading Light and Hour of Twilight, using the code originally from Xelper at the moment, so I'm just wondering if you guys have gotten anything yet? (I'm currently clicking Heroic Will manually when we kill Ultraxion Heroic.)
Spesifically, I'm interested in the 10 & 25 Heroic spell ID's. I realize that I haven't been looking the 40-new pages with posts just yet, but I'll get to that, and if Xelper's code-block also works for Heroic mode, then excuse me!
~ Mentally
Edit:
Would something like this probably work? Fading Light Spell ID's were all over wowhead, so I'm not sure which to use;
Basically an all-in-one ability from all sizes and difficulties from Raid Finder to 25man Heroic, with automatic use on Heroic Will on Hour of Twilight being controlled by Left Shift.Code:-- Avoid Fading Light local FadingLight = select(7,UnitDebuffID("player",110069)) -- LFR or select(7,UnitDebuffID("player",109075)) -- Normal 10 or select(7,UnitDebuffID("player",105925)) -- Normal 10 or select(7,UnitDebuffID("player",110069)) -- Heroic 10 or select(7,UnitDebuffID("player",110079)) -- Heroic 10 or select(7,UnitDebuffID("player",110070)) -- Normal 25 or select(7,UnitDebuffID("player",110080)) -- Normal 25 or select(7,UnitDebuffID("player",110078)) -- Heroic 25 or select(7,UnitDebuffID("player",110068)) -- Heroic 25 if FadingLight and FadingLight - GetTime() < 0.5 then RunMacroText("/click ExtraActionButton1") end -- Let's halt everything if Left Shift is held down. if not IsLeftShiftKeyDown() then -- Avoid Hour of Twilight local HoT,_,_,_,_,timer = UnitCastingInfo("boss1") if HoT == (GetSpellInfo(109415) -- LFR or GetSpellInfo(106371) -- Normal 10 or GetspellInfo(109416) -- Heroic 10 or GetSpellInfo(109415) -- Normal 25 or GetSpellInfo(109417) -- Heroic 25) and timer/1000 - GetTime() < 0.5 then RunMacroText("/click ExtraActionButton1") end end
Last edited by Kinky; 01-19-2012 at 05:36 AM. Reason: Posted Ability
@Mentally
From Xhelpers ToH code
He just compares the name from the debuff and the channel spell. So no need to have different IDs.Code:if altDown == nil then local spellHourOfTwilight = GetSpellInfo(109417) local channelSpell, _, _, _, _, endTime = UnitCastingInfo("boss1") if channelSpell ~= nil and channelSpell == spellHourOfTwilight then local finishTime = endTime/1000 - GetTime() if finishTime < 1 and sDivineShield == nil then return true end end end
Also i am using his for Fading
and it works in LFR but the id is from HM?Code:local sFadingLight, _, _, _, _, _, fadingEndTime = UnitDebuffID("player", 110068) if sFadingLight then local finishTime = fadingEndTime - GetTime() if finishTime < 1 then return true end end
Last edited by Gabbz; 01-19-2012 at 07:51 AM.
Hi i am using Gorthok Frost DK profile but it doesnt use hb proc everytime so that cause a bit dps loss been wondering is it possible to make it to switch into hb whenever it proc or make button (example ctrl+b) that auto switch into hb and when you relese go back into normal priority?
@bu_ba_911
I dont know LUA and any programming language even at begginer stage:P
So i was watching what is going if some things running. When ur pet is dismissed and u try to revive it WoW throws error like "your pet isnt dead" and dont let me channel revive after 0.00-0.1 sec. So i thought i could write something like " if petdead or notexists then cast revive if revive notchannel then cast callpet " something like that. Iam rather man who trying to make something by practicing. I spent some time last night, looking into another profiles to get it working :P
And u are prob right that there is way to check if pet dead or not even if there isnt its frame:P But i dont.
Found at wowwiki:
@MentallyUnitIsDead("unit")
Does not work for ("pet") unless the pet bar is still active. Not sure why the petbar stays active when the pet dies -- it used to gray out, now it will disappear after some time or some event happens, but not immediately when the pet dies.
Iam using that one from Sheuron's profiles and it working on LFR, 10normal and 10hc.
Last edited by vorn10; 01-19-2012 at 10:09 AM.
Can you change the shift for aoe/single switching to work with combat to execute rotation, I saw it in dragonfires profile.
I had a problem when shift clicking someones name, it constantly kept switching and spamming chat. So I changed it to execute only in combat, but now I have the problem of not knowing if I'm in aoe or single target.
edit:
Here is some code I found, not sure if it is totally complete and ready for porting.
seal of right if aoe
iseal of truth if not aoeCode:f PQ_AOESwitchState and not PQ_Buffs[PQ_SealOfRight].hasBuff then return true end
Divine storm w/ aoe switchCode:if PQ_AOESwitchState then return false end if not PQ_Buffs[PQ_SealOfTruth].hasBuff then return true end
Crusader w/aoe switchCode:if PQ_AOESwitchState then return true end
edit: you could just put the pause on the shift button and move aoe switching to left ctrl, would be much easier than all this code.Code:if PQ_AOESwitchState then return false end if IsSpellInRange("Crusader Strike", "target") ~= 1 then return false end if PQ_HolyPower < 3 then return true end
edit2: rest of code i think
function events:MODIFIER_STATE_CHANGED(...)
--Change state on key release since people could hold key down so tap to change state
local key, state = ...
if key == 'LCTRL' and state == 0 then
if PQ_AOESwitchState then
PQ_AOESwitchState = nil
print('Rotation mode: \124cFFDBFA2ASingle target')
else
PQ_AOESwitchState = 1
print('Rotation mode: \124cFFFA652AArea of Effect')
end
end
endfunction PQ_Init()
PQ_AOESwitchState = nil
print(&apos;Rotation mode: \124cFFDBFA2ASingle target&apos
PQ_HolyPower = UnitPower(&apos;player&apos;, 9)
PQ_CheckForAllBuffs()
end
Last edited by averykey; 01-19-2012 at 12:07 PM.
onya shaman resto2 20012012.zip
fixed major chain heal bug, removed hex from default rotation
hold down ctrl for healing rain on cursor
in combat hold down shift to spam lightning bolt instead of healing to get back mana via telluric currents. lightning bolt priority is focus - target - tanks target
out of combat hold down shift to continue healing
earthshield will go on focus, if no focus set it will go on a tank who has aggro.
i agree that a toggleable "tank mode" where you only heal target and focus or say units with thier role set to tank could be useful, i may implement it later.
you could try this. just edit the time you want..
Code:-- Avoid sudden death on Ultraxion local fadingtime = select(7,UnitDebuff("player","Fading Light")) if fadingtime and fadingtime - GetTime() < 1.3 then RunMacroText("/click ExtraActionButton1") end -- Avoid Hour of Twilight on Ultraxion, Delete next 3 lines if you are working as tank local channelSpell, _, _, _, _, endTime = UnitCastingInfo("boss1") if channelSpell == GetSpellInfo("Hour of Twilight") and endTime/1000 - GetTime() < 1.3 then RunMacroText("/click ExtraActionButton1") end
Revive Pet / Call Pet ability:
Omg finally did it, ufff. If someone can confirm it working all time :PCode:local a = 0 if UnitIsDeadOrGhost("pet") then a = 5 end if not PQR_IsMoving(1) and a == 5 then CastSpellByID(982,"player") end if a == 0 and not UnitExists("pet") then CastSpellByID(883,"player") end
CastSpellByID(883,"player") it is for SLOT1 PET
I have something in the works that many of you may find useful. I'll keep you all posted.![]()
It seems to me that you could just have the old all in one pet macro in the macro part of the ability in question. Then all you would need to do is set a condition when it should attempt to execute the all in one macro.
Code:This will revive your pet if it's dead, call your pet if you don't have him out, or mend your pet. /cast [mod]Revive Pet; [@pet,dead]Revive Pet; [nopet]Call Pet 1; Mend Pet If your dead pet is out of range (i.e. cannot be found by the target command), you can hold down any modifier to force Revive Pet.