25 lines
816 B
C#
25 lines
816 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 FlashTerror : CardLogicBase
|
|
{
|
|
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
|
new Cmd_ParamFunction<CharacterBase>(0.01f, target =>
|
|
{
|
|
if (target != user)
|
|
{
|
|
CreateCharacterBuff<Buffs.Vulnerable>(GetAttribute("BuffStack")).Apply(target, user, this);
|
|
}
|
|
}));
|
|
return new List<CommandBase> { mainGroup };
|
|
}
|
|
}
|
|
}
|