22 lines
737 B
C#
22 lines
737 B
C#
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
|
|
{
|
|
public class IdentifyWeakness : CardLogicBase
|
|
{
|
|
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
return ForEachTarget(targetList, target => Cmd.Parallel(
|
|
new Cmd_PlayAnimation(user.characterView, "Action"),
|
|
Cmd.After(0.1f, () =>
|
|
CreateCharacterBuff<Vulnerable>(GetAttribute("BuffCount_Vulnerable")).Apply(target, user, this)
|
|
)
|
|
));
|
|
}
|
|
}
|
|
} |