2026-03-31 15:28:39 +08:00

38 lines
743 B
C#

/*
* @Author: 白哉
* @Description:
* @Date: 2025年10月12日 星期六 10:10:12
* @Modify:
*/
using System;
using MemoryPack;
using RuntimeData;
namespace Logic.Skill
{
public partial class CantMoveSkill : SkillBase
{
public CantMoveSkill()
{
IsPermanent = false;
TurnsLimit = 1;
Score = -5;
}
public override SkillType GetSkillType()
{
return SkillType.CANTMOVE;
}
public override void OnTurnStart(IdentifierBase identifier, MapData mapData)
{
var self = identifier as UnitData;
if (self == null) return;
self.ReduceActionPoint(ActionPointType.Move);
}
}
}