TH1/Unity/Assets/Scripts/TH1_Logic/Skill/AllSkill/KanakoMountainSkill.cs
2025-12-29 12:14:56 +08:00

41 lines
850 B
C#

/*
* @Author: 白哉
* @Description:
* @Date: 2025年11月15日 星期五
* @Modify:
*/
using System;
using MemoryPack;
using RuntimeData;
namespace Logic.Skill
{
public partial class KanakoMountainSkill : SkillBase
{
public KanakoMountainSkill()
{
IsPermanent = true;
TurnsLimit = 0;
Score = 2;
}
public override SkillType GetSkillType()
{
return SkillType.KANAKOMOUNTAIN;
}
public override void OnTurnStart(IdentifierBase identifier, MapData mapData)
{
var self = identifier as UnitData;
if (self == null || !self.IsAlive()) return;
var player = self.Player(mapData);
if (player == null) return;
//player.PlayerTechPoint += 2;
}
}
}