Hello there anyone got offsets for ptr 17247?
Hello there anyone got offsets for ptr 17247?
https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-bot-maps-profiles/422388-kickmydog-bm-mm-sv-hunter-profiles.html#post2793017
Guys, Crystal_Tech is helping me but he is not online for now. I have two issues with this destro warlock pvp profile teaked from Mavmin's pve profile. One, every time I toggle focus fear (mouse button 3, which is middle mouse) without selecting focus the profile stops working. Issue number two is when I toggle burst key ( Mouse button 5) Dark Soul: Instability is not working here, any help would be appreciated.
Destro Warlock PvP.zip
No it is built into the wow api, just no one has documented it on any sites.
docs/api/UnitGetIncomingHeals - World of Warcraft Programming: A Guide and Reference for Creating WoW Addons
Do or Die
[PQR] Monk Mistweaver
You can do it with creating your own slash commands in PQR and then macroing them in macros. Here's a good start: Creating a slash command - WoWWiki - Your guide to the World of Warcraft
![]()
Supporter of Frozen.
Thank you, thank you.
One more question - why does many function or init "abilites" start with "if SetFunctions == nil then..." and at the end of that file "SetFunctions = true"?
That is for declaring functions only one time? So the next recursions wont even look into that init file?
Best reagds
Is there some profile/code some can reference that would allow me to set up a function to check the last ability used?
something like;;
if not LastAbility(133) then
return true
end
The purpose of this is for a fire mage profile, the problem is refreshing Living Bomb will cause it to waste a heating up proc because it refreshes the bomb after a Fireball is casted when it needs to do Inferno Blast or Pyroblast to make use of the Heating Up proc.
I know I could order the priority of refreshing the bomb below IB and PYRO but that causes the bomb to needlessly be delayed and off for too long in times of good RNG on crits.
What I need is some function that allows me to tell Living Bomb to only cast if the last ability used was NOT fireball.
+5 reps to anyone who can help
Do or Die
[PQR] Monk Mistweaver
How would I set the variable to last spell used though? I got this:
problem is it's considering the whole combat log, not just the last ability used.Code:function LastAbilityFrame_OnEvent(self,event,...) if event == "COMBAT_LOG_EVENT_UNFILTERED" then local subEvent = select(2, ...) local source = select(5, ...) local destination = select(9, ...) local spell = select(13, ...) local damage = select(15, ...) local critical = select(21, ...) local buffList = buffList if subEvent == "SPELL_CAST_SUCCESS" and UnitName("player") == source and spell == GetSpellInfo(133) then Fireball = 1 else Fireball = 0 end end end
Such aggression! Chill friend, nobody is out to hurt you here.
How do I get PQR to work for the PTR? Can anyone help?
This in the data file:
This in the profile:Code:function LastSpell_OnEvent(self,event,...) if event == "COMBAT_LOG_EVENT_UNFILTERED" and select(2,...) == "SPELL_CAST_SUCCESS" and select(4,...) == UnitGUID("player") then lastSpellCast = select(13,...); lastUnit = select(9,...); end end
Then, you can call the variable lastSpellCast as you wish... your example given is if the last spell was not fireball... for example:Code:if not initialize then local LastSpell = CreateFrame("Frame"); LastSpell:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED"); LastSpell:SetScript("OnEvent", LastSpell_OnEvent); LastSpell:Show(); initialize = 1; end
Code:if lastSpellCast ~= GetSpellInfo(133) then do something... end
Edit: I just put lastUnit in there for your amusement,, however, to accomplish what you wanted in the first place it wouldnt be needed.
Last edited by tonytouch; 07-30-2013 at 03:55 PM.