//ADD : float AttackRange
 public AttackTargetTask(IBasicAI AI, ControllEventInt eventAttack, int nRange, float fRange)
 {
     myAI         = AI;
     attackEvent  = eventAttack;
     nDiceRange   = nRange;
     fAttackRange = fRange;
 }
Beispiel #2
0
 public EnemyAttackTask(IBasicAI AI, int nAtkDiceRange, ControllEventInt eventAttack)
 {
     myAI        = AI;
     nDiceRange  = nAtkDiceRange;
     attackEvent = eventAttack;
 }