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