update 1.2.0
This commit is contained in:
@@ -89,7 +89,8 @@ namespace EmeraldAI
|
||||
/// </summary>
|
||||
void DamageTarget(GameObject Target)
|
||||
{
|
||||
var m_MeleeAbility = (MeleeAbility)EmeraldComponent.CombatComponent.CurrentEmeraldAIAbility;
|
||||
MeleeAbility m_MeleeAbility = EmeraldComponent.CombatComponent.CurrentEmeraldAIAbility as MeleeAbility;
|
||||
|
||||
if (m_MeleeAbility != null)
|
||||
{
|
||||
Transform TargetRoot = m_MeleeAbility.GetTargetRoot(Target);
|
||||
|
||||
Reference in New Issue
Block a user