- Necromancer class playable - Savage minion ability & npc - Mage minion ability & npc - rogue minion ability & npc - warrior minion ability & npc - golem minion ability & npc - minion abilities - Class resource (used to automatically summon minions based on the amount of souls drained, in case of necromancer) - class resource spender (auto cast from priority list) - class resource regen instant effect option
22 lines
621 B
C#
22 lines
621 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class MinionAnimatorControllerBase : NPCAnimatorControllerBase
|
|
{
|
|
|
|
protected virtual void OnSummonAnimationEvent()
|
|
{
|
|
if (!photonView.IsMine) return;
|
|
|
|
Debug.Log("Sending Notice On Attack Animation Event Trigger");
|
|
//send notice for brain/to set minion as ready for battle
|
|
((MinionNPCController)npcController).OnSummonAnimationEnded();
|
|
}
|
|
|
|
public override void SetTriggerBasedOnAbility(AbilityAnimationType animationType)
|
|
{
|
|
base.SetTriggerBasedOnAbility(animationType);
|
|
}
|
|
}
|