Torture is basically done
This commit is contained in:
@@ -19,6 +19,7 @@ MonoBehaviour:
|
||||
cardType: 10
|
||||
keywords:
|
||||
- TargetSelf
|
||||
- TargetEnemies
|
||||
cardSprite: {fileID: 21300000, guid: 38466aa09b7b3dc468a47c6ca7251524, type: 3}
|
||||
cardLayoutTags: []
|
||||
functionText: Card_Basic_Torture_FunctionText
|
||||
@@ -27,7 +28,7 @@ MonoBehaviour:
|
||||
variableAttributes:
|
||||
dictionaryList:
|
||||
- Key: TargetCount
|
||||
Value: 0
|
||||
Value: -1
|
||||
index: 0
|
||||
isKeyDuplicated: 0
|
||||
- Key: StaminaCost
|
||||
@@ -42,6 +43,10 @@ MonoBehaviour:
|
||||
Value: 1
|
||||
index: 3
|
||||
isKeyDuplicated: 0
|
||||
- Key: MagicNumber
|
||||
Value: 1
|
||||
index: 4
|
||||
isKeyDuplicated: 0
|
||||
dividerPosProp: 0.5
|
||||
originalAttributes:
|
||||
dictionaryList: []
|
||||
|
||||
@@ -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