五张牌!
This commit is contained in:
BIN
Assets/ExportedMods/Basic.umod
LFS
BIN
Assets/ExportedMods/Basic.umod
LFS
Binary file not shown.
@@ -17,6 +17,16 @@ MonoBehaviour:
|
|||||||
- KeywordData_Basic_Buff
|
- KeywordData_Basic_Buff
|
||||||
- KeywordData_Basic_Default
|
- KeywordData_Basic_Default
|
||||||
cardDataIDList:
|
cardDataIDList:
|
||||||
|
- CardData_Basic_Rouse
|
||||||
|
- CardData_Basic_Tactic
|
||||||
|
- CardData_Basic_Whimsy
|
||||||
|
- CardData_Basic_AblazeInPurgatory
|
||||||
|
- CardData_Basic_ArmyOfTheDead
|
||||||
|
- CardData_Basic_HellfireBlast
|
||||||
|
- CardData_Basic_HellfireBrand
|
||||||
|
- CardData_Basic_NecromanticInfusion
|
||||||
|
- CardData_Basic_SoulCleave
|
||||||
|
- CardData_Basic_WrathOfTheUnderworld
|
||||||
- CardData_Basic_Bludgeon
|
- CardData_Basic_Bludgeon
|
||||||
- CardData_Basic_DualStrike
|
- CardData_Basic_DualStrike
|
||||||
- CardData_Basic_FireBolt
|
- CardData_Basic_FireBolt
|
||||||
@@ -40,16 +50,11 @@ MonoBehaviour:
|
|||||||
- CardData_Basic_Dazed
|
- CardData_Basic_Dazed
|
||||||
- CardData_Basic_Faint
|
- CardData_Basic_Faint
|
||||||
- CardData_Basic_Oblivion
|
- CardData_Basic_Oblivion
|
||||||
- CardData_Basic_AblazeInPurgatory
|
- CardData_Basic_Cover
|
||||||
- CardData_Basic_ArmyOfTheDead
|
|
||||||
- CardData_Basic_HellfireBlast
|
|
||||||
- CardData_Basic_HellfireBrand
|
|
||||||
- CardData_Basic_NecromanticInfusion
|
|
||||||
- CardData_Basic_SoulCleave
|
|
||||||
- CardData_Basic_WrathOfTheUnderworld
|
|
||||||
- CardData_Basic_GuardianAura
|
- CardData_Basic_GuardianAura
|
||||||
- CardData_Basic_KightDefense
|
- CardData_Basic_KightDefense
|
||||||
- CardData_Basic_KnightStrike
|
- CardData_Basic_KnightStrike
|
||||||
|
- CardData_Basic_OathOfCourage
|
||||||
- CardData_Basic_Smite
|
- CardData_Basic_Smite
|
||||||
characterDataIDList:
|
characterDataIDList:
|
||||||
- CharacterData_Basic_Knight
|
- CharacterData_Basic_Knight
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 7bdd687a29a300845bc0610ed4b51101
|
guid: bc492abc2479ff74093ccc1c639988fd
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
|||||||
@@ -0,0 +1,58 @@
|
|||||||
|
%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_Rouse
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
modName: Basic
|
||||||
|
className: Rouse
|
||||||
|
displayName: Card_Basic_Rouse_DisplayName
|
||||||
|
cardRarity: 0
|
||||||
|
cardType: 10
|
||||||
|
keywords:
|
||||||
|
- Exhaust
|
||||||
|
- TargetSelf
|
||||||
|
cardSprite: {fileID: 21300000, guid: e5967a626b6f39b49ba395ee29017963, type: 3}
|
||||||
|
cardLayoutTags: []
|
||||||
|
functionText: Card_Basic_Rouse_FunctionText
|
||||||
|
cardDescription:
|
||||||
|
baseWeight: 1
|
||||||
|
variableAttributes:
|
||||||
|
dictionaryList:
|
||||||
|
- Key: StaminaCost
|
||||||
|
Value: 0
|
||||||
|
index: 0
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: ManaCost
|
||||||
|
Value: 1
|
||||||
|
index: 1
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: TargetCount
|
||||||
|
Value: 0
|
||||||
|
index: 2
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
originalAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
runtimeCurrentAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
upgradeNode:
|
||||||
|
sourceCard: {fileID: 0}
|
||||||
|
isTerminalNode: 0
|
||||||
|
isInfiniteUpgrade: 0
|
||||||
|
maxUpgradeLevel: 0
|
||||||
|
upgradeCards: []
|
||||||
|
customDescriptions: []
|
||||||
|
prefabRefs: []
|
||||||
|
derivativeCardDataRefs: []
|
||||||
|
derivativeCharacterDataRefs: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c11da93ec03b3c247a90bd82c7f6bf80
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
%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_Tactic
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
modName: Basic
|
||||||
|
className: Tactic
|
||||||
|
displayName: Card_Basic_Tactic_DisplayName
|
||||||
|
cardRarity: 0
|
||||||
|
cardType: 10
|
||||||
|
keywords:
|
||||||
|
- Exhaust
|
||||||
|
- TargetSelf
|
||||||
|
cardSprite: {fileID: 21300000, guid: f1bce6b8b267f1e49ac238ada47a77e1, type: 3}
|
||||||
|
cardLayoutTags: []
|
||||||
|
functionText: Card_Basic_Tactic_FunctionText
|
||||||
|
cardDescription:
|
||||||
|
baseWeight: 1
|
||||||
|
variableAttributes:
|
||||||
|
dictionaryList:
|
||||||
|
- Key: StaminaCost
|
||||||
|
Value: 1
|
||||||
|
index: 0
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: ManaCost
|
||||||
|
Value: 0
|
||||||
|
index: 1
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: TargetCount
|
||||||
|
Value: 0
|
||||||
|
index: 2
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
originalAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
runtimeCurrentAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
upgradeNode:
|
||||||
|
sourceCard: {fileID: 0}
|
||||||
|
isTerminalNode: 0
|
||||||
|
isInfiniteUpgrade: 0
|
||||||
|
maxUpgradeLevel: 0
|
||||||
|
upgradeCards: []
|
||||||
|
customDescriptions: []
|
||||||
|
prefabRefs: []
|
||||||
|
derivativeCardDataRefs: []
|
||||||
|
derivativeCharacterDataRefs: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d7851c5c44fc59847b8ac23672287f73
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
%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_Whimsy
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
modName: Basic
|
||||||
|
className: Whimsy
|
||||||
|
displayName: Card_Basic_Whimsy_DisplayName
|
||||||
|
cardRarity: 0
|
||||||
|
cardType: 10
|
||||||
|
keywords:
|
||||||
|
- Exhaust
|
||||||
|
- TargetSelf
|
||||||
|
cardSprite: {fileID: 21300000, guid: e3221876ab05378478e7e47a4035eee2, type: 3}
|
||||||
|
cardLayoutTags: []
|
||||||
|
functionText: Card_Basic_Whimsy_FunctionText
|
||||||
|
cardDescription:
|
||||||
|
baseWeight: 1
|
||||||
|
variableAttributes:
|
||||||
|
dictionaryList:
|
||||||
|
- Key: StaminaCost
|
||||||
|
Value: 1
|
||||||
|
index: 0
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: ManaCost
|
||||||
|
Value: 0
|
||||||
|
index: 1
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: TargetCount
|
||||||
|
Value: 0
|
||||||
|
index: 2
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
originalAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
runtimeCurrentAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
upgradeNode:
|
||||||
|
sourceCard: {fileID: 0}
|
||||||
|
isTerminalNode: 0
|
||||||
|
isInfiniteUpgrade: 0
|
||||||
|
maxUpgradeLevel: 0
|
||||||
|
upgradeCards: []
|
||||||
|
customDescriptions: []
|
||||||
|
prefabRefs: []
|
||||||
|
derivativeCardDataRefs: []
|
||||||
|
derivativeCharacterDataRefs: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3a3f10e9586d14a4b98370bd76d73f1b
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Mods/Basic/Cards/Data/ObsoleteGeneral.meta
Normal file
8
Assets/Mods/Basic/Cards/Data/ObsoleteGeneral.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7bdd687a29a300845bc0610ed4b51101
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -17,9 +17,9 @@ MonoBehaviour:
|
|||||||
displayName: Card_Basic_CommonHolyWater_DisplayName
|
displayName: Card_Basic_CommonHolyWater_DisplayName
|
||||||
cardRarity: 10
|
cardRarity: 10
|
||||||
cardType: 50
|
cardType: 50
|
||||||
tags:
|
keywords: []
|
||||||
- TargetCount
|
|
||||||
cardSprite: {fileID: 21300000, guid: aae12ccc5edd96c40b082fba851f3056, type: 3}
|
cardSprite: {fileID: 21300000, guid: aae12ccc5edd96c40b082fba851f3056, type: 3}
|
||||||
|
cardLayoutTags: []
|
||||||
functionText: Card_Basic_CommonHolyWater_FunctionText
|
functionText: Card_Basic_CommonHolyWater_FunctionText
|
||||||
cardDescription: $Keyword("Exhaust"), exhaust at most 3 Status or Curse cards.
|
cardDescription: $Keyword("Exhaust"), exhaust at most 3 Status or Curse cards.
|
||||||
baseWeight: 1
|
baseWeight: 1
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
%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_Cover
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
modName: Basic
|
||||||
|
className: Cover
|
||||||
|
displayName: Card_Basic_Cover_DisplayName
|
||||||
|
cardRarity: 10
|
||||||
|
cardType: 10
|
||||||
|
keywords:
|
||||||
|
- TargetAllies
|
||||||
|
cardSprite: {fileID: 21300000, guid: 5fad2ce6ad6b5db4e80c95e55f471ede, type: 3}
|
||||||
|
cardLayoutTags: []
|
||||||
|
functionText: Card_Basic_Cover_FunctionText
|
||||||
|
cardDescription:
|
||||||
|
baseWeight: 1
|
||||||
|
variableAttributes:
|
||||||
|
dictionaryList:
|
||||||
|
- Key: BuffCount_Protecting
|
||||||
|
Value: 2
|
||||||
|
index: 0
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: Block
|
||||||
|
Value: 8
|
||||||
|
index: 1
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: StaminaCost
|
||||||
|
Value: 1
|
||||||
|
index: 2
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: ManaCost
|
||||||
|
Value: 0
|
||||||
|
index: 3
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: TargetCount
|
||||||
|
Value: 1
|
||||||
|
index: 4
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
originalAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
runtimeCurrentAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
upgradeNode:
|
||||||
|
sourceCard: {fileID: 0}
|
||||||
|
isTerminalNode: 0
|
||||||
|
isInfiniteUpgrade: 0
|
||||||
|
maxUpgradeLevel: 0
|
||||||
|
upgradeCards: []
|
||||||
|
customDescriptions: []
|
||||||
|
prefabRefs: []
|
||||||
|
derivativeCardDataRefs: []
|
||||||
|
derivativeCharacterDataRefs: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6aed6dbef8984ae4ca90cf89c799ffdd
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
%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_OathOfCourage
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
modName: Basic
|
||||||
|
className: OathOfCourage
|
||||||
|
displayName: Card_Basic_OathOfCourage_DisplayName
|
||||||
|
cardRarity: 30
|
||||||
|
cardType: 10
|
||||||
|
keywords:
|
||||||
|
- TargetSelf
|
||||||
|
- Exhaust
|
||||||
|
cardSprite: {fileID: 21300000, guid: 1e19e7169d28d89428fa35f0e76f0e1a, type: 3}
|
||||||
|
cardLayoutTags: []
|
||||||
|
functionText: Card_Basic_OathOfCourage_FunctionText
|
||||||
|
cardDescription:
|
||||||
|
baseWeight: 1
|
||||||
|
variableAttributes:
|
||||||
|
dictionaryList:
|
||||||
|
- Key: BuffCount_Consolidate
|
||||||
|
Value: 1
|
||||||
|
index: 0
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: Block
|
||||||
|
Value: 50
|
||||||
|
index: 1
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: StaminaCost
|
||||||
|
Value: 3
|
||||||
|
index: 2
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: ManaCost
|
||||||
|
Value: 1
|
||||||
|
index: 3
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: TargetCount
|
||||||
|
Value: 0
|
||||||
|
index: 4
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
originalAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
runtimeCurrentAttributes:
|
||||||
|
dictionaryList: []
|
||||||
|
dividerPosProp: 0.5
|
||||||
|
upgradeNode:
|
||||||
|
sourceCard: {fileID: 0}
|
||||||
|
isTerminalNode: 0
|
||||||
|
isInfiniteUpgrade: 0
|
||||||
|
maxUpgradeLevel: 0
|
||||||
|
upgradeCards: []
|
||||||
|
customDescriptions: []
|
||||||
|
prefabRefs: []
|
||||||
|
derivativeCardDataRefs: []
|
||||||
|
derivativeCharacterDataRefs: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 61cc84c9f7cc4d441bdec17fc3a87c04
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Mods/Basic/Cards/LogicComponents.meta
Normal file
8
Assets/Mods/Basic/Cards/LogicComponents.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a47251c83dd959f4dbd8e5539cb3861b
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
using Continentis.MainGame.Character;
|
||||||
|
using Continentis.Mods.Basic.Buffs;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Continentis.MainGame.Card
|
||||||
|
{
|
||||||
|
public class CardLogicComponent_Protect : CardLogicComponentBase
|
||||||
|
{
|
||||||
|
public void GenerateProtection(CharacterBase protector, CharacterBase target, int roundCount)
|
||||||
|
{
|
||||||
|
Protected protectedBuff = card.CreateCharacterBuff<Protected>(protector);
|
||||||
|
protectedBuff.Apply(target, user, card);
|
||||||
|
Protecting protectingBuff = card.CreateCharacterBuff<Protecting>(target, roundCount, protectedBuff);
|
||||||
|
protectingBuff.Apply(protector, user, card);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 95b36354de5cc614e9d5eed46e8049bd
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 065c6cea14992804cbdf1fde765bcbd7
|
guid: edcb38fe315f1f645bf4bf7728c150eb
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
|||||||
21
Assets/Mods/Basic/Cards/Scripts/General/Rouse.cs
Normal file
21
Assets/Mods/Basic/Cards/Scripts/General/Rouse.cs
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using Continentis.MainGame.Card;
|
||||||
|
using Continentis.MainGame.Character;
|
||||||
|
using Continentis.MainGame.Commands;
|
||||||
|
using SLSFramework.General;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Continentis.Mods.Basic.Cards
|
||||||
|
{
|
||||||
|
public class Rouse : CardLogicBase
|
||||||
|
{
|
||||||
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
||||||
|
{
|
||||||
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
||||||
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
||||||
|
new Cmd_Function(() => user.ModifyStamina(1)));
|
||||||
|
|
||||||
|
return mainGroup;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2
Assets/Mods/Basic/Cards/Scripts/General/Rouse.cs.meta
Normal file
2
Assets/Mods/Basic/Cards/Scripts/General/Rouse.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b41efaf5743243a4ebf8bd3505bb14b2
|
||||||
36
Assets/Mods/Basic/Cards/Scripts/General/Tactic.cs
Normal file
36
Assets/Mods/Basic/Cards/Scripts/General/Tactic.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using Continentis.MainGame;
|
||||||
|
using Continentis.MainGame.Card;
|
||||||
|
using Continentis.MainGame.Character;
|
||||||
|
using Continentis.MainGame.Commands;
|
||||||
|
using SLSFramework.General;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Continentis.Mods.Basic.Cards
|
||||||
|
{
|
||||||
|
public class Tactic : CardLogicBase
|
||||||
|
{
|
||||||
|
protected override void SetUpLogicComponents()
|
||||||
|
{
|
||||||
|
AddLogicComponent<CardLogicComponent_SelectHandCards>().SetEffect(SelectEffect);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
||||||
|
{
|
||||||
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
||||||
|
new Cmd_PlayAnimation(user.characterView, "Skill"));
|
||||||
|
|
||||||
|
LogicComponent<CardLogicComponent_SelectHandCards>()
|
||||||
|
.AddSelectionCommands(ref mainGroup, "Card_Basic_Tactic_SelectionCommandTitle".Localize(), 1, true);
|
||||||
|
|
||||||
|
mainGroup.AddCommand(new Cmd_DrawCards(user.deckSubmodule, 1));
|
||||||
|
|
||||||
|
return mainGroup;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SelectEffect(CardInstance card)
|
||||||
|
{
|
||||||
|
user.deckSubmodule.DiscardCard(card);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2
Assets/Mods/Basic/Cards/Scripts/General/Tactic.cs.meta
Normal file
2
Assets/Mods/Basic/Cards/Scripts/General/Tactic.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 71a0c211d23ded94886525ca81a42f85
|
||||||
21
Assets/Mods/Basic/Cards/Scripts/General/Whimsy.cs
Normal file
21
Assets/Mods/Basic/Cards/Scripts/General/Whimsy.cs
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using Continentis.MainGame.Card;
|
||||||
|
using Continentis.MainGame.Character;
|
||||||
|
using Continentis.MainGame.Commands;
|
||||||
|
using SLSFramework.General;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Continentis.Mods.Basic.Cards
|
||||||
|
{
|
||||||
|
public class Whimsy : CardLogicBase
|
||||||
|
{
|
||||||
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
||||||
|
{
|
||||||
|
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
||||||
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
||||||
|
new Cmd_Function(() => user.ModifyMana(1)));
|
||||||
|
|
||||||
|
return mainGroup;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2
Assets/Mods/Basic/Cards/Scripts/General/Whimsy.cs.meta
Normal file
2
Assets/Mods/Basic/Cards/Scripts/General/Whimsy.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fa7f44fcbbe2be14cb30aa67b1bdb17c
|
||||||
35
Assets/Mods/Basic/Cards/Scripts/Knight/Cover.cs
Normal file
35
Assets/Mods/Basic/Cards/Scripts/Knight/Cover.cs
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using Continentis.MainGame.Card;
|
||||||
|
using Continentis.MainGame.Character;
|
||||||
|
using Continentis.MainGame.Commands;
|
||||||
|
using Continentis.Mods.Basic.Buffs;
|
||||||
|
using SLSFramework.General;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Continentis.Mods.Basic.Cards
|
||||||
|
{
|
||||||
|
public class Cover : CardLogicBase
|
||||||
|
{
|
||||||
|
protected override void SetUpLogicComponents()
|
||||||
|
{
|
||||||
|
AddLogicComponent<CardLogicComponent_Defense>();
|
||||||
|
AddLogicComponent<CardLogicComponent_Protect>();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
||||||
|
{
|
||||||
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||||
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
||||||
|
new Cmd_Function(() => user.AddBlock(GetAttribute("Block"))),
|
||||||
|
new Cmd_ParamFunction<CharacterBase>((target) =>
|
||||||
|
LogicComponent<CardLogicComponent_Protect>().GenerateProtection(user, target, GetAttribute("BuffCount_Protecting"))));
|
||||||
|
|
||||||
|
return mainGroup;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void ApplyAttributeChangesByCard()
|
||||||
|
{
|
||||||
|
LogicComponent<CardLogicComponent_Defense>().SetBlock_Fortitude();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2
Assets/Mods/Basic/Cards/Scripts/Knight/Cover.cs.meta
Normal file
2
Assets/Mods/Basic/Cards/Scripts/Knight/Cover.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0293bb4ed1447d14eb3c8c8d247af139
|
||||||
36
Assets/Mods/Basic/Cards/Scripts/Knight/OathOfCourage.cs
Normal file
36
Assets/Mods/Basic/Cards/Scripts/Knight/OathOfCourage.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using Continentis.MainGame.Card;
|
||||||
|
using Continentis.MainGame.Character;
|
||||||
|
using Continentis.MainGame.Commands;
|
||||||
|
using Continentis.Mods.Basic.Buffs;
|
||||||
|
using SLSFramework.General;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Continentis.Mods.Basic.Cards
|
||||||
|
{
|
||||||
|
public class OathOfCourage : CardLogicBase
|
||||||
|
{
|
||||||
|
protected override void SetUpLogicComponents()
|
||||||
|
{
|
||||||
|
AddLogicComponent<CardLogicComponent_Defense>();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
|
||||||
|
{
|
||||||
|
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||||
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
||||||
|
new Cmd_Function(() =>
|
||||||
|
{
|
||||||
|
user.AddBlock(GetAttribute("Block"));
|
||||||
|
CreateCharacterBuff<Consolidate>(GetAttribute("BuffCount_Consolidate")).Apply(user, user, this);
|
||||||
|
}));
|
||||||
|
|
||||||
|
return mainGroup;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void ApplyAttributeChangesByCard()
|
||||||
|
{
|
||||||
|
LogicComponent<CardLogicComponent_Defense>().SetBlock_Sorcery();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4b4fa3f1ad4c3ef4a97a643f206291cd
|
||||||
8
Assets/Mods/Basic/Cards/Scripts/ObsoleteGeneral.meta
Normal file
8
Assets/Mods/Basic/Cards/Scripts/ObsoleteGeneral.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 065c6cea14992804cbdf1fde765bcbd7
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -16,13 +16,11 @@ namespace Continentis.Mods.Basic.Cards
|
|||||||
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
||||||
new Cmd_ParamFunction<CharacterBase>((target) =>
|
new Cmd_ParamFunction<CharacterBase>((target) =>
|
||||||
{
|
{
|
||||||
Debug.Log(user.GetType().FullName);
|
|
||||||
Debug.Log(typeof(CharacterBase).FullName);
|
|
||||||
Protected protectedBuff = CreateCharacterBuff<Protected>(user);
|
Protected protectedBuff = CreateCharacterBuff<Protected>(user);
|
||||||
protectedBuff.Apply(target, user, this);
|
protectedBuff.Apply(target, user, this);
|
||||||
Protecting protectingBuff = CreateCharacterBuff<Protecting>(target, GetAttribute("BuffCount_Protecting"), protectedBuff);
|
Protecting protectingBuff = CreateCharacterBuff<Protecting>(target, GetAttribute("BuffCount_Protecting"), protectedBuff);
|
||||||
protectingBuff.Apply(user, user, this);
|
protectingBuff.Apply(user, user, this);
|
||||||
})); //对使用者施加沉重状态
|
}));
|
||||||
|
|
||||||
return mainGroup;
|
return mainGroup;
|
||||||
}
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user