编队系统大更新 基本快搞好了 准备做敌人和分数
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
// Shared types used by combat/effect/skill systems
|
||||
public enum Selector
|
||||
{
|
||||
Self,
|
||||
AllAllies,
|
||||
AllAlliesExceptSelf,
|
||||
AdjacentAllies,
|
||||
CurrentEnemies,
|
||||
AllEntities
|
||||
}
|
||||
|
||||
public enum EffectType
|
||||
{
|
||||
DamageSingleEnemy,
|
||||
DamageOverTimeEnemy,
|
||||
HealSingleSelf,
|
||||
HealOverTimeSelf,
|
||||
HealGroupSingle,
|
||||
HealGroupOverTime,
|
||||
BuffDuration,
|
||||
DebuffDuration,
|
||||
IncreaseManaOverTime,
|
||||
ReduceEnemyHealOverTime,
|
||||
ScoreMultiplier,
|
||||
AddScore
|
||||
}
|
||||
|
||||
public interface ICombatant
|
||||
{
|
||||
void ReceiveDamage(float amount, GameObject source);
|
||||
void ReceiveHeal(float amount, GameObject source);
|
||||
void ApplyBuff(Buff buff, GameObject source);
|
||||
void RemoveBuff(string buffId);
|
||||
}
|
||||
Reference in New Issue
Block a user