2026-04-16 22:16:41 +08:00

41 lines
828 B
C#

/*
* @Author: 白哉
* @Description:
* @Date: 2025年04月23日 星期三 21:04:18
* @Modify:
*/
using RuntimeData;
using System;
using MemoryPack;
namespace Logic.Skill
{
public partial class DuoSkill : SkillBase
{
public DuoSkill()
{
IsPermanent = true;
TurnsLimit = 0;
}
public override SkillType GetSkillType()
{
return SkillType.DUO;
}
public override bool IsLimitCount(UnitData self, MapData mapData, out int count)
{
count = 2;
return true;
}
public override bool IsTreatAsHero(MapData map, UnitData self, UnitData target, out GiantType giantType)
{
giantType = self.UnitFullType.GiantType;
return true;
}
}
}