48 lines
957 B
C#
48 lines
957 B
C#
/*
|
|
* @Author: 白哉
|
|
* @Description:
|
|
* @Date: 2025年11月15日 星期五
|
|
* @Modify:
|
|
*/
|
|
|
|
|
|
using System;
|
|
using MemoryPack;
|
|
using RuntimeData;
|
|
|
|
|
|
namespace Logic.Skill
|
|
{
|
|
public partial class KanakoSittingSkill : SkillBase
|
|
{
|
|
public KanakoSittingSkill()
|
|
{
|
|
IsPermanent = true;
|
|
TurnsLimit = 0;
|
|
Score = 2;
|
|
}
|
|
|
|
public override SkillType GetSkillType()
|
|
{
|
|
return SkillType.KANAKOSITTING;
|
|
}
|
|
|
|
public override bool GetFinalMoveRange(UnitData self, out int finalRange)
|
|
{
|
|
finalRange = 0;
|
|
return true;
|
|
}
|
|
|
|
public override int GetExtraAttackRange(MapData map,UnitData self)
|
|
{
|
|
return self.GetMoveRange(map);
|
|
}
|
|
|
|
/*public override float GetDefenseMultiplicationParam(MapData mapData, UnitData self, UnitData target = null)
|
|
{
|
|
return 4;
|
|
}*/
|
|
}
|
|
}
|
|
|