Hey, I'm about to release a Frost DK CC based on your warlock cc, can you explain me how can I convert this to CC? +plague_strike,if=dot.blood_plague.remains<3
@Cowdude I'm trying to write a CC for a Protadin based off you SimCraft base and FelMaster CC. i have it functional but i can not figure out how to add "add detection" so it will cast Hammer of the Righteous when 2+ adds and crusader strike when single target. i tried using this code SC.CastSpell("Hammer of the Righteous", a => SimcraftBase.Me.CurrentTarget != null && Me.CurrentTarget.IsAlive == true && adds.Count > 2, "Hammer of the Righteous"), but it wouldn't compile with an error for the term Me and Adds. any help would be greatly appreciated. if i can figure out how to do this would you mind if i released my CC into the pally section?
@ Tozededao i sent you a PM on an idea for the line of code for blood plague. i think i put the wrong name in for the debuff though, just change it to blood plague instead of whatever is after the debuff section
Use something like this: There is no 'easy' way to detect adds using this helper. This won't compile as I don't remember the exact property to use for "IsTargetingMeOrPartyMember". Read the API to fix it.
As I answered you on PM, I already have that, wanted to do some testing having the duration < 3 and compare them to see which one would be superior.
SC.CastSpell("Plague Strike", a => SC.TargetDebuffTimeLeft("debuff 1") < 3 || SC.TargetDebuffTimeLeft("debuff 2") < 3, "refresh blood plague with plague strike")
Correct, it is a trinket-use on weapon proc. Could you be a bit more specific on the useitembyid? I'm not that much of a programmer actually .
Thank you for the CC Cowdude, it helps me to preform beyond all others in raid. Wish more CC's was like this.
I didn't see anything regarding debuff ownership (at least anything lua related and my knowledge of the hb apis is non existant) and it's a big deal when you raid with others playing the same class/spec since the api Unitdebuff will check if that debuff is present or not.. not its owner so it won't refresh your dots if another warlock placed them on the boss. During my protected lua days I used this little script to be sure the boss didn't have my frost fever: /run z=1 while(z<=40)do y={UnitDebuff("target",z)} if y[1]=="Frost Fever" and y[8]=="player" then break else z=z+1 end end; if z>40 then CastSpellByName("Howling Blast") end; it scans all the 40 debuff a wow unit can have and if none of them is frost fever and is casted by you then it casts howling blast maybe you can add it somehow to the cc
I cant seem to able to change the felmaster idc with the demo version, could someone be so kind as to put it in a zip :s
Adding a new rotation is really easy. What it lacks is movement, targetting, pet handling, LoS/distance checks. That would turn it in a 'true' custom class.
well, i think most users use the no_combatbot so how about a trial of an optimized aff warlock cc by you, i mean if it gets enough support then dev it even further?
anyone how to fix the constant spam of drain soul when target is low on hp, it doesnt it let it channel just keeps recasting....this is when using the Afflic version