Torture is basically done
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
# ---> Unity
|
# ---> Unity
|
||||||
# This .gitignore file should be placed at the root of your Unity project directory
|
# This .gitignore file should be placed at the root of your Unity project directory
|
||||||
#
|
#
|
||||||
@@ -75,4 +76,4 @@ crashlytics-build.properties
|
|||||||
# Temporary auto-generated Android Assets
|
# Temporary auto-generated Android Assets
|
||||||
/[Aa]ssets/[Ss]treamingAssets/aa.meta
|
/[Aa]ssets/[Ss]treamingAssets/aa.meta
|
||||||
/[Aa]ssets/[Ss]treamingAssets/aa/*
|
/[Aa]ssets/[Ss]treamingAssets/aa/*
|
||||||
/[Aa]ssets/[Ee]xportedMods/*
|
/[Aa]ssets/[Ee]xportedMods/**
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:2cb18cafbafa4abf59d881c0ca280feaa21d093bba43cb2caefcaff074e8bd68
|
oid sha256:68a9791cf9f91cc5970263116a8c808573097b254f64247d11ab4ab3eb3f9d02
|
||||||
size 484662204
|
size 484663644
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ MonoBehaviour:
|
|||||||
cardType: 10
|
cardType: 10
|
||||||
keywords:
|
keywords:
|
||||||
- TargetSelf
|
- TargetSelf
|
||||||
|
- TargetEnemies
|
||||||
cardSprite: {fileID: 21300000, guid: 38466aa09b7b3dc468a47c6ca7251524, type: 3}
|
cardSprite: {fileID: 21300000, guid: 38466aa09b7b3dc468a47c6ca7251524, type: 3}
|
||||||
cardLayoutTags: []
|
cardLayoutTags: []
|
||||||
functionText: Card_Basic_Torture_FunctionText
|
functionText: Card_Basic_Torture_FunctionText
|
||||||
@@ -27,7 +28,7 @@ MonoBehaviour:
|
|||||||
variableAttributes:
|
variableAttributes:
|
||||||
dictionaryList:
|
dictionaryList:
|
||||||
- Key: TargetCount
|
- Key: TargetCount
|
||||||
Value: 0
|
Value: -1
|
||||||
index: 0
|
index: 0
|
||||||
isKeyDuplicated: 0
|
isKeyDuplicated: 0
|
||||||
- Key: StaminaCost
|
- Key: StaminaCost
|
||||||
@@ -42,6 +43,10 @@ MonoBehaviour:
|
|||||||
Value: 1
|
Value: 1
|
||||||
index: 3
|
index: 3
|
||||||
isKeyDuplicated: 0
|
isKeyDuplicated: 0
|
||||||
|
- Key: MagicNumber
|
||||||
|
Value: 1
|
||||||
|
index: 4
|
||||||
|
isKeyDuplicated: 0
|
||||||
dividerPosProp: 0.5
|
dividerPosProp: 0.5
|
||||||
originalAttributes:
|
originalAttributes:
|
||||||
dictionaryList: []
|
dictionaryList: []
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using Continentis.MainGame.Card;
|
using Continentis.MainGame.Card;
|
||||||
using Continentis.MainGame.Character;
|
using Continentis.MainGame.Character;
|
||||||
using Continentis.MainGame.Commands;
|
using Continentis.MainGame.Commands;
|
||||||
|
using Continentis.Mods.Basic.Buffs;
|
||||||
using MoreMountains.Tools;
|
using MoreMountains.Tools;
|
||||||
using SLSFramework.General;
|
using SLSFramework.General;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -11,10 +12,15 @@ namespace Continentis.Mods.Basic.Cards
|
|||||||
{
|
{
|
||||||
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
||||||
{
|
{
|
||||||
CommandGroup mainGroup = user.deckSubmodule.DrawCards(1);
|
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DrawCards(GetAttribute("DrawCardAmount")));
|
||||||
mainGroup.AddCommand(new Cmd_PlayAnimation(user.characterView, "Skill"));
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||||
|
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
|
||||||
//Todo: All enemy apply debuff
|
{
|
||||||
|
if (target != user)
|
||||||
|
{
|
||||||
|
CreateCharacterBuff<Corrosion>(GetAttribute("MagicNumber")).Apply(target, user, this);
|
||||||
|
}
|
||||||
|
}));
|
||||||
return mainGroup;
|
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
|
Key,English,Simplified Chinese,Traditional Chinese,Japanese,Korean,Vietnamese,Thai
|
||||||
Card_Basic_Torture_DisplayName,Torture,折磨,,,,,
|
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