/* * @Author: 白哉 * @Description: * @Date: 2025年10月12日 星期六 10:10:12 * @Modify: */ using System; using MemoryPack; using RuntimeData; namespace Logic.Skill { public partial class PatchouliEarthSkill : SkillBase { public PatchouliEarthSkill() { IsLevelSkill = true; IsPermanent = true; TurnsLimit = 0; Score = 2; _levelLimit = 1; } public override SkillType GetSkillType() { return SkillType.PATCHOULIEARTH; } public override void AddLevel(MapData map, UnitData origin, UnitData self, int add) { if (self.GetSkill(SkillType.PHILOSTONE, out _)) _levelLimit = 2; else _levelLimit = 1; base.AddLevel(map, origin, self, add); } } }