Now able to play Torture, has command order bug

This commit is contained in:
FrazeRIP
2025-11-04 23:59:09 -06:00
parent c5c3e2c5d8
commit ee92d30ddd
3 changed files with 9 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
using MoreMountains.Tools;
using SLSFramework.General;
using System.Collections.Generic;
@@ -10,8 +11,9 @@ namespace Continentis.Mods.Basic.Cards
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential, new Cmd_PlayAnimation(user.characterView, "Skill"));
mainGroup.AddCommand(new Cmd_DrawCards(user.deckSubmodule, 1));
CommandGroup mainGroup = user.deckSubmodule.DrawCards(1);
mainGroup.AddCommand(new Cmd_PlayAnimation(user.characterView, "Skill"));
//Todo: All enemy apply debuff
return mainGroup;
}