Torture is basically done
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user