I'm ever in the process of trying to make my op routine run better and right now I'm trying to make my op only cast corrosive dart against strong mobs, and only if they don't have the debuff. This is part of the joe's routine, so it's structured differently than Wingit, but here's what I got: if (MercCast("Corrosive Dart", StrongOrGreater(CT), !CTDebuffs.Contains("Poisoned (Tech)"))) return; Can someone help me? The compiler doesn't like this. What am I doing wrong?
if (MercCast("Corrosive Dart", StrongOrGreater(CT) && !CTDebuffs.Contains("Poisoned (Tech)"))) return;
I'd also throw in a check on the mobs HP. You don't want to throw a corrosive dart on him if he's at 5% :0)
That's a good idea, but the that hasn't been as big of an energy drain lately. The real problem is the cost of dart vs when you go into packs of 4 weak mobs... that's a lot of wasted energy. The other problem, that I'm hoping this will solve, is that sometimes the bot/game bugs out... and the bot casts corrosive dart, my energy is consumed, but for whatever reason it doesn't hit the mob and give it the debuff. So the bot just sits there casting it over and over and over again, eating all my energy and doing 0 damage and I eventually die That happens rarely (even more rare since I adjusted the melee distance the bot fights at) but it's the source of an occasional death I'd like to eliminate.
can some one shoe me where to change the cast order of spells? and which files to I need to change in order for it to work>
It varies depending on what class you are playing and what combat routines you are using. You'd probably need to give a little more specifics before someone could help you.