hazard
Well-Known Member
- Joined
- Sep 16, 2010
- Messages
- 1,854
- Reaction score
- 55
I can't seem to get my CC to cast tranquillity for the full duration. It only casts the
spell for 1 second then continues to cast other spells. Is there a line that I can add
to prevent it from casting for 5 seconds or so?
spell for 1 second then continues to cast other spells. Is there a line that I can add
to prevent it from casting for 5 seconds or so?
Code:
private bool Tranquility()
{
WoWPlayer tar = GetHealTarget();
if (tar != null)
{
if (!HazzDruidSettings.Instance.SpecRestoration)
{
return false;
}
else
{
if (FriendlyCount(40) >= 3 && HazzDruidSettings.Instance.UseTranquility && CC("Tranquility"))
{
Logging.Write("Tranquility");
C("Tranquility", Me);
return true;
}
return false;
}
}
else
{
return false;
}
}