2025-11-09 23:47:10 -06:00
|
|
|
using Continentis.MainGame.Card;
|
|
|
|
|
using Continentis.MainGame.Character;
|
|
|
|
|
using SLSFramework.General;
|
|
|
|
|
using System.Collections.Generic;
|
2025-11-10 12:57:04 -05:00
|
|
|
using Continentis.MainGame.Commands;
|
2025-11-09 23:47:10 -06:00
|
|
|
|
2025-11-11 23:19:52 -06:00
|
|
|
namespace Continentis.Mods.Basic.Cards.Assassin
|
2025-11-09 23:47:10 -06:00
|
|
|
{
|
|
|
|
|
public class KnifeTrick : CardLogicBase
|
|
|
|
|
{
|
2025-11-15 12:17:34 -05:00
|
|
|
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
2025-11-09 23:47:10 -06:00
|
|
|
{
|
2025-11-10 12:57:04 -05:00
|
|
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
2025-12-14 00:51:34 -05:00
|
|
|
new Cmd_PlayAnimation(user.characterView, "Action"),
|
2025-11-10 12:57:04 -05:00
|
|
|
new Cmd_Function(() =>
|
|
|
|
|
{
|
2025-12-14 00:51:34 -05:00
|
|
|
CreateCharacterBuff<Buffs.KnifeTrick>(GetAttribute("BuffStack_KnifeTrick")).Apply(user, user, this);
|
2025-11-10 12:57:04 -05:00
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
return new List<CommandBase> { mainGroup };
|
2025-11-09 23:47:10 -06:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|