Files
Continentis/Assets/Mods/Basic/Cards/Scripts/General/Power/Stoneskin.cs
SoulliesOfficial ac98ec3aef 更新
2026-04-17 12:01:50 -04:00

25 lines
843 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Collections.Generic;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
using Continentis.Mods.Basic.Buffs;
using SLSUtilities.General;
namespace Continentis.Mods.Basic.Cards
{
/// <summary>
/// 石肤术:对使用者施加坚韧 Buff行动结束后获得格挡
/// </summary>
public class Stoneskin : CardLogicBase
{
private const string BUFF_WITHSTAND_STACK = "Buff_Withstand_Stack";
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
{
return Cmd.Sequential(
new Cmd_PlayAnimation(user.characterView, "Skill"),
Cmd.Do(() => CreateCharacterBuff<Withstand>(GetAttribute(BUFF_WITHSTAND_STACK)).Apply(user, user, this))
);
}
}
}