Torture is basically done
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2cb18cafbafa4abf59d881c0ca280feaa21d093bba43cb2caefcaff074e8bd68
|
||||
size 484662204
|
||||
oid sha256:68a9791cf9f91cc5970263116a8c808573097b254f64247d11ab4ab3eb3f9d02
|
||||
size 484663644
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
8
Assets/Mods/Basic/Characters/CombatBuffs/Assassin.meta
Normal file
8
Assets/Mods/Basic/Characters/CombatBuffs/Assassin.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0117a21d05f91074e9e621b631a13f43
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,3 +1,3 @@
|
||||
Key,English,Simplified Chinese,Traditional Chinese,Japanese,Korean,Vietnamese,Thai
|
||||
Card_Basic_Torture_DisplayName,Torture,折磨,,,,,
|
||||
Card_Basic_Torture_FunctionText,Test,抽一张牌,并折磨程序员,,,,,
|
||||
Card_Basic_Torture_FunctionText,Test,抽$Attribute("DrawCardAmount")张牌,\n给予所有敌人$Attribute("MagicNumber")层腐蚀。,,,,,
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 3 and column 52.
|
Reference in New Issue
Block a user