30 lines
913 B
C#
30 lines
913 B
C#
using System.Collections.Generic;
|
|
using Continentis.MainGame.Card;
|
|
using Continentis.MainGame.Character;
|
|
using Continentis.MainGame.Commands;
|
|
using SLSFramework.General;
|
|
|
|
namespace Continentis.Mods.Basic.Cards
|
|
{
|
|
public class HolyWaterPreparation : CardLogicBase
|
|
{
|
|
public override void SetUpLogicComponents()
|
|
{
|
|
AddLogicComponent<CardLogicComponent_GenerateCards>();
|
|
}
|
|
|
|
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
base.PlayEffect(targetList);
|
|
|
|
return Cmd.Sequential(
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
Cmd.Do(() =>
|
|
{
|
|
CardData holyWaterCardData = GetDerivativeCardData(0);
|
|
CardInstance.GenerateCardInstance(holyWaterCardData, user.team, "Hand");
|
|
})
|
|
);
|
|
}
|
|
}
|
|
} |