ShortRound
New Member
- Joined
- Jun 14, 2011
- Messages
- 781
BG bear? Gimme gimme gimme.
Hey Hazard, got a problem here:
Char is set up as moonkin but doesnt fight back, only heals himself.
Log found here:
http://www.thebuddyforum.com/forum-...3-mein-charakter-greift-nicht.html#post467557
Any Idea whats wrong? Maybe specc?
Is the new feral cat/bear just for pve?
I've used this for like 2 days now and have NEVER seen it use Healing Touch for "oh shit" moments. It only spams Nourish. Is tthere a reeason?
if (tar.HealthPercent < HazzDruidSettings.Instance.HealingTouchPercent && Me.ActiveAuras.ContainsKey("Harmony"))
{
Logging.Write("Healing Touch");
C("Nourish", tar);
C("Healing Touch", tar);
return true;
}
having problems, set up the cc, go to attack and nothing, just stands there auto attacking!
probably b/c this, but it seems like it should still cast healing touch. I dont know anything about druids. How long does nourish take to cast?
Nourish is a 3 second cast and I have no idea why it will not cast straight after Nourish as it is set to in the CC.
I would try breaking up this up a little more. Your logging statement doesn't really help you track what is going on very well. All it really confirms for you is that the targets healthpercent is below your setting and that the target has harmony. You dont really know much about the spells being cast. One thing you could do is put a logging statement in your cast method. This way you don't need to include it before each cast b/c it is part of your casting routine anyway.
Also, I noticed you aren't using your cancast methods. They could be very useful here. So instead of telling your CC to cast nourish and then cast healing touch, you can say if it can cast nourish, do it. Then if it can cast healing touch, do it. I would then put a logging statement in between so I could see, nourish was successfully cast for this situation, and then see if it was followed by a healing touch.
I think this should help your debugging a bit.
if (tar.HealthPercent < HazzDruidSettings.Instance.HealingTouchPercent && Me.ActiveAuras.ContainsKey("Harmony"))
{
Logging.Write("Nourish");
C("Nourish", tar);
if (tar.HealthPercent < HazzDruidSettings.Instance.HealingTouchPercent && Me.ActiveAuras.ContainsKey("Harmony"))
{
Logging.Write("Healing Touch");
C("Healing Touch", tar);
return true;
}
}
while(Me.IsAlive && Me.IsCasting){
Threading.Sleep(100);
}