void Hit() { if (aI_Controller.IsInRange()) { aI_Controller.combat_controller.DoDamage(target_combatControl); curTime = 0; } Finished(); }
void CheckTarget() { if (aI_Controller.IsInRange() == false) { aI_Controller.SetDestinationToTarget(); curTimer = 0; } else { Attack(); } }