feat(): 大量更新

This commit is contained in:
2025-10-15 21:31:13 +08:00
parent 546f08c53a
commit 668bfe12eb
178 changed files with 11318 additions and 446 deletions

View File

@@ -0,0 +1,24 @@
using UnityEngine;
namespace Gameplay
{
public static class EffectHandler
{
public static void Execute(EffectData effect, CardContext context)
{
switch (effect.type)
{
case EffectType.Damage:
context.Enemy.TakeDamage(effect.value);
break;
case EffectType.Heal:
context.Enemy.Heal(effect.value);
break;
default:
Debug.Log($"未知效果类型: {effect.type}");
break;
}
}
}
}