also is ther a way to use spell id's in this to make it not need the english client and also for stuborn spells that refuse to work with the name eg. Frostfire Orb. Thanks.
It takes care of translating spell names by itself. Stick to 'english names' everywhere in your code and you'll be fine. I've tested it on the french client, works fine. There may be a few issues with pet spells though, I got to test that. Conic area spells (11 is range, 33 is the max relative facing towards target difference (=> 66? degrees cone): SC.CastConicSpell("Shadowflame", 11f, 33f, a => true, "ShadowFlame"), Instant or cast AOE spells (not channeling ones): SC.CastAreaSpell("Explosive Trap", 2, true, 1, 0.0, 40.0, a => SC.PlayerHasBuff("Trap Launcher"), "Explosive Trap"), Channeled AOE spells: SC.ChannelAreaSpell(string name, double radius, bool requiresTerrainClick, int minAffectedTargets, double minRange, double MaxRange, CanRunDecoratorDelegate cond, string label) minRange is usually 0, maxRange should be the max distance you can cast the spell at. Have a look at the warlock rotations for pet management (forget about the StopCast composite related to pets, I just removed it). Pet spells are a bit different from your spells; they usually look like 'Felstorm(Special Ability)' instead of 'Shadowbolt'. These are the same names you could use while writing an in-game macro, so that's quite easy to find them.
Thanks mate how do i do party buff check for arcane brilliance instead of just at me? also still not casting Frostfire Orb with the following code Code: SC.CastSpell("Frostfire Orb", a => SC.CanCast("Frostfire Orb"), "Frostfire Orb"),
ok sorted Frostfire orb you have to use flame orb odd but working now just need to figureout party buffing and im golden
hey cowdude do you have in this a check for if spell is off cooldown even if not usable? aka need a buff or gcd is active. etc.
There's no party buffing support for now. You can try this for cooldown management: double SpellCooldown(string name) Every time value is in second. By the way, the 'can cast' condition is already part of CastSpell. SC.CastSpell("My super 10min cooldown spell", a => true, "foo") <- would cast that spell as soon as it's available, and won't block your priority list if it's on cooldown.
ok thanks for telling me about the no party buff bit last thing before i can release this for others is this Code: SC.CastAreaSpell("Freeze", 8, true, 1, 0, 45, a => !SC.PlayerHasBuff("Fingers of Frost") && SC.CanCast("Deep Freeze"), "Freeze"), i need it to cast freeze when ever i dont have FOF and deep freeze is off cooldown but ingnor global cooldown on deep freeze if possible its not working as is any idea's? Thanks in advance. also Is there a place to put an AOE rotation?
The aoe rotation should belong to your normal rotation. Just put it at the very top if nothing is more important than AOE mobs when possible. Checking spell cooldown: SC.SpellCooldown("Deep Freeze") > 1 You can also use another behavior for a 'cast aoe spell on target location' instead: CastSpellAtLocation(string name, WoWPoint location, CanRunDecoratorDelegate cond, string label) or CastSpellAtTargetLocation(string name, CanRunDecoratorDelegate cond, string label)
View attachment DHXFrostInstanceDPS.cs ok here it is frostmage i have disabled aoe and freeze they work fine on dummys but really screwy in instanced would love if you could have alook cowdude and maybe sort a fix out Thanks
Please PM me your log and description of what's happening, and what's supposed to be 'screwy', I'll fix it. I'll also add something to handle party buffs as you did, thanks for the code.
Hi cowdude, thanks a lot for your work and efforts. One question about a modify of the warlock cs: there's a way to trigger the use of Soul Harvest when u have 2 or less Soul Shards and/or 80%hp?
Almost Have Arcane Sorted now too. , votes for next class/spec i should do? i have 10 85's so any is fair game.
Think you could figure out survival hunter? Keep meaning to give it a go but spend my whole day running MF dailies on all my alts.
View attachment 03-09-2011_10_07 5436 Log.zip ok screwyness of aoe is target selection, didnt really do it in this log but i will explain because it works but just weird sometime, it seems to inclued weird target like neutral worgen in SFK and also z +/- Mobbs too also mobs not pulled i would sugest ganging target selection to onlt include mobs targeting player and part members also make sure cc'd mobs are disallowed and select them in a xyz block of spell radius, the pet skill trys to spam but on wow getting message pet is out of range but can manually cast the spell at target location. also any chance of getting an aoe cast that aoe's aroung current target if its viable instead of just any viable aoe so you can try to maintain boss damage thanks
What do i put in keyspell if i want it to work for a pretalent tree toon but also after spec select for example a ret pally but usable for lvl 1.
View attachment DHXSurvivalHunter.cs Here you go Survival Hunter dps rotation aoe is disabled till i figure out how to do aoe detection around target. Next vote for class/spec to do now.