25 lines
871 B
C#
25 lines
871 B
C#
using Continentis.MainGame;
|
|
using Continentis.MainGame.Card;
|
|
using Continentis.MainGame.Character;
|
|
using Continentis.MainGame.Commands;
|
|
using SLSFramework.General;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Continentis.Mods.Basic.Cards.Cleric
|
|
{
|
|
public class BlessedHolyWater : CardLogicBase
|
|
{
|
|
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential);
|
|
mainGroup.AddCommand(new Cmd_PlayAnimation(user.characterView, "Skill"));
|
|
mainGroup.AddCommand(new Cmd_Function(() =>
|
|
{
|
|
CardData cardData = GetDerivativeCardData(0);
|
|
CardInstance.GenerateCardInstance(cardData, user.team, "Hand");
|
|
}));
|
|
|
|
return new List<CommandBase> { mainGroup };
|
|
}
|
|
}
|
|
} |