- 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
37 lines
585 B
C#
37 lines
585 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public class NPCAbilityCastCondition
|
|
{
|
|
public NPCAbilityCastConditionType conditionType;
|
|
}
|
|
|
|
|
|
[System.Serializable]
|
|
public enum NPCAbilityCastConditionType
|
|
{
|
|
Mana,
|
|
Health,
|
|
MeleeDistance,
|
|
RangedDistance,
|
|
Cooldown
|
|
}
|
|
|
|
|
|
[System.Serializable]
|
|
public class ClassAbilityCastCondition
|
|
{
|
|
public ClassAbilityCastConditionType conditionType;
|
|
}
|
|
|
|
|
|
[System.Serializable]
|
|
public enum ClassAbilityCastConditionType
|
|
{
|
|
Mana,
|
|
Health,
|
|
Cooldown,
|
|
ClassResource
|
|
} |