This commit is contained in:
SoulliesOfficial
2025-10-23 00:49:44 -04:00
parent 9b1b5ca93f
commit 61a397dd4c
9846 changed files with 2618439 additions and 793547 deletions

View File

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

View File

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

View File

@@ -0,0 +1,38 @@
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 Basic_FireBolt : 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>(0.2f, target =>
{
user.Attack(target, GetFinalDamage(target));
new Basic_Burn(GetAttribute("BuffLayer_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: 55e7b0446c18b6b4d93b7fa996668cae

View File

@@ -0,0 +1,266 @@
%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_FireBolt
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_FireBolt, 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: 7
Data: 4|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
mscorlib]], mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 12
Data: 4
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: Damage
- Name: $v
Entry: 4
Data: 6
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: StaminaCost
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: ManaCost
- Name: $v
Entry: 4
Data: 0
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: BuffLayer_Burn
- Name: $v
Entry: 4
Data: 4
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: originalAttributes
Entry: 7
Data: 5|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
mscorlib]], mscorlib
- Name: comparer
Entry: 9
Data: 2
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: TargetCount
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: endowingCurrentAttributes
Entry: 7
Data: 6|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: 7|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: 8|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: 9|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
mscorlib]], mscorlib
- Name: comparer
Entry: 7
Data: 10|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
mscorlib]], mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: BaseBuffLayer_Burn
- Name: $v
Entry: 4
Data: 4
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: customUpgradeAttributes
Entry: 7
Data: 11|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: 12|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: Fire Bolt
cardIdentifier: Basic_FireBolt
cardRarity: 10
cardType: 0
cardSprite: {fileID: 21300000, guid: d29ead9d91b5ff0458f582889b916a1b, type: 3}
cardDescription: $Keyword("Arcane"), deal $Attribute("Damage") fire damage. Apply
$Attribute("BuffLayer_Burn") stacks of Burn.
functionalTags:
- TargetEnemies
elementalTags:
- Fire
baseWeight: 1
derivativeCardDataList: []

View File

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

View File

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

View File

@@ -0,0 +1,38 @@
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 Basic_RadiantBolt : 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>(0.2f, target =>
{
user.Attack(target, GetFinalDamage(target));
new Basic_Blind(GetAttribute("BuffLayer_Blind")).Apply(target, user, this);
}));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Arcane();
}
}
}

View File

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

View File

@@ -0,0 +1,267 @@
%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_RadiantBolt
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_RadiantBolt, 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: 7
Data: 4|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
mscorlib]], mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 12
Data: 4
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: Damage
- Name: $v
Entry: 4
Data: 6
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: StaminaCost
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: ManaCost
- Name: $v
Entry: 4
Data: 0
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: BuffLayer_Blind
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: originalAttributes
Entry: 7
Data: 5|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
mscorlib]], mscorlib
- Name: comparer
Entry: 9
Data: 2
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: TargetCount
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: endowingCurrentAttributes
Entry: 7
Data: 6|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: 7|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: 8|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: 9|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
mscorlib]], mscorlib
- Name: comparer
Entry: 7
Data: 10|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
mscorlib]], mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: BuffLayer_Blind
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: customUpgradeAttributes
Entry: 7
Data: 11|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: 12|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: Radiant Bolt
cardIdentifier: Basic_RadiantBolt
cardRarity: 10
cardType: 0
cardSprite: {fileID: 21300000, guid: ae026f8c9f580c84a81cf24dcede67c4, type: 3}
cardDescription: $Keyword("Arcane"), deal $Attribute("Damage") light damage. Apply
$Attribute("BuffLayer_Blind") stacks of Burn.
functionalTags:
- TargetEnemies
elementalTags:
- Light
baseWeight: 1
derivativeCardDataList: []
characterDataList: []

View File

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

View File

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

View File

@@ -0,0 +1,34 @@
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 Basic_RayOfFrost : 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>(0.2f, 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: c88ec1e210cd76e41952f3d0918f66c9

View File

@@ -0,0 +1,242 @@
%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_RayOfFrost
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_RayOfFrost, 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: 7
Data: 4|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
mscorlib]], mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 12
Data: 3
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: Damage
- Name: $v
Entry: 4
Data: 6
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: StaminaCost
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: ManaCost
- Name: $v
Entry: 4
Data: 0
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: originalAttributes
Entry: 7
Data: 5|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
mscorlib]], mscorlib
- Name: comparer
Entry: 9
Data: 2
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: TargetCount
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: endowingCurrentAttributes
Entry: 7
Data: 6|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: 7|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: 8|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: 9|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
mscorlib]], mscorlib
- Name: comparer
Entry: 7
Data: 10|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: 11|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: 12|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: Ray Of Frost
cardIdentifier: Basic_RayOfFrost
cardRarity: 10
cardType: 0
cardSprite: {fileID: 21300000, guid: bf7f801433f268846a4bc9fa86e543ce, type: 3}
cardDescription: $Keyword("Arcane"), deal $Attribute("Damage") water damage.
functionalTags:
- TargetEnemies
elementalTags:
- Water
baseWeight: 1
derivativeCardDataList: []
characterDataList: []

View File

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

View File

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

View File

@@ -0,0 +1,48 @@
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 Basic_WindBlade : 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>(0.2f, target => user.Attack(target, GetFinalDamage(target))));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Arcane();
}
public override int GetFinalDamage(CharacterBase target, List<string> elementalTags = null)
{
float baseDamageFromSuppress = 0;
if (target is CombatNPC npc && user.IsOpponent(npc))
{
baseDamageFromSuppress = npc.actionCountThisRound == 0 ? 4f : 0f;
}
base.GetFinalDamage(target, elementalTags, out float baseDamageAfterOffset, out float elementalAmplifier, out float magicAmplifier, out float finalAmplifier);
float finalDamage = (baseDamageAfterOffset + baseDamageFromSuppress) * elementalAmplifier * magicAmplifier * finalAmplifier;
return Mathf.RoundToInt(finalDamage);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 32451d5a5937a5941b911650400b16ad

View File

@@ -0,0 +1,44 @@
%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_WindBlade
m_EditorClassIdentifier:
cardLogicClassName:
cardRarity: 10
cardType: 0
cardSprite: {fileID: 21300000, guid: cc9f49d9ed688ff489cb98f12cbe6f1f, type: 3}
cardDescription: '$Keyword("Arcane"), deal $Attribute("Damage") wind damage. $Keyword("Suppress"):
Deal 4 extra damage.'
functionalTags:
- TargetEnemies
elementalTags:
- Wind
baseWeight: 1
variableAttributes:
dictionaryList: []
dividerPosProp: 0.5
originalAttributes:
dictionaryList: []
dividerPosProp: 0.5
endowingCurrentAttributes:
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: 4da621336f44f144baa6d3059013a49f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5037c151aa6b42a4d91295e8ee05af79
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 Continentis.Mods.Basic.Buffs;
using SLSFramework.General;
using UnityEngine;
namespace Continentis.Mods.Basic.Cards
{
public class Basic_Bludgeon : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Sequential, ExecutionMode.Parallel,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
{
user.Attack(target, GetFinalDamage(target));
Basic_Weak buff = new Basic_Weak(GetAttribute("WeaknessLayer"));
buff.Apply(target, user, this);
}));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Strike();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 73f5de9cd3455fd4881b542c09dfe49e

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_Bludgeon
m_EditorClassIdentifier:
classFullName: Basic_Bludgeon
displayName: Buldgeon
cardRarity: 40
cardType: 0
tags:
- TargetEnemies
- Physics
cardSprite: {fileID: 21300000, guid: 77039de54f12e2a4e914f0b4956edf17, type: 3}
cardDescription: $Keyword("Tardy"), $Keyword("Strike"). Deal $Attribute("Damage")
damage, and apply $Attribute("WeaknessLayer") layers of $Keyword("Basic_Weak").
cardStory:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: BaseDamage
Value: 48
index: 0
isKeyDuplicated: 0
- Key: StaminaCost
Value: 4
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: []
derivativeCardDataRefs: []
derivativeCharacterDataRefs: []

View File

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

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0f848ec7beb3842478e09484bf0ff085
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 Basic_DualStrike : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Sequential, ExecutionMode.Sequential,
new CommandGroup(ExecutionMode.Parallel,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(target => user.Attack(target, GetFinalDamage(target)))
),
new CommandGroup(ExecutionMode.Parallel,
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_Strike();
}
}
}

View File

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

View File

@@ -0,0 +1,47 @@
%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_DualStrike
m_EditorClassIdentifier:
cardLogicClassName: Basic_DualStrike
cardRarity: 10
cardType: 0
cardSprite: {fileID: 21300000, guid: b5ebf255ba7f19543b7faea59e86ea77, type: 3}
cardDescription: '$Keyword("Strike"), deal $Attribute("Damage") damage twice. '
functionalTags:
- TargetEnemies
elementalTags:
- Physics
baseWeight: 1
variableAttributes:
dictionaryList:
- Key:
Value: 0
index: 0
isKeyDuplicated: 0
dividerPosProp: 0.5
originalAttributes:
dictionaryList: []
dividerPosProp: 0.5
endowingCurrentAttributes:
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: 6d808a4d7e463684fad4fa536d0c18e1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@@ -0,0 +1,33 @@
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 Basic_Prick : 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>(0.1f, target => user.Attack(target, GetFinalDamage(target))));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Prick();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 88242ad6bd2d2c7408e3c6980672e482

View File

@@ -0,0 +1,60 @@
%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_Prick
m_EditorClassIdentifier:
classFullName: Basic_Prick
displayName: Prick
cardRarity: 10
cardType: 0
tags:
- TargetEnemies
- Physics
cardSprite: {fileID: 21300000, guid: ec97c1fc43ccf9245ba35e83b5e4159d, type: 3}
cardDescription: '$Keyword("Prick"), deal $Attribute("Damage") damage. '
cardStory:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
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: 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: f108133bb577f9e4190543ea97eaed86
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@@ -0,0 +1,33 @@
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 Basic_RecklessAssault : 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>(0.1f, target => user.Attack(target, GetFinalDamage(target))));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Prick();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 75cb7730f126b3b4aa01bdbf65f22e9b

View File

@@ -0,0 +1,242 @@
%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_RecklessAssault
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_RecklessAssault, 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: 7
Data: 4|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
mscorlib]], mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 12
Data: 3
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: Damage
- Name: $v
Entry: 4
Data: 14
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: StaminaCost
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: ManaCost
- Name: $v
Entry: 4
Data: 0
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: originalAttributes
Entry: 7
Data: 5|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
mscorlib]], mscorlib
- Name: comparer
Entry: 9
Data: 2
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: TargetCount
- Name: $v
Entry: 4
Data: 1
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name: endowingCurrentAttributes
Entry: 7
Data: 6|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: 7|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: 8|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: 9|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Single,
mscorlib]], mscorlib
- Name: comparer
Entry: 7
Data: 10|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: 11|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: 12|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: Reckless Assault
cardIdentifier: Basic_RecklessAssault
cardRarity: 30
cardType: 0
cardSprite: {fileID: 21300000, guid: cefa74ce958129d4dbaf9bf3bf8599d5, type: 3}
cardDescription: $Keyword("Instant"), $Keyword("Unplayable"), $Keyword("Prick"),
deal $Attribute("Damage") damage to a random target.
functionalTags:
- TargetEnemies
elementalTags:
- Physics
baseWeight: 1
derivativeCardDataList: []

View File

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

View File

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

View File

@@ -0,0 +1,33 @@
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 Basic_Slash : 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_Slash();
}
}
}

View File

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

View File

@@ -0,0 +1,60 @@
%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_Slash
m_EditorClassIdentifier:
classFullName: Basic_Slash
displayName: Slash
cardRarity: 10
cardType: 0
tags:
- TargetEnemies
- Physics
cardSprite: {fileID: 21300000, guid: a835333acb04d9c4483b2832897e90d5, type: 3}
cardDescription: '$Keyword("Slash"), deal $Attribute("Damage") damage. '
cardStory:
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
Value: 8
index: 0
isKeyDuplicated: 0
- Key: StaminaCost
Value: 1
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: []
derivativeCardDataRefs: []
derivativeCharacterDataRefs: []

View File

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

View File

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

View File

@@ -0,0 +1,34 @@
using System.Collections.Generic;
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
using SLSFramework.General;
using SLSFramework.UModAssistance;
using UnityEngine;
namespace Continentis.Mods.Basic.Cards
{
public class Basic_Strike : 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_PlaySFX("SFX_Basic_SwordStrike"),
new Cmd_SpawnVFX("VFX_Basic_RedImpact"),
new Cmd_ParamFunction<CharacterBase>(target => user.Attack(target, GetFinalDamage(target))));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
LogicComponent<CardLogicComponent_Attack>().SetDamage_Strike();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 421bde5f4c6c60a40ad42a7456250b44

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_Strike
m_EditorClassIdentifier:
classFullName: Basic_Strike
displayName: Card_Basic_Strike_DisplayName
cardRarity: 10
cardType: 0
tags:
- TargetEnemies
- Physics
cardSprite: {fileID: 21300000, guid: 54336fab907a76a4095ff5607e0b86c8, type: 3}
functionText: Card_Basic_Strike_FunctionText
cardDescription: Card_Basic_Strike_Description
baseWeight: 1
variableAttributes:
dictionaryList:
- Key: Damage
Value: 8
index: 0
isKeyDuplicated: 0
- Key: StaminaCost
Value: 1
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: 1fa247c5cf9ed6248bcbcc7b2a03176a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: