something like
public TrinityPower GetBuffPower()
{
if (!Player.IsInTown)
{
if (Skills.DemonHunter.Discipline.CanCast() && Player.PrimaryResourcePct < 0.70)
return Discipline(Player.Position);
}
return DefaultBuffPower();
}
I guess.... I've spent like 10 mins on the scripts though, so I'm probably wrong. Try it and let me know what happens.