25 lines
760 B
C#
25 lines
760 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 Torture : CardLogicBase
|
|
{
|
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
|
{
|
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
|
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
|
|
{
|
|
user.deckSubmodule.DrawCards(1);
|
|
//Todo: Apply debuff
|
|
}));
|
|
|
|
return base.PlayEffect(targetList);
|
|
}
|
|
}
|
|
}
|