36 lines
708 B
C#

/*
* @Author: 白哉
* @Description:
* @Date: 2025年04月23日 星期三 21:04:18
* @Modify:
*/
using RuntimeData;
using System;
using MemoryPack;
namespace Logic.Skill
{
public partial class OceanMoveSkill : SkillBase
{
public OceanMoveSkill()
{
IsPermanent = true;
TurnsLimit = 0;
Score = 4;
}
public override SkillType GetSkillType()
{
return SkillType.OCEANMOVE;
}
public override bool IsCanMoveOnTerrain(UnitData self, MapData mapData, TerrainType terrainType)
{
if (terrainType == TerrainType.DeepSea) return true;
return false;
}
}
}