Torture is basically done

This commit is contained in:
FrazeRIP
2025-11-05 00:44:59 -06:00
parent b77f1c074a
commit b23b02a3c1
6 changed files with 29 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
using Continentis.Mods.Basic.Buffs;
using MoreMountains.Tools;
using SLSFramework.General;
using System.Collections.Generic;
@@ -11,10 +12,15 @@ namespace Continentis.Mods.Basic.Cards
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = user.deckSubmodule.DrawCards(1);
mainGroup.AddCommand(new Cmd_PlayAnimation(user.characterView, "Skill"));
//Todo: All enemy apply debuff
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DrawCards(GetAttribute("DrawCardAmount")));
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
{
if (target != user)
{
CreateCharacterBuff<Corrosion>(GetAttribute("MagicNumber")).Apply(target, user, this);
}
}));
return mainGroup;
}
}