禁疗状态

This commit is contained in:
xianyi
2025-09-01 15:41:17 +08:00
parent 4adfba03f3
commit 6d40a8075f
9 changed files with 131 additions and 1 deletions

View File

@@ -856,6 +856,9 @@ namespace TcgEngine.Gameplay
if (target.HasStatus(StatusType.Invincibility))
return;
if (target.HasStatus(StatusType.NoTreatment)) // 禁疗时不会治疗
return;
target.damage -= value;
target.damage = Mathf.Max(target.damage, 0);