2025-11-04 00:11:29 -06:00
|
|
|
using Continentis.MainGame.Card;
|
|
|
|
|
using Continentis.MainGame.Character;
|
|
|
|
|
using Continentis.MainGame.Commands;
|
2025-11-05 00:44:59 -06:00
|
|
|
using Continentis.Mods.Basic.Buffs;
|
2025-11-04 00:11:29 -06:00
|
|
|
using SLSFramework.General;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2025-11-11 23:52:58 -06:00
|
|
|
namespace Continentis.Mods.Basic.Cards.Assassin
|
2025-11-04 00:11:29 -06:00
|
|
|
{
|
|
|
|
|
public class Torture : CardLogicBase
|
|
|
|
|
{
|
2025-11-15 12:17:34 -05:00
|
|
|
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
2025-11-04 00:11:29 -06:00
|
|
|
{
|
2025-11-10 01:06:46 -06:00
|
|
|
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DrawCards(GetAttribute("DrawCount")));
|
2025-11-05 00:44:59 -06:00
|
|
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
2025-11-11 00:15:16 -06:00
|
|
|
new Cmd_ParamFunction<CharacterBase>(0.01f, target =>
|
2025-11-05 00:44:59 -06:00
|
|
|
{
|
2025-12-13 23:28:23 -05:00
|
|
|
CreateCharacterBuff<Corrosion>(GetAttribute("BuffStack")).Apply(target, user, this);
|
2025-11-05 00:44:59 -06:00
|
|
|
}));
|
2025-11-08 09:50:55 -05:00
|
|
|
return new List<CommandBase> { mainGroup };
|
2025-11-04 00:11:29 -06:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|