- NPC controller reworked completely - ability priority list for npc's - npc's with animations - damage over time effect added - burn, poison and bleed over time effects added
20 lines
329 B
C#
20 lines
329 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public class AbilityCastCondition
|
|
{
|
|
public AbilityCastConditionType conditionType;
|
|
}
|
|
|
|
|
|
[System.Serializable]
|
|
public enum AbilityCastConditionType
|
|
{
|
|
Mana,
|
|
Health,
|
|
MeleeDistance,
|
|
RangedDistance,
|
|
Cooldown
|
|
} |