24 lines
782 B
C#
24 lines
782 B
C#
using Continentis.MainGame.Card;
|
|
using Continentis.MainGame.Character;
|
|
using SLSFramework.General;
|
|
using System.Collections.Generic;
|
|
using Continentis.MainGame.Commands;
|
|
|
|
namespace Continentis.Mods.Basic.Cards
|
|
{
|
|
public class KnifeTrick : CardLogicBase
|
|
{
|
|
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
new Cmd_Function(() =>
|
|
{
|
|
CreateCharacterBuff<Buffs.KnifeTrick>(GetAttribute("BuffStack_KnifeTrick")).Apply(user, user, this);
|
|
}));
|
|
|
|
return new List<CommandBase> { mainGroup };
|
|
}
|
|
}
|
|
}
|