22 lines
731 B
C#
22 lines
731 B
C#
using Continentis.MainGame.Card;
|
|
using Continentis.MainGame.Character;
|
|
using Continentis.MainGame.Commands;
|
|
using SLSFramework.General;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Continentis.Mods.Basic.Cards
|
|
{
|
|
public class AmbushStance : CardLogicBase
|
|
{
|
|
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
|
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
|
|
{
|
|
CreateCharacterBuff<Buffs.AmbushStance>(GetAttribute("BuffStack")).Apply(target, user, this);
|
|
}));
|
|
return new List<CommandBase> { mainGroup };
|
|
}
|
|
}
|
|
}
|