Can anyone look at this code for Rain of Fire and tell me if there is any reason it wont cast in certain situations ? I've noticed it bug on Jin'Rokh the Breaker and on Sha of Anger
Basically the rotation will acknowledge that the key is down, but its like it cant target so it keeps trying to cast it over and over, cant recreate it on a training dummy.
or has anyone else had any bugs with AoE targetted spells ?Code:if IsLeftShiftKeyDown() and PQR_SpellAvailable(5740) then CastSpellByName(GetSpellInfo(5740)) if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end end
Last edited by Mavmins; 04-03-2013 at 11:07 AM.
New update coming out soon, been working hard on all of the paladin profiles and the warrior profiles.
Will be adding a healing customization, what I have implemented at the moment
Holy will also have eternal flame blanketing, I figured out a the fix to my problem. Added better aoe targeting, it chooses the group of people that need the most healing for maximum hps output.PHP Code:
HolyShock = 99
HolyShockAoe = 98
HolyLight = 96
DivineLight = 68
FlashofLight = 38
WordofGlory1 = 95
WordofGlory2 = 91
WordofGlory3 = 87
LightofDawn1 = 95
LightofDawn2 = 92
LightofDawn3 = 88
EternalFlame1 = 95
EternalFlame2 = 91
EternalFlame3 = 87
ExecutionSentence = 58
ExecutionSentencePlayer = 40
LightsHammer = 90
HolyPrismSingle = 90
HolyPrismAoe = 95
LayonHands = 15
DivineShield = 10
SacredShield = 75
HolyRadianceSpamUse = false
HolyRadiance = 82
HolyRadianceSpam = 45
DivinePlea = false
DivinePlea = 50 --Will only use if raid health is above this value
DivinePleaMana = 75
CleanseUse = false
Cleanse = 75 --Will only use if raid health is above this value
if CleanseUse == true then
CleanseRightAway {}
DontCleanse {}
end
return true
Still need to add tank/raid modes so you can focus between tank healing or the raid. Will be toggle-able with ctrl or something.
Ret profile has been updated for t15 set, pulling some pretty good numbers. 176k on the first boss in tot, and 144k on duruma with 504 gear.
Will have cooldown/healing customization, updated hand of freedom to work with almost all the snares/etc..
Prot profile has a few updates, will also have cooldown/healing customization.
The warrior profiles are mostly done I just need to test and do the tweaking to make them better.
Sorry I haven't posted in a while, been leveling a warrior to 90 so I can do lots of testing on the warrior profiles.
Thank you paintpauller for the help, I really appreciate the doublejep code.
Anyone have a fix for broken hitboxes on bosses, I would like to have range checks in raids but I can't atm or the profile will stop on certain bosses.
If anyone wants special things added to the profiles please send me a message.
edit: would really like input from a holy paladin 2200+ and a ret 2200+.
My Svn - https://subversion.assembla.com/svn/averykeys-svn/
Avery did you see my post a few pages ago about how to fix Glyph of mass exo?
put this under the HaveGlyph() function.
then go through the profile and replace all of the 879s with exoIDPHP Code:
exoID = 879
if HaveGlyph(122028) then
exoID = 122032
end
Heres the fixed profile.
https://dl.dropbox.com/u/34600079/retfix.zip
WoW LUA Script Developer
Need Something Custom? WarmaneScripts.com
Skype - grapejuice111
Does anyone know how i could add a "if arena player is casting frost bomb on me, cast hand of freedom on myself"? Thank you in advance!
there is no way to tell that frost bomb is being casted on you, but here is something that will use Hand of Freedom, and Emancipate if they are casting frost bomb.
and seeing on how we cant tell the target of someone elses spell, here is something that you might want to use instead. it will use Hand of Freedom, and Emancipate if you have the debuff frost bomb.PHP Code:
for i=1,5 do
local customTarget = "arena"..i
local castName, _, _, _, castStartTime, castEndTime, _, _, castInterruptable = UnitCastingInfo(customTarget)
if castName = GetSpellInfo(112948) then -- Someone is casting Frost Bomb in the arena
if PQR_SpellAvailable(1044) then -- Check if Hand of Freedom is available
CastSpellByID(1044, "player") -- Cast Hand of Freedom
elseif PQR_SpellAvailable(121783) then -- Hand of Freedom is not available, check if Emancipate is available
CastSpellByID(121783, "player") -- Cast Emancipate
end
end
end
PHP Code:
local Frost_Bomb = UnitDebuffID("player",112948)
if Frost_Bomb then -- We have the debuff Frost Bomb!
if PQR_SpellAvailable(1044) then -- Check if Hand of Freedom is available
CastSpellByID(1044, "player") -- Cast Hand of Freedom
elseif PQR_SpellAvailable(121783) then -- Hand of Freedom is not available, check if Emancipate is available
CastSpellByID(121783, "player") -- Cast Emancipate
end
end
Last edited by paintpauller; 04-04-2013 at 06:15 AM.
Alpha Profiles: - All profiles with PQInterface support!
Alpha Interrupt: https://goo.gl/OLhGi - Ignore List, Random Percentage, Time Delays, & much More!
Alpha Utilities: https://goo.gl/rt7WA - Farming, Prospecting, Disenchanting, Milling, & Questing
Alpha Moonkin: https://goo.gl/gjxw0 - Optimized DPS Rotation for PvE, Mashup of 3 Profiles
Avery's Ret: https://goo.gl/GhurM - My take on Avery's outstanding Ret profile with PQI
It's a bit of time that i lurk in this forum... and so, now i want to give my 2 cents.
I found this code in this thread and modified it to multidot bosses on Megaera and Council.
I play SV hunter on these encounters so, this code will just apply Serpent Sting on these targets.
That code worked fine. I hope that someone can help me improving it.
Target must be type: CUSTOMCode:--Multidot with Serpent Sting for i=1,4 do local bossCheck = "boss"..i if UnitExists(bossCheck) and not UnitIsDeadOrGhost(bossCheck) and not PQR_IsOutOfSight(bossCheck, 1) and UnitCanAttack("player", bossCheck) == 1 and IsSpellInRange(GetSpellInfo(1978), bossCheck) == 1 and not UnitDebuffID(bossCheck, 1978, "PLAYER") then CastSpellByName(tostring(GetSpellInfo(1978)),bossCheck) end end
I have in mind to write code for hunters (ofc can be good for other classes) about these all new encounters in ToT, like damage CDs and protective CDs usage.![]()
What do you mean? The unfiltered combat log can show this info easy
Obviously this isn't the whole code, but that should give you an idea, I have it set up as a function so any spell id can be checked and countered.Code:if event == "COMBAT_LOG_EVENT_UNFILTERED" then if type == "SPELL_CAST_SUCCESS" or type == "SPELL_AURA_APPLIED" then if destGUID == UnitGUID("player") then local spellId = select(12, ...) if 113092 == spellId then --Frost Bomb ID
Do or Die
[PQR] Monk Mistweaver
That only shows who the target of a spell is after it has been cast, not who the target is during the cast time of the spell. It's impossible to tell who the target of a spell is during a cast so you can't, for example, cast HoF on yourself if a mage is casting frost bomb on you. You can however cast HoF on yourself if the cast has actually completed and you are the target.
Last edited by DiabloFan; 04-04-2013 at 05:49 AM.
he wanted to use HoF when a arena enemy is CASTING Frost Bomb and not after it was casted thus as far as i know there is no way to to tell the target of a spell B4 its successfully casted. after its casted there is no need to check the target of the spell because you can just check for the debuff and there is no need to make a frame and look for the combat log events.
Alpha Profiles: - All profiles with PQInterface support!
Alpha Interrupt: https://goo.gl/OLhGi - Ignore List, Random Percentage, Time Delays, & much More!
Alpha Utilities: https://goo.gl/rt7WA - Farming, Prospecting, Disenchanting, Milling, & Questing
Alpha Moonkin: https://goo.gl/gjxw0 - Optimized DPS Rotation for PvE, Mashup of 3 Profiles
Avery's Ret: https://goo.gl/GhurM - My take on Avery's outstanding Ret profile with PQI
Perhaps this will work, added a target check and ensure it's the end of the cast
PHP Code:
for i=1,5 do
local customTarget = "arena"..i
local castName, _, _, _, castStartTime, castEndTime, _, _, castInterruptable = UnitCastingInfo(customTarget)
if castName = GetSpellInfo(112948) -- Someone is casting Frost Bomb in the arena
and UnitIsUnit(customTarget.."target", "player") -- They are targeting you
and ((castEndTime / 1000) - GetTime()) < 0.3 -- Less than .3 seconds left on the cast
then
if PQR_SpellAvailable(1044) then -- Check if Hand of Freedom is available
CastSpellByID(1044, "player") -- Cast Hand of Freedom
elseif PQR_SpellAvailable(121783) then -- Hand of Freedom is not available, check if Emancipate is available
CastSpellByID(121783, "player") -- Cast Emancipate
end
end
end
Last edited by vitalic; 04-04-2013 at 06:56 AM.
one of the arguments in spell_casting combat log does indeed give the target of who he is casting the spell on
Thank you so much for all the reply's! I'm going to try a few out! Emancipate won't do anything for this situation, the reason you want to cast HoF is for them to either have to spell steal it and use a GCD, which gives the healer more time to dispel or to not be able to deep you.