2025-07-24 02:21:31 +08:00

41 lines
778 B
C#

/*
* @Author: 白哉
* @Description:
* @Date: 2025年04月23日 星期三 21:04:18
* @Modify:
*/
using RuntimeData;
using System;
namespace Logic.Skill
{
[Serializable]
public class PeaceSkill : SkillBase
{
public PeaceSkill()
{
IsPermanent = true;
TurnsLimit = 0;
Score = -10;
}
public override SkillType GetSkillType()
{
return SkillType.PEACE;
}
public override void OnTurnStart(UnitData self, MapData mapData)
{
base.OnTurnStart(self, mapData);
self.AP = 0;
}
public override bool IsLimitSelfCounterAttack(UnitData self, MapData mapData)
{
return true;
}
}
}