My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
https://imdasandmandeathknight.googl...com/svn/trunk/
Kids, parents, packing things up for a move, doc appointments, finals at school, step mom passing away, moms dog getting sick and dying, a wedding to attend, etc. Shit been crazy irl. Oh yea gm ninja transfering so my ambition for raiding went to shit for a few weeks.
Sent from my SAMSUNG-SGH-I317 using Tapatalk 4 Beta
My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
https://imdasandmandeathknight.googl...com/svn/trunk/
Gief it Daecaed![]()
I've been working on a rotation for personal use based off Rubims profile. I'm having a bit of trouble using the /rcast function.I've tried copying in the /rcast function used in the rotation functions but it doesn't work. Any idea which segment of code is needed to implements this into a profile?thank you
I've basically stopped playing WoW with no real interest in returning. I didn't hear back from Rubim in regards to sharing my edits which, unfortunately, I accidentley deleted when resetting PQR. Good luck with your profiles guys. I'll still be lurking around the forums, so if you have any questions or need help with coding something, gimme a holla.![]()
Bummer. Actually, Sandman did reply to you five days ago: http://www.ownedcore.com/forums/worl...ml#post2767031 ([PQR] Rubim Profiles)
Yea.....
(10)char
My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
https://imdasandmandeathknight.googl...com/svn/trunk/
Do you remember what you did? Like changing the priority, better diseases management...
Mean people.
Anyways, i'm trying a new Blood Boil thing, to better manage AoE Disease, without a object manager its kinda of hard.
==
Still thinking if i should do all specs on a single rotation. Not 100% sure of that yet.
==
New Spell Queue! Did a full rewrite of the code.
What you can expect:
- Spell Queue will know if you are queuing a target, area or selfspell and it will use accordingly (for people that want to implement my code on your profile, you just have to configure your area and self spells.
Last edited by Rubim; 06-18-2013 at 03:14 AM.
https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-bot-maps-profiles/385569-pqr-death-knight-monk-tank-dps-profiles.html#post2582063
http://pastebin.com/Dhaj5zWX
For area/self spells to work you need to edit R_AreaSpells and R_SelfSpells accordingly.Code:------------------ -- CONSOLE CAST -- ------------------ --For some reason, you have to use /rcast when PQR load the profile. If you don't you will get LUA BLOCKED if Rubim_SafeCast == nil then RunMacroText("/rcast 0") Rubim_SafeCast == 0 end --Table to store area spells. R_AreaSpells = { 43265 --Death n Decay } --Table to store spells that dont need a target. R_SelfSpells = { 48721, --Blood Boil 48792, --Icebound Fortitude 42650 --Army of the Dead } --Frame to GET the spell if you have casted if not Rubim_QueuedSpellFrame then Rubim_QueuedSpellFrame = CreateFrame("Frame") Rubim_QueuedSpellFrame:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED") Rubim_QueuedSpellFrame:SetScript("OnEvent",function(...) if select(7,...)==Rubim_QueuedSpell and select(3,...)=="player" then PQR_WriteToChat("|cff00ffffCasted: |r" .. GetSpellInfo(Rubim_QueuedSpell) .. "(|cffffb266" .. Rubim_QueuedSpell .. "|r)") Rubim_QueuedSpell = nil R_SpellType = nil end end) end --Slash command to cast SLASH_rcast1 = "/rcast" function SlashCmdList.rcast(rcast, editbox) if rcast == "0" then PQR_WriteToChat("|cff7777aaSpell Queue:|r |cff32cd32Loaded|r") elseif rcast ~= "0" then rcast = tonumber(rcast) if Rubim_QueuedSpell == nil then Rubim_QueuedSpell = rcast PQR_WriteToChat("|cffff8000Queued|r: " .. GetSpellInfo(Rubim_QueuedSpell) .. "(|cffffb266" .. Rubim_QueuedSpell .. "|r)") elseif Rubim_QueuedSpell == rcast then PQR_WriteToChat("|cffff8000Removed|r: " .. GetSpellInfo(Rubim_QueuedSpell) .. "(|cffffb266" .. Rubim_QueuedSpell .. "|r)") Rubim_QueuedSpell = nil end end end --Identify the type of the spell (area or self) and cast the spell if Rubim_QueuedSpell ~= nil then -- Area Spells Check for i=1, #R_AreaSpells do if Rubim_QueuedSpell == R_AreaSpells[i] then R_SpellType = "Area" end end -- Self Spells = for i=1, #R_SelfSpells do if Rubim_QueuedSpell == R_SelfSpells[i] then R_SpellType = "Self" end end if R_SpellType == nil and PQR_SpellAvailable(Rubim_QueuedSpell) and UnitExists("target") and IsSpellInRange(GetSpellInfo(Rubim_QueuedSpell), "target") == 1 then CastSpell(Rubim_QueuedSpell,"target") elseif R_SpellType == "Self" and PQR_SpellAvailable(Rubim_QueuedSpell) then CastSpell(Rubim_QueuedSpell) elseif R_SpellType == "Area" and PQR_SpellAvailable(Rubim_QueuedSpell) then CastSpell(Rubim_QueuedSpell) if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end end end
EDIT1: Forgot to remove a function that's only available on my profile.
Last edited by Rubim; 06-18-2013 at 03:52 AM.
https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-bot-maps-profiles/385569-pqr-death-knight-monk-tank-dps-profiles.html#post2582063