编队系统大更新 基本快搞好了 准备做敌人和分数

This commit is contained in:
FloatGaming
2025-11-10 22:41:13 +08:00
parent 7837c6adf0
commit 941b294fce
98 changed files with 8933 additions and 98 deletions
+37
View File
@@ -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);
}