35 lines
616 B
C#
35 lines
616 B
C#
/*
|
|
* @Author: 白哉
|
|
* @Description:
|
|
* @Date: 2025年04月23日 星期三 21:04:18
|
|
* @Modify:
|
|
*/
|
|
|
|
|
|
using RuntimeData;
|
|
using System;
|
|
using MemoryPack;
|
|
|
|
|
|
namespace Logic.Skill
|
|
{
|
|
public partial class CriticalSkill : SkillBase
|
|
{
|
|
public CriticalSkill()
|
|
{
|
|
IsPermanent = false;
|
|
TurnsLimit = 1;
|
|
Score = 4;
|
|
}
|
|
|
|
public override SkillType GetSkillType()
|
|
{
|
|
return SkillType.CRITICAL;
|
|
}
|
|
|
|
public override float GetCriticalHitRate(UnitData self, MapData mapData)
|
|
{
|
|
return 0.3f;
|
|
}
|
|
}
|
|
} |