update 1.2.0
This commit is contained in:
@@ -90,9 +90,11 @@ namespace EmeraldAI
|
||||
public float DeathDelayTimer;
|
||||
public int CurrentAnimationIndex = 0;
|
||||
public bool TargetDetectionActive;
|
||||
public bool TargetOutOfHeightRange;
|
||||
public float TooCloseDistance = 1;
|
||||
public float AttackDistance = 2.5f;
|
||||
public EmeraldAbilityObject CurrentEmeraldAIAbility;
|
||||
public List<AttackClass.AttackData> AvailableConditionAbilities = new List<AttackClass.AttackData>();
|
||||
EmeraldSystem EmeraldComponent;
|
||||
public AttackClass.AttackData CurrentAttackData;
|
||||
public Transform LastAttacker;
|
||||
@@ -327,7 +329,7 @@ namespace EmeraldAI
|
||||
DeathDelay = Random.Range(MinResumeWander, MaxResumeWander + 1);
|
||||
DeathDelayActive = true;
|
||||
EmeraldComponent.m_NavMeshAgent.ResetPath();
|
||||
Invoke(nameof(ClearTarget), 0.75f);
|
||||
Invoke(nameof(ClearTarget), 0.01f); //Was 0.75
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user