Hey quys i have a question can i use this scripts when i levl or only when i hit 85? I have a hunter paladin and warrior to levl. or do i need to do somfing special add new spells or ?
And are there a script for a feral dps druid?
Dotdk
since i got a good review on my Spell Reflect code, here's the Disarm code that should go along with it..... This one has even more of a chance of being buggy than Spell Reflect
Spell Name: Disarm
Spell ID: 676
Target: Custom
LUA Code:
*edit*Code:local DisarmDebuffs = {31884, 59016, 18499, 2825, 32182, 2825, 32182, 51713, 51271, 33702, 20572, 33697, 99740, 1719, 46924, 12472 } local DisarmCD = GetSpellCooldown(676) local stance = GetShapeshiftForm() if DisarmCD == 0 then for _, v in ipairs(DisarmDebuffs) do for i = 1, 5 do local aTarget = "arena"..tostring(i) local ainRange = IsSpellInRange(676, aTarget) if UnitExists(aTarget) and ainRange == 1 then if UnitBuffID(aTarget, v) then if stance == 2 then PQR_CustomTarget = aTarget return true else CastSpellByID(71, "player") return true end end end end local tinRange = IsSpellInRange(676, "target") if UnitExists("target") and tinRange == 1 then if UnitBuffID("target", v) then if stance == 2 then PQR_CustomTarget = "target" return true else CastSpellByID(71, "player") return true end end end local finRange = IsSpellInRange(676, "focus") if UnitExists("target") and finRange == 1 then if UnitBuffID("focus", v) then if stance == 2 then PQR_CustomTarget = "focus" return true else CastSpellByID(71, "player") return true end end end end elseif stance == 2 then if select(5, GetTalentTabInfo(3)) < select(5, GetTalentTabInfo(1)) then CastSpellByID(2457, "player") return false end end
will anyone be able to test this and let me know if it worked or not?
@Bu_Ba can u pls explain to me this code for counterspell?
local InterruptSpells = { 635, 47540, 19750, 82326, 51505, 62809, 331, 77472, 48500, 8936, 5782 }
if select(2, GetSpellCooldown(2139)) == 0 then
for y=1, 5 do
local aTarget = "arena"..tostring(y)
if UnitExists(aTarget) and IsSpellInRange(tostring(GetSpellInfo(2139)), aTarget) == 1 then
local spellName, _, _, _, _, endCast, _, _, canInterrupt = UnitCastingInfo(aTarget)
for i, v in ipairs(InterruptSpells) do
if GetSpellInfo(v) == spellName and canInterrupt == 1 then
if (endCast/1000) - GetTime() < 0.5 then
PQR_CustomTarget = aTarget
return true
end
end
end
end
end
end
this work for my target or for all ?
does anyone have a link for disc pve or druid profiles?
commented it.... this ONLY works in ArenaCode:local InterruptSpells = { 635, 47540, 19750, 82326, 51505, 62809, 331, 77472, 48500, 8936, 5782 } if select(2, GetSpellCooldown(2139)) == 0 then -- checks if Counterspell is off Cooldown for y=1, 5 do local aTarget = "arena"..tostring(y) -- sets our current target we're looking at to arena(1-5) [Only Works in Arena] if UnitExists(aTarget) and IsSpellInRange(tostring(GetSpellInfo(2139)), aTarget) == 1 then -- Check is the Unit Frame Exists (Good for 2v2, 3v3, 5v5) [This only sees invisible people when the leave stealth] local spellName, _, _, _, _, endCast, _, _, canInterrupt = UnitCastingInfo(aTarget) for i, v in ipairs(InterruptSpells) do -- Now we start the list of what we're looking for on each target if GetSpellInfo(v) == spellName and canInterrupt == 1 then -- We're checking that the spell the target is casting is on our list, and it's interrupt-able if (endCast/1000) - GetTime() < 0.5 then -- We cast is only when there's 1/2 a second left on their Cast (No very smart for Channels, but this is a beta code) PQR_CustomTarget = aTarget -- Setting our Custom Target to our current target is all checks pan out return true -- Casting the Spell [Make sure your Ability Target is set to Custom] end end end end end end
@Boss
Your SMFBeta profile is ****ing insane! I've got a 403 Souldrinker in MH and 378 HoT sword in OH and I'm bursting 50k+ on HM Wlord and sustaining 40k+ it's rivaling my Arms SD DPS >_> Im hoping to get a 403 Nokaled or another 403 SD to really see dps.
next week HM HoM is auto mine so if i get that as my BiS MH and Kaled in OH DPS will increase dramatically. I don't see any problems with that SMF or TG Beta profiles and rarely see the word "cats" spam my chatwindow lol.. Dunno if that's a part of a code you left in or not but apart from that no problems whatsoever with either of the 2.
On another note are you using the Simcraft rotation for SMF? Just wondering.
As always ****ing great job, man.