MOD!
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using Continentis.MainGame;
|
||||
using Continentis.MainGame.Card;
|
||||
using SLSFramework.General;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Continentis.Mods.Basic.Cards
|
||||
{
|
||||
public class Basic_Faint : CardLogicBase
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
eventSubmodule.onDraw.Add("Basic_Faint", new EventUnit(() =>
|
||||
{
|
||||
user.ModifyStamina(-1);
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 94d8bf189543ff843861d7cc125d4e61
|
||||
@@ -0,0 +1,189 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9a4129cdd7011ca46b83d8c17d9f3623, type: 3}
|
||||
m_Name: CardData_Basic_Faint
|
||||
m_EditorClassIdentifier:
|
||||
serializationData:
|
||||
SerializedFormat: 2
|
||||
SerializedBytes:
|
||||
ReferencedUnityObjects:
|
||||
- {fileID: 11400000}
|
||||
SerializedBytesString:
|
||||
Prefab: {fileID: 0}
|
||||
PrefabModificationsReferencedUnityObjects: []
|
||||
PrefabModifications: []
|
||||
SerializationNodes:
|
||||
- Name: cardClass
|
||||
Entry: 7
|
||||
Data: 0|System.RuntimeType, mscorlib
|
||||
- Name:
|
||||
Entry: 1
|
||||
Data: Continentis.Mods.Basic.Cards.Basic_Faint, Assembly-CSharp
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: prefabs
|
||||
Entry: 7
|
||||
Data: 1|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[UnityEngine.GameObject,
|
||||
UnityEngine.CoreModule]], mscorlib
|
||||
- Name: comparer
|
||||
Entry: 7
|
||||
Data: 2|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
|
||||
mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: variableAttributes
|
||||
Entry: 7
|
||||
Data: 3|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
|
||||
mscorlib]], mscorlib
|
||||
- Name: comparer
|
||||
Entry: 9
|
||||
Data: 2
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: originalAttributes
|
||||
Entry: 7
|
||||
Data: 4|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
|
||||
mscorlib]], mscorlib
|
||||
- Name: comparer
|
||||
Entry: 9
|
||||
Data: 2
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: endowingCurrentAttributes
|
||||
Entry: 7
|
||||
Data: 5|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.String,
|
||||
mscorlib]], mscorlib
|
||||
- Name: comparer
|
||||
Entry: 9
|
||||
Data: 2
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: upgradeNode
|
||||
Entry: 7
|
||||
Data: 6|Continentis.MainGame.Card.CardUpgradeNode, Assembly-CSharp
|
||||
- Name: sourceCard
|
||||
Entry: 10
|
||||
Data: 0
|
||||
- Name: isTerminalNode
|
||||
Entry: 5
|
||||
Data: true
|
||||
- Name: isInfiniteUpgrade
|
||||
Entry: 5
|
||||
Data: false
|
||||
- Name: maxUpgradeLevel
|
||||
Entry: 3
|
||||
Data: 1
|
||||
- Name: upgradeCards
|
||||
Entry: 7
|
||||
Data: 7|System.Collections.Generic.List`1[[Continentis.MainGame.Card.CardData,
|
||||
Assembly-CSharp]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: defaultUpgradeAttributes
|
||||
Entry: 7
|
||||
Data: 8|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
|
||||
mscorlib]], mscorlib
|
||||
- Name: comparer
|
||||
Entry: 7
|
||||
Data: 9|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
|
||||
mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: customUpgradeAttributes
|
||||
Entry: 7
|
||||
Data: 10|System.Collections.Generic.List`1[[System.Collections.Generic.Dictionary`2[[System.String,
|
||||
mscorlib],[System.Single, mscorlib]], mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: customDescriptions
|
||||
Entry: 7
|
||||
Data: 11|System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
cardName: Faint
|
||||
cardIdentifier: Basic_Faint
|
||||
cardRarity: 0
|
||||
cardType: 30
|
||||
cardSprite: {fileID: 21300000, guid: ea6ee9a7a10623544a51459bf40cad79, type: 3}
|
||||
cardDescription: $Keyword("Unplayable"), $Keyword("Ethereal"). When you draw this
|
||||
card, consume 1 stamina.
|
||||
functionalTags: []
|
||||
elementalTags: []
|
||||
baseWeight: 1
|
||||
derivativeCardDataList: []
|
||||
characterDataList: []
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77644052a569b714196cc0a0639d0e47
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user