RiftMayhem/Assets/Scripts/NPC/NPCControllers_v2/PlayerMinion/MinionAnimatorControllerBase.cs
Pedro Gomes e1081a2bf4 Necromancer and Minions update
- 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
2024-07-22 16:46:13 +01:00

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);
}
}