除了充盈都做完了

This commit is contained in:
SoulliesOfficial
2025-10-31 10:02:30 -04:00
parent 5d09ef7b53
commit ee1d3d9c0a
179 changed files with 3239 additions and 200 deletions

Binary file not shown.

View File

@@ -17,3 +17,4 @@ MonoBehaviour:
- CharacterData_Basic_Mage
enemyCharacters:
- CharacterData_Basic_MarshalOfTheUnderworld
- CharacterData_Basic_MarshalOfTheUnderworld

View File

@@ -53,13 +53,26 @@ MonoBehaviour:
- CardData_Basic_BattlefieldExperience
- CardData_Basic_BodyAsShield
- CardData_Basic_Cover
- CardData_Basic_DivineSmite
- CardData_Basic_EchoOfHonor
- CardData_Basic_EstablishFormation
- CardData_Basic_FirmBelief
- CardData_Basic_GuardianAura
- CardData_Basic_IronWall
- CardData_Basic_KightDefense
- CardData_Basic_KnightStrike
- CardData_Basic_OathOfCourage
- CardData_Basic_OathOfHonor
- CardData_Basic_Smite
- CardData_Basic_UtmostStrike
- CardData_Basic_ArcaneMissiles
- CardData_Basic_ConcentratedSpellcasting
- CardData_Basic_ElectricClaw
- CardData_Basic_FarSighted
- CardData_Basic_FireBall
- CardData_Basic_FlameInscription
- CardData_Basic_Haste
- CardData_Basic_Scorch
characterDataIDList:
- CharacterData_Basic_Knight
- CharacterData_Basic_Mage

View File

@@ -23,7 +23,7 @@ namespace Continentis.Mods.Basic.Cards
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
{
int hurt = user.Attack(target, GetFinalDamage(target));
int hurt = user.Attack(target, GetFinalDamage(target)).hurtDamage;
LogicComponent<CardLogicComponent_LifeSteal>().LifeSteal(hurt);
Basic_Hellfire hellfireBuff = target.combatBuffSubmodule.GetBuff<Basic_Hellfire>();

View File

@@ -25,7 +25,7 @@ namespace Continentis.Mods.Basic.Cards
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(0.5f, target =>
{
int hurt = user.Attack(target, GetFinalDamage(target));
int hurt = user.Attack(target, GetFinalDamage(target)).hurtDamage;
LogicComponent<CardLogicComponent_LifeSteal>().LifeSteal(hurt);
})
);

View File

@@ -0,0 +1,67 @@
%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_DivineSmite
m_EditorClassIdentifier:
modName: Basic
className: DivineSmite
displayName: Card_Basic_DivineSmite_DisplayName
cardRarity: 10
cardType: 0
keywords:
- TargetEnemies
- Magic
cardSprite: {fileID: 21300000, guid: 7774035283803d64fadba0f707508368, type: 3}
cardLayoutTags: []
functionText: Card_Basic_DivineSmite_FunctionText
cardDescription: Card_Basic_Strike_Description
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
Value: 30
index: 0
isKeyDuplicated: 0
- Key: StaminaCost
Value: 1
index: 1
isKeyDuplicated: 0
- Key: ManaCost
Value: 3
index: 2
isKeyDuplicated: 0
- Key: TargetCount
Value: 1
index: 3
isKeyDuplicated: 0
- Key: BuffCount_Protecting
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:
- VFX_Basic_RedImpact
derivativeCardDataRefs: []
derivativeCharacterDataRefs: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3291799bf92a714499649a7a1d84c202
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,70 @@
%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_EstablishFormation
m_EditorClassIdentifier:
modName: Basic
className: EstablishFormation
displayName: Card_Basic_EstablishFormation_DisplayName
cardRarity: 20
cardType: 10
keywords:
- TargetSelf
- TargetAllies
cardSprite: {fileID: 21300000, guid: caca00477898a734a9cef651dad57771, type: 3}
cardLayoutTags: []
functionText: Card_Basic_EstablishFormation_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Block
Value: 10
index: 0
isKeyDuplicated: 0
- Key: StaminaCost
Value: 2
index: 1
isKeyDuplicated: 0
- Key: ManaCost
Value: 0
index: 2
isKeyDuplicated: 0
- Key: TargetCount
Value: 1
index: 3
isKeyDuplicated: 0
- Key: BuffStack_EstablishFormation
Value: 10
index: 4
isKeyDuplicated: 0
- Key: BuffCount_EstablishFormation
Value: 1
index: 5
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1f6a6407310530d49b0923ea5dc70098
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -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_FirmBelief
m_EditorClassIdentifier:
modName: Basic
className: FirmBelief
displayName: Card_Basic_FirmBelief_DisplayName
cardRarity: 20
cardType: 10
keywords:
- TargetSelf
cardSprite: {fileID: 21300000, guid: 921b6166c341bba47ba2c6ca81069754, type: 3}
cardLayoutTags: []
functionText: Card_Basic_FirmBelief_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Block
Value: 6
index: 0
isKeyDuplicated: 0
- Key: StaminaCost
Value: 1
index: 1
isKeyDuplicated: 0
- Key: ManaCost
Value: 0
index: 2
isKeyDuplicated: 0
- Key: TargetCount
Value: 0
index: 3
isKeyDuplicated: 0
- Key: DrawCardAmount
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 204d78c40b1985e43ab170ef6ffaef0c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,62 @@
%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_OathOfHonor
m_EditorClassIdentifier:
modName: Basic
className: OathOfHonor
displayName: Card_Basic_OathOfHonor_DisplayName
cardRarity: 0
cardType: 10
keywords:
- Exhaust
- TargetSelf
cardSprite: {fileID: 21300000, guid: e5967a626b6f39b49ba395ee29017963, type: 3}
cardLayoutTags: []
functionText: Card_Basic_OathOfHonor_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: StaminaCost
Value: 0
index: 0
isKeyDuplicated: 0
- Key: ManaCost
Value: 0
index: 1
isKeyDuplicated: 0
- Key: TargetCount
Value: 0
index: 2
isKeyDuplicated: 0
- Key: StaminaRestore
Value: 3
index: 3
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 40fd724b5e9619f4690adce1fb2f1d55
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,63 @@
%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_UtmostStrike
m_EditorClassIdentifier:
modName: Basic
className: UtmostStrike
displayName: Card_Basic_UtmostStrike_DisplayName
cardRarity: 20
cardType: 0
keywords:
- TargetEnemies
- Physics
cardSprite: {fileID: 21300000, guid: a50c84b115a45a6418e403875f537677, type: 3}
cardLayoutTags: []
functionText: Card_Basic_UtmostStrike_FunctionText
cardDescription: Card_Basic_Strike_Description
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
Value: 32
index: 0
isKeyDuplicated: 0
- Key: StaminaCost
Value: 3
index: 1
isKeyDuplicated: 0
- Key: ManaCost
Value: 0
index: 2
isKeyDuplicated: 0
- Key: TargetCount
Value: 1
index: 3
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:
- VFX_Basic_RedImpact
derivativeCardDataRefs: []
derivativeCharacterDataRefs: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7ac7c394c1daf85468a7388fb05c8128
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 942710a007ec6574b8c797bd3c6d2955
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -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_ArcaneMissiles
m_EditorClassIdentifier:
modName: Basic
className: ArcaneMissiles
displayName: Card_Basic_ArcaneMissiles_DisplayName
cardRarity: 10
cardType: 0
keywords:
- TargetEnemies
- Magic
cardSprite: {fileID: 21300000, guid: b5dcc3f4b843f4a478e74bde005bf939, type: 3}
cardLayoutTags: []
functionText: Card_Basic_ArcaneMissiles_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
Value: 3
index: 0
isKeyDuplicated: 0
- Key: AttackCount
Value: 3
index: 1
isKeyDuplicated: 0
- Key: TargetCount
Value: 1
index: 2
isKeyDuplicated: 0
- Key: StaminaCost
Value: 0
index: 3
isKeyDuplicated: 0
- Key: ManaCost
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cc732139e4407bd42a55e1a3da14e9f9
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,61 @@
%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_ConcentratedSpellcasting
m_EditorClassIdentifier:
modName: Basic
className: ConcentratedSpellcasting
displayName: Card_Basic_ConcentratedSpellcasting_DisplayName
cardRarity: 30
cardType: 20
keywords:
- TargetSelf
cardSprite: {fileID: 21300000, guid: a66dff9793512984cad7e7295d68eb1c, type: 3}
cardLayoutTags: []
functionText: Card_Basic_ConcentratedSpellcasting_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
- Key: BuffStack_ConcentratedSpellcasting
Value: 4
index: 3
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7046b2e41dab39e4db95ee45aae96091
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -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_ElectricClaw
m_EditorClassIdentifier:
modName: Basic
className: ElectricClaw
displayName: Card_Basic_ElectricClaw_DisplayName
cardRarity: 20
cardType: 0
keywords:
- TargetEnemies
- Magic
cardSprite: {fileID: 21300000, guid: 37468a98d6a5a824d880a27afec07d29, type: 3}
cardLayoutTags: []
functionText: Card_Basic_ElectricClaw_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
Value: 1
index: 0
isKeyDuplicated: 0
- Key: TargetCount
Value: 1
index: 1
isKeyDuplicated: 0
- Key: StaminaCost
Value: 1
index: 2
isKeyDuplicated: 0
- Key: ManaCost
Value: 1
index: 3
isKeyDuplicated: 0
- Key: BuffStack_Resonance
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2984135812130794bba1b123c70ce67d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,57 @@
%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_FarSighted
m_EditorClassIdentifier:
modName: Basic
className: FarSighted
displayName: Card_Basic_FarSighted_DisplayName
cardRarity: 20
cardType: 10
keywords:
- TargetSelf
cardSprite: {fileID: 21300000, guid: b07c10d1954a22246bac8ce4e1435846, type: 3}
cardLayoutTags: []
functionText: Card_Basic_FarSighted_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: StaminaCost
Value: 0
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 01ec1106ba7ed3f48a4b50624ac7df84
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -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_FireBall
m_EditorClassIdentifier:
modName: Basic
className: FireBall
displayName: Card_Basic_FireBall_DisplayName
cardRarity: 10
cardType: 0
keywords:
- TargetEnemies
- Magic
cardSprite: {fileID: 21300000, guid: d29ead9d91b5ff0458f582889b916a1b, type: 3}
cardLayoutTags: []
functionText: Card_Basic_FireBall_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
Value: 20
index: 0
isKeyDuplicated: 0
- Key: BuffStack_Burn
Value: 5
index: 1
isKeyDuplicated: 0
- Key: TargetCount
Value: -1
index: 2
isKeyDuplicated: 0
- Key: StaminaCost
Value: 0
index: 3
isKeyDuplicated: 0
- Key: ManaCost
Value: 3
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 88d6fdc840031454ea3508018811dbf1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,61 @@
%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_FlameInscription
m_EditorClassIdentifier:
modName: Basic
className: FlameInscription
displayName: Card_Basic_FlameInscription_DisplayName
cardRarity: 30
cardType: 20
keywords:
- TargetSelf
cardSprite: {fileID: 21300000, guid: 28e24068cd6a78b448d1bf09241b6905, type: 3}
cardLayoutTags: []
functionText: Card_Basic_FlameInscription_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
- Key: BuffStack_FlameInscription
Value: 1
index: 3
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2b8b852e36b5c1543b4cdf41e122142d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,57 @@
%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_Haste
m_EditorClassIdentifier:
modName: Basic
className: Haste
displayName: Card_Basic_Haste_DisplayName
cardRarity: 40
cardType: 20
keywords:
- TargetSelf
cardSprite: {fileID: 21300000, guid: e2e4026735b7e4647958d875adedc902, type: 3}
cardLayoutTags: []
functionText: Card_Basic_Haste_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: StaminaCost
Value: 0
index: 0
isKeyDuplicated: 0
- Key: ManaCost
Value: 2
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dd1fb7aba897de94bb2a21edcf08c8b5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,61 @@
%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_IdentifyWeakness
m_EditorClassIdentifier:
modName: Basic
className: IdentifyWeakness
displayName: Card_Basic_IdentifyWeakness_DisplayName
cardRarity: 10
cardType: 10
keywords:
- TargetEnemies
cardSprite: {fileID: 21300000, guid: adbc4094bbeee954fb923a3528191940, type: 3}
cardLayoutTags: []
functionText: Card_Basic_IdentifyWeakness_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: StaminaCost
Value: 0
index: 0
isKeyDuplicated: 0
- Key: ManaCost
Value: 0
index: 1
isKeyDuplicated: 0
- Key: TargetCount
Value: 1
index: 2
isKeyDuplicated: 0
- Key: BuffCount_Vulnerable
Value: 1
index: 3
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bef72b5db9556244fa295703fe3cf189
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,62 @@
%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_Scorch
m_EditorClassIdentifier:
modName: Basic
className: Scorch
displayName: Card_Basic_Scorch_DisplayName
cardRarity: 20
cardType: 10
keywords:
- TargetEnemies
- Exhaust
cardSprite: {fileID: 21300000, guid: c7e0489a5e85e65499fcacddb7c1391e, type: 3}
cardLayoutTags: []
functionText: Card_Basic_Scorch_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: 1
index: 2
isKeyDuplicated: 0
- Key: BuffStackAmplifier_Burn
Value: 1
index: 3
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 55d01675ed6c36b448c19cdd600d9da4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,63 @@
%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_WitchcraftRay
m_EditorClassIdentifier:
modName: Basic
className: WitchcraftRay
displayName: Card_Basic_WitchcraftRay_DisplayName
cardRarity: 20
cardType: 0
keywords:
- TargetEnemies
- Magic
- Retain
cardSprite: {fileID: 21300000, guid: b5dcc3f4b843f4a478e74bde005bf939, type: 3}
cardLayoutTags: []
functionText: Card_Basic_WitchcraftRay_FunctionText
cardDescription:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
Value: 16
index: 0
isKeyDuplicated: 0
- Key: TargetCount
Value: 1
index: 1
isKeyDuplicated: 0
- Key: StaminaCost
Value: 0
index: 2
isKeyDuplicated: 0
- Key: ManaCost
Value: 2
index: 3
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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0f2eadcedbe8dbf40827851283aa8a56
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -30,7 +30,7 @@ namespace Continentis.Mods.Basic.Cards
private void SelectEffect(CardInstance card)
{
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DiscardCard(card), new CommandContext());
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DiscardCard(card, true), new CommandContext());
}
}
}

View File

@@ -0,0 +1,46 @@
using System.Collections.Generic;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Combat;
using Continentis.MainGame.Commands;
using Continentis.Mods.Basic.Buffs;
using SLSFramework.General;
using UnityEngine;
namespace Continentis.Mods.Basic.Cards
{
public class DivineSmite : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
AddLogicComponent<CardLogicComponent_Protect>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_PlaySFX("SFX_Basic_SwordStrike"),
new Cmd_SpawnVFX("VFX_Basic_RedImpact"),
new Cmd_ParamFunction<CharacterBase>(target => user.Attack(target, GetFinalDamage(target))));
foreach (CharacterBase protectTarget in CombatMainManager.Instance.characterController.GetAllAllies(user))
{
Cmd_ParamFunction<CharacterBase> protectCommand = new Cmd_ParamFunction<CharacterBase>((target) =>
{
LogicComponent<CardLogicComponent_Protect>().GenerateProtection(user, target, GetAttribute("BuffCount_Protecting"));
});
protectCommand.selfContext.context["Target"] = protectTarget;
mainGroup.AddCommand(protectCommand);
}
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Slash();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e904dc1daa5821a408f2abd6f29c97a0

View File

@@ -0,0 +1,39 @@
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 EstablishFormation : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Defense>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
{
target.AddBlock(GetAttribute("Block"));
int stack = GetAttribute("BuffStack_EstablishFormation");
int count = GetAttribute("BuffCount_EstablishFormation");
CreateCharacterBuff<Buffs.EstablishFormation>(stack, count).Apply(target, user, this);
}));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Defense>().SetBlock_Fortitude();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: eba3b7ce4bc2af042bf93ecb12fc9927

View File

@@ -0,0 +1,39 @@
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 FirmBelief : CardLogicBase
{
public override void Initialize()
{
base.Initialize();
this.eventSubmodule.onInitiativeDiscard.Add("FirmBelief_PlayWhenDiscard",
new PrioritizedCheckAndEffect(() => true, () => this.Play(new List<CharacterBase>(), user)));
}
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Defense>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = SingleCommandGroup(
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_Function(() => user.AddBlock(GetAttribute("Block"))),
new Cmd_Function(() => user.deckSubmodule.DrawCards(GetAttribute("DrawCardAmount"))));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Defense>().SetBlock_Fortitude();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a2f57e9784b12854c823cd5f661beced

View 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 OathOfHonor : 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(GetAttribute("StaminaRestore"))));
return mainGroup;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 9d72f88c86e4d994f874c94972855107

View File

@@ -1,16 +1,50 @@
using System.Collections.Generic;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
using SLSFramework.General;
using UnityEngine;
public class UtmostStrike : MonoBehaviour
namespace Continentis.Mods.Basic.Cards
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
public class UtmostStrike : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
AddLogicComponent<CardLogicComponent_SelectHandCards>().SetCondition(SelectCondition).SetEffect(SelectEffect);
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_PlaySFX("SFX_Basic_SwordStrike"),
new Cmd_SpawnVFX("VFX_Basic_RedImpact"),
new Cmd_ParamFunction<CharacterBase>(target =>
{
user.Attack(target, GetFinalDamage(target));
})); //对目标造成伤害
LogicComponent<CardLogicComponent_SelectHandCards>().AddSelectionCommands(ref mainGroup);
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Slash();
}
private bool SelectCondition(CardInstance card)
{
return card.cardLogic.contentSubmodule.cardType is not CardType.Attack;
}
private void SelectEffect(CardInstance card)
{
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DiscardCard(card, true), new CommandContext());
}
}
// Update is called once per frame
void Update()
{
}
}
}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b08dd6ea5797f55408bf6b6a69aeba15
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,39 @@
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 Abundant : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_SelectHandCards>().SetCondition(SelectCondition).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);
return mainGroup;
}
private bool SelectCondition(CardInstance card)
{
return card.cardLogic.contentSubmodule.cardType is CardType.Attack && card.cardLogic.HasKeyword("Magic");
}
private void SelectEffect(CardInstance card)
{
/*if (card.cardLogic.HasAttribute("Damage"))
{
card.cardLogic.ModifyAttribute("Damage", GetAttribute("DamageIncrease"));
}*/
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e7de639785002bc4da8509809e5d12e5

View File

@@ -0,0 +1,38 @@
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 ArcaneMissiles : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
List<CommandBase> templates = new List<CommandBase>();
templates.Add(new Cmd_PlayAnimation(user.characterView, "Attack"));
for (int i = 0; i < GetAttribute("AttackCount"); i++) //多段攻击(段数可变)情况的处理
{
templates.Add(new Cmd_ParamFunction<CharacterBase>(0.4f, target => user.Attack(target, GetFinalDamage(target))));
}
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Sequential, ExecutionMode.Sequential, templates.ToArray());
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Arcane();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e2678a4ab435adf448a3c80f56c83f69

View File

@@ -0,0 +1,25 @@
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 ConcentratedSpellcasting : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_Function(() =>
{
CreateCharacterBuff<Buffs.ConcentratedSpellcasting>(GetAttribute("BuffStack_ConcentratedSpellcasting")).Apply(user, user, this);
}));
return mainGroup;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 0ce9231a091a13f4d9183dbde66a1727

View File

@@ -0,0 +1,39 @@
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 ElectricClaw : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
{
user.Attack(target, GetFinalDamage(target));
}));
mainGroup.AddCommand(new Cmd_Function(()=>
{
CreateCharacterBuff<Resonance>(GetAttribute("BuffStack_Resonance")).Apply(user, user, this);
}));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Arcane();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: f3eb15b57f771d24bb972922dc3efaac

View 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 FarSighted : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_SelectHandCards>().SetEffect(SelectEffect);
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential);
mainGroup.AddCommand(new Cmd_PlayAnimation(user.characterView, "Skill"));
LogicComponent<CardLogicComponent_SelectHandCards>()
.AddSelectionCommands(ref mainGroup, "Card_Basic_FarSighted_SelectionCommandTitle".Localize(), 1);
return mainGroup;
}
private void SelectEffect(CardInstance card)
{
card.cardLogic.contentSubmodule.keywords.Add("Retain");
card.cardLogic.contentSubmodule.originalFunctionText += " + $Keyword(\"Retain\")";
CardTextInterpreter.InterpretText(card.cardLogic, true);
card.handCardView.Setup();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 239a74c46842bee4e8af12f846b405ab

View 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 FireBall : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
{
user.Attack(target, GetFinalDamage(target));
CreateCharacterBuff<Burn>(GetAttribute("BuffStack_Burn")).Apply(target, user, this);
}));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Arcane();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 69f6031d6d6952b4e90185dbddd38070

View File

@@ -0,0 +1,24 @@
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 FlameInscription : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_Function(() =>
{
CreateCharacterBuff<Buffs.FlameInscription>(GetAttribute("BuffStack_FlameInscription")).Apply(user, user, this);
}));
return mainGroup;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 10c8d4faf49be8349ac092999f496973

View File

@@ -0,0 +1,24 @@
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 Haste : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_Function(() =>
{
CreateCharacterBuff<Buffs.Haste>().Apply(user, user, this);
}));
return mainGroup;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 96144c951656fe845863917ab00c7643

View File

@@ -0,0 +1,25 @@
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 IdentifyWeakness : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
{
CreateCharacterBuff<Vulnerable>(GetAttribute("BuffCount_Vulnerable")).Apply(target, user, this);
}));
return mainGroup;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e84e43305b792e14a94b6983d6fec4ae

View File

@@ -0,0 +1,29 @@
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 Scorch : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
{
if (target.combatBuffSubmodule.TryGetBuff(out Burn burn))
{
int stacksToAdd = burn.unitedStackSubmodule.stackAmount * GetAttribute("BuffStackAmplifier_Burn");
burn.unitedStackSubmodule.AddStack(stacksToAdd);
}
}));
return mainGroup;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: f3bfc86c93def5944a54251d67a3f32a

View File

@@ -0,0 +1,36 @@
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 WitchcraftRay : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(target =>
{
user.Attack(target, GetFinalDamage(target));
}));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Arcane();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 0d7c96f898be9d544b7f154a88acdece

View File

@@ -10,7 +10,7 @@ namespace Continentis.Mods.Basic.Cards
public override void Initialize()
{
base.Initialize();
eventSubmodule.onDraw.Add("Basic_Faint", new EventUnit(() =>
eventSubmodule.onDraw.Add("Basic_Faint", new PrioritizedAction(() =>
{
user.ModifyStamina(-1);
}));

View File

@@ -12,7 +12,7 @@ namespace Continentis.Mods.Basic.Cards
public override void Initialize()
{
base.Initialize();
eventSubmodule.onActionEnd.Add("Basic_Oblivion_ExhaustCard", new EventUnit(() =>
eventSubmodule.onActionEnd.Add("Basic_Oblivion_ExhaustCard", new PrioritizedAction(() =>
{
List<CardInstance> handPile = user.deckSubmodule.HandPile;

View File

@@ -21,14 +21,14 @@ namespace Continentis.Mods.Basic.Buffs
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onActionStart.Add("Bleed", new EventUnit(OnActionStart));
this.eventSubmodule.onGetAttacked.Add("Bleed", new EventUnit<AttackResult>(OnGetAttacked));
this.eventSubmodule.onActionStart.Add("Bleed", new PrioritizedAction(OnActionStart));
this.eventSubmodule.onGetAttacked.Add("Bleed", new PrioritizedAction<AttackResult>(OnGetAttacked));
}
private void OnGetAttacked(AttackResult result)
{
int stackAmount = unitedStackSubmodule.stackAmount;
result.attacker.Attack(attachedCharacter, stackAmount, true);
result.attacker.Attack(attachedCharacter, stackAmount, false, true);
}
private void OnActionStart()

View File

@@ -28,7 +28,7 @@ namespace Continentis.Mods.Basic.Buffs
if (FindExistingSameBuff(out existingBuff))
{
existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule.stackAmount);
existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule);
existingBuff.actionCountSubmodule.AddRemainingCount(this.actionCountSubmodule.remainingCount);
int remainingCount = existingBuff.actionCountSubmodule.remainingCount;

View File

@@ -21,8 +21,8 @@ namespace Continentis.Mods.Basic.Buffs
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onActionStart.Add("Burn", new EventUnit(OnActionStart));
this.eventSubmodule.onAfterPlayCard.Add("Burn", new EventUnit<CardInstance, List<CharacterBase>>(OnAfterPlayCard));
this.eventSubmodule.onActionStart.Add("Burn", new PrioritizedAction(OnActionStart));
this.eventSubmodule.onAfterPlayCard.Add("Burn", new PrioritizedAction<CardInstance, List<CharacterBase>>(OnAfterPlayCard));
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
@@ -46,7 +46,7 @@ namespace Continentis.Mods.Basic.Buffs
private void OnAfterPlayCard(CardInstance card, List<CharacterBase> targets)
{
sourceCharacter.Attack(attachedCharacter, unitedStackSubmodule.stackAmount, true);
sourceCharacter.Attack(attachedCharacter, unitedStackSubmodule.stackAmount, false, true);
}
}
}

View File

@@ -10,7 +10,7 @@ namespace Continentis.Mods.Basic.Buffs
{
Initialize(BuffType.Positive, BuffDispelLevel.Strong);
this.contentSubmodule = new ContentSubmodule(this, false)
this.contentSubmodule = new ContentSubmodule(this)
.AddParameterGetter("Count", () => roundCountSubmodule.remainingCount.ToString());
this.iconSubmodule = new IconSubmodule(this);

View File

@@ -19,7 +19,7 @@ namespace Continentis.Mods.Basic.Buffs
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onActionStart.Add("Corrosion", new EventUnit(OnActionStart));
this.eventSubmodule.onActionStart.Add("Corrosion", new PrioritizedAction(OnActionStart));
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
@@ -38,7 +38,7 @@ namespace Continentis.Mods.Basic.Buffs
private void OnActionStart()
{
sourceCharacter.Attack(attachedCharacter, unitedStackSubmodule.stackAmount, true);
sourceCharacter.Attack(attachedCharacter, unitedStackSubmodule.stackAmount, false, true);
unitedStackSubmodule.ReduceStack(1);
iconSubmodule.Update();
}

View File

@@ -30,7 +30,7 @@ namespace Continentis.Mods.Basic.Buffs
if (FindExistingSameBuff(out existingBuff))
{
existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule.stackAmount);
existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule);
existingBuff.actionCountSubmodule.AddRemainingCount(this.actionCountSubmodule.remainingCount);
return false;
}

View File

@@ -15,6 +15,10 @@ namespace Continentis.Mods.Basic.Buffs
{
Initialize(BuffType.Neutral, BuffDispelLevel.DeathOnly, 100);
this.protectingSources = new List<Protecting>();
this.statusSubmodule = new StatusSubmodule(this, StatusType.Protected);
this.contentSubmodule = new ContentSubmodule(this);//TODO: 以后增加角色的ContentSubmodule
this.iconSubmodule = new IconSubmodule(this).SetTextFunctions();
@@ -36,6 +40,13 @@ namespace Continentis.Mods.Basic.Buffs
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
{
MainGameManager.Instance.basePrefabs.GenerateInfoText(contentSubmodule.displayName, attachedCharacter.characterView);
if (attachedCharacter.combatBuffSubmodule.TryGetBuffs(out List<Protecting> conflictProtectings))
{
//如果目标正在保护其他角色时被保护则应当将目标的所有Protecting Buff移除以防止冲突.
Debug.Log($"Conflicted Protecting buffs found, count: {conflictProtectings.Count}. Removing all.");
conflictProtectings.For(cp => cp.Remove());
}
if (FindExistingSameBuff(out existingBuff))
{

View File

@@ -1,5 +1,6 @@
using Continentis.MainGame;
using Continentis.MainGame.Character;
using SLSFramework.General;
using UnityEngine;
namespace Continentis.Mods.Basic.Buffs
@@ -34,6 +35,14 @@ namespace Continentis.Mods.Basic.Buffs
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
{
MainGameManager.Instance.basePrefabs.GenerateInfoText(contentSubmodule.displayName, attachedCharacter.characterView);
if (attachedCharacter.combatBuffSubmodule.TryGetBuff(out Protected conflictProtected))
{
//如果目标已经有Protected Buff则应当将其移除以防止冲突.
//使用移除所有保护者的方式来移除。
Debug.Log($"Conflicted Protected buff found, with {conflictProtected.protectingSources.Count} protecting sources. Removing all.");
conflictProtected.protectingSources.For(ps => ps.Remove());
}
if (FindExistingSameBuff(out existingBuff))
{
@@ -46,13 +55,12 @@ namespace Continentis.Mods.Basic.Buffs
existProtecting.roundCountSubmodule.AddCount(this.roundCountSubmodule.remainingCount);
return false;
}
this.protectedBuff ??= target.combatBuffSubmodule.GetBuff<Protected>();
this.protectedBuff.protectingSources.Add(this);
return true; //独立处理直接返回true
}
Debug.Log("No existing same buff found.");
this.protectedBuff ??= target.combatBuffSubmodule.GetBuff<Protected>();
this.protectedBuff.protectingSources.Add(this);
Debug.Log(protectedBuff.protectingSources.Count);
return true;
}

View File

@@ -8,8 +8,6 @@ namespace Continentis.Mods.Basic.Buffs
{
public sealed class Resonance : CharacterCombatBuffBase, IBuffExtension_IntegerRange
{
public Func<string> GetDescription { get; set; }
public Resonance(int stack)
{
Initialize(BuffType.Positive, BuffDispelLevel.Strong);

View File

@@ -19,7 +19,7 @@ namespace Continentis.Mods.Basic.Buffs
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onActionEnd.Add("Withstand", new EventUnit(() =>
this.eventSubmodule.onActionEnd.Add("Withstand", new PrioritizedAction(() =>
{
attachedCharacter.AddBlock(this.unitedStackSubmodule.stackAmount, false);
}));

View File

@@ -0,0 +1,45 @@
using Continentis.MainGame;
using Continentis.MainGame.Character;
using SLSFramework.General;
using UnityEngine;
namespace Continentis.Mods.Basic.Buffs
{
public class EstablishFormation : CharacterCombatBuffBase
{
public EstablishFormation(int stack, int count)
{
Initialize(BuffType.Positive, BuffDispelLevel.Basic);
this.contentSubmodule = new ContentSubmodule(this)
.AddParameterGetter("Stack", () => unitedStackSubmodule.stackAmount.ToString())
.AddParameterGetter("Count", () => actionCountSubmodule.remainingCount.ToString());
this.iconSubmodule = new IconSubmodule(this);
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
this.actionCountSubmodule = new CountSubmodule(this, count);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onGetAttacked.Add("EstablishFormation", new PrioritizedAction<AttackResult>(atkResult =>
{
attachedCharacter.Attack(atkResult.attacker, unitedStackSubmodule.stackAmount, false, true);
}));
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
{
MainGameManager.Instance.basePrefabs.GenerateInfoText(contentSubmodule.displayName, attachedCharacter.characterView);
if (FindExistingSameBuff(out existingBuff))
{
existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule);
existingBuff.actionCountSubmodule.PickHigherCount(this.actionCountSubmodule);
return false;
}
return true;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: ac01d8c37325ef84c919257c58ddb968

View File

@@ -20,7 +20,7 @@ namespace Continentis.Mods.Basic.Buffs
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onActionStart.Add("GuardianAura", new EventUnit(() =>
this.eventSubmodule.onActionStart.Add("GuardianAura", new PrioritizedAction(() =>
{
CombatMainManager.Instance.characterController.playerHeroes.ForEach(hero =>
{
@@ -35,7 +35,7 @@ namespace Continentis.Mods.Basic.Buffs
if (FocusingCheck(out existingBuff))
{
existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule.stackAmount);
existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule);
return false;
}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 43d48e5f456693a4ca5fad27c40fda7c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,38 @@
using Continentis.MainGame;
using Continentis.MainGame.Character;
using UnityEngine;
namespace Continentis.Mods.Basic.Buffs
{
public class ConcentratedSpellcasting : CharacterCombatBuffBase
{
public ConcentratedSpellcasting(int stack)
{
Initialize(BuffType.Focusing, BuffDispelLevel.Strong);
this.contentSubmodule = new ContentSubmodule(this)
.AddParameterGetter("Stack", () => unitedStackSubmodule.stackAmount.ToString());
this.iconSubmodule = new IconSubmodule(this);
this.unitedStackSubmodule = new UnitedStackSubmodule(this, true, -1, stack, true);
this.generalAttributeSubmodule = new GeneralAttributeSubmodule(this);
this.generalAttributeSubmodule.numericChange.Add("MagicDamageDealtOffset", stack);
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
{
MainGameManager.Instance.basePrefabs.GenerateInfoText(contentSubmodule.displayName, attachedCharacter.characterView);
if (FocusingCheck(out existingBuff))
{
existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule);
return false;
}
return true;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 661b4fa4f14f5bf4da76a750f3738e1d

View File

@@ -0,0 +1,52 @@
using System.Collections.Generic;
using Continentis.MainGame;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Combat;
using SLSFramework.General;
using UnityEngine;
namespace Continentis.Mods.Basic.Buffs
{
public class FlameInscription : CharacterCombatBuffBase
{
public FlameInscription(int stack)
{
Initialize(BuffType.Positive, BuffDispelLevel.Strong);
this.contentSubmodule = new ContentSubmodule(this)
.AddParameterGetter("Stack", () => unitedStackSubmodule.stackAmount.ToString());
this.iconSubmodule = new IconSubmodule(this);
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onAfterPlayCard.Add("FlameInscription",
new PrioritizedAction<CardInstance, List<CharacterBase>>((card, targets) =>
{
if (card.cardLogic.contentSubmodule.cardType == CardType.Attack && card.cardLogic.HasKeyword("Magic"))
{
List<CharacterBase> enemies = CombatMainManager.Instance.characterController.GetAllEnemies(attachedCharacter);
foreach (CharacterBase enemy in enemies)
{
CreateCharacterBuff<Burn>(unitedStackSubmodule.stackAmount).Apply(enemy, attachedCharacter);
}
}
}));
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
{
MainGameManager.Instance.basePrefabs.GenerateInfoText(contentSubmodule.displayName, attachedCharacter.characterView);
if (FindExistingSameBuff(out existingBuff))
{
existingBuff.unitedStackSubmodule.AddStack(this.unitedStackSubmodule.stackAmount);
return false;
}
return true;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 30a2988fc4787c14b860f6b235d44fac

View File

@@ -0,0 +1,41 @@
using Continentis.MainGame;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Combat;
using SLSFramework.General;
using SLSFramework.UModAssistance;
using UnityEngine;
namespace Continentis.Mods.Basic.Buffs
{
public class Haste : CharacterCombatBuffBase
{
public Haste()
{
Initialize(BuffType.Focusing, BuffDispelLevel.Strong);
this.contentSubmodule = new ContentSubmodule(this);
this.iconSubmodule = new IconSubmodule(this);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onRoundEnd.Add("Haste", new PrioritizedAction(() =>
{
CardData whimsyData = ModManager.GetData<CardData>("CardData_Basic_Whimsy");
CardInstance.GenerateCardInstance(whimsyData, attachedCharacter.team, "Hand");
}));
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
{
MainGameManager.Instance.basePrefabs.GenerateInfoText(contentSubmodule.displayName, attachedCharacter.characterView);
if (FocusingCheck(out existingBuff))
{
return false;
}
return true;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: f8f47dd84ab44ef4582075fdfe83f23b

View File

@@ -21,7 +21,7 @@ namespace Continentis.Mods.Basic.Buffs
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
this.eventSubmodule = new EventSubmodule(this);
this.eventSubmodule.onAfterPlayCard.Add("Basic_Hellfire", new EventUnit<CardInstance, List<CharacterBase>>(OnAfterPlayCard));
this.eventSubmodule.onAfterPlayCard.Add("Basic_Hellfire", new PrioritizedAction<CardInstance, List<CharacterBase>>(OnAfterPlayCard));
}
public override bool OnBuffApply(out CharacterCombatBuffBase existingBuff)

View File

@@ -201,14 +201,15 @@ MonoBehaviour:
derivativeCardDataRefs: []
derivativeCharacterDataRefs: []
initialDeckRef:
- CardData_Basic_Whimsy
- CardData_Basic_Rouse
- CardData_Basic_Tactic
- CardData_Basic_Cover
- CardData_Basic_OathOfCourage
- CardData_Basic_BattlefieldExperience
- CardData_Basic_BodyAsShield
- CardData_Basic_EchoOfHonor
- CardData_Basic_IronWall
- CardData_Basic_FirmBelief
- CardData_Basic_UtmostStrike
- CardData_Basic_DivineSmite
- CardData_Basic_EstablishFormation
hudDataRefs:
- HUDData_Basic_Default

View File

@@ -25,31 +25,31 @@ MonoBehaviour:
coreAttributes:
dictionaryList:
- Key: Level
Value: 0
Value: 12
index: 0
isKeyDuplicated: 0
- Key: Strength
Value: 0
Value: 12
index: 1
isKeyDuplicated: 0
- Key: Agility
Value: 0
Value: 12
index: 2
isKeyDuplicated: 0
- Key: Intelligence
Value: 0
Value: 18
index: 3
isKeyDuplicated: 0
- Key: Physique
Value: 0
Value: 12
index: 4
isKeyDuplicated: 0
- Key: Perception
Value: 0
Value: 18
index: 5
isKeyDuplicated: 0
- Key: Charisma
Value: 0
Value: 18
index: 6
isKeyDuplicated: 0
dividerPosProp: 0.5
@@ -179,6 +179,10 @@ MonoBehaviour:
Value: 0
index: 30
isKeyDuplicated: 0
- Key: MaximumFocusingBuffAmount
Value: 1
index: 31
isKeyDuplicated: 0
dividerPosProp: 0.5
runtimeGeneralAttributes:
dictionaryList:
@@ -201,6 +205,15 @@ MonoBehaviour:
derivativeCardDataRefs: []
derivativeCharacterDataRefs: []
initialDeckRef:
- CardData_Basic_HolyWaterPreparation
- CardData_Basic_Haste
- CardData_Basic_FarSighted
- CardData_Basic_FlameInscription
- CardData_Basic_ArcaneMissiles
- CardData_Basic_ConcentratedSpellcasting
- CardData_Basic_FireBall
- CardData_Basic_Scorch
- CardData_Basic_ElectricClaw
- CardData_Basic_IdentifyWeakness
- CardData_Basic_WitchcraftRay
hudDataRefs:
- HUDData_Basic_Default

View File

@@ -12,7 +12,7 @@ namespace Continentis.Mods.Basic.Equipments
public override void Initialize(CharacterBase character)
{
base.Initialize(character);
eventSubmodule.onCombatStart.InsertByPriority("SteelBracer_AddFirm", new EventUnit(() =>
eventSubmodule.onCombatStart.InsertByPriority("SteelBracer_AddFirm", new PrioritizedAction(() =>
{
new Firm(1).Apply(character);
}));

View File

@@ -92,5 +92,17 @@ MonoBehaviour:
description: Keyword_Ethereal_Description
index: 12
isKeyDuplicated: 0
- Key: Physics
Value:
name: Keyword_Physics
description: Keyword_Physics_Description
index: 13
isKeyDuplicated: 0
- Key: Magic
Value:
name: Keyword_Magic
description: Keyword_Magic_Description
index: 14
isKeyDuplicated: 0
dividerPosProp: 0.2
keywordToAdd:
keywordToAdd: Magic

View File

@@ -94,4 +94,12 @@ MonoBehaviour:
Value:
index: 19
isKeyDuplicated: 0
- Key: Physics
Value:
index: 20
isKeyDuplicated: 0
- Key: Magic
Value:
index: 21
isKeyDuplicated: 0
dividerPosProp: 0.3

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

View File

@@ -0,0 +1,119 @@
fileFormatVersion: 2
guid: dd72527ca678e294ea29e142f5bb8828
labels:
- UnityAI
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1024
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Some files were not shown because too many files have changed in this diff Show More