禁疗状态
This commit is contained in:
@@ -36,7 +36,9 @@ namespace TcgEngine
|
||||
{
|
||||
if (type == EffectStatType.Attack)
|
||||
target.attack += ability.value;
|
||||
if (type == EffectStatType.HP)
|
||||
if (type == EffectStatType.HP)
|
||||
if (target.HasStatus(StatusType.NoTreatment)) // 禁疗时不会增加hp
|
||||
return;
|
||||
target.hp += ability.value;
|
||||
if (type == EffectStatType.Mana)
|
||||
target.mana += ability.value;
|
||||
|
||||
Reference in New Issue
Block a user