Now able to play Torture, has command order bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user