torinohito
New Member
- Joined
- Aug 25, 2013
- Messages
- 49
- Reaction score
- 0
RRRIX would it be possible to incorporate this code for a furious charge spam? Credit Mrbubbel, with a small change.
Code:
public static bool CanUseFuriousCharge
{
get
{
if (UseOOCBuff)
return false;
var bestTarget = TargetUtil.GetBestPierceTarget(35f);
int unitsInFrontOfBestTarget = 0;
if (bestTarget != null)
unitsInFrontOfBestTarget = bestTarget.CountUnitsInFront();
return CanCast(SNOPower.Barbarian_FuriousCharge, CanCastFlags.NoTimer) &&
(unitsInFrontOfBestTarget >= 1 || CurrentTarget.HitPoints >= 50000000);
}
}






