37 lines
782 B
C#
37 lines
782 B
C#
/*
|
|
* @Author: 白哉
|
|
* @Description:
|
|
* @Date: 2025年10月12日 星期六 10:10:12
|
|
* @Modify:
|
|
*/
|
|
|
|
|
|
using System;
|
|
using MemoryPack;
|
|
using RuntimeData;
|
|
using TH1_Logic.Core;
|
|
|
|
|
|
namespace Logic.Skill
|
|
{
|
|
public partial class MeilingCounterSkill : SkillBase
|
|
{
|
|
public MeilingCounterSkill()
|
|
{
|
|
IsPermanent = true;
|
|
TurnsLimit = 0;
|
|
Score = 2;
|
|
}
|
|
|
|
public override SkillType GetSkillType()
|
|
{
|
|
return SkillType.MEILINGCOUNTER;
|
|
}
|
|
|
|
public override void AfterActiveAttacked(MapData mapData, AttackInfo attackInfo)
|
|
{
|
|
attackInfo.DamageTarget.AddSkill_Legacy(SkillType.ATTACKUP, mapData,false,1,false,-1,false,SpecialAddSkillType.AddTurnLimit,0);
|
|
}
|
|
}
|
|
}
|