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,52 @@
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_HellfireBlast : CardLogicBase
{
protected override void SetUpLogicComponents()
{
AddLogicComponent<CardLogicComponent_Attack>();
}
public override void TargetingEffect(CharacterBase target)
{
SetAttribute("DisplayHellfireStack", GetAttribute("HellfireStack"));
}
public override void UntargetingEffect()
{
SetAttribute("DisplayHellfireStack", GetAttribute("HellfireStack"));
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
{
user.Attack(target, GetFinalDamage(target));
Basic_Hellfire buff = new Basic_Hellfire(GetAttribute("HellfireStack"));
buff.Apply(target, user, this);
}));
return mainGroup;
}
public override void ApplyAttributeChangesByCard()
{
int offsetFromStr = user.GetAttribute("OffsetFromStrength");
LogicComponent<CardLogicComponent_Attack>().SetDamage(offsetFromStr);
int offsetFromInt = user.GetAttribute("OffsetFromIntelligence");
SetVariableAttribute("HellfireStack", offsetFromInt);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 5a31506bee1e6de4882180f399c6a316

View File

@@ -0,0 +1,256 @@
%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_HellfireBlast
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_HellfireBlast, 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: HellfireStack
- 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: 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: Hellfire Blast
cardIdentifier: Basic_HellfireBlast
cardRarity: 30
cardType: 0
cardSprite: {fileID: 21300000, guid: 1b371965578c19a4c934f642b8a7420e, type: 3}
cardDescription: '$Keyword("Strike"): Deal $Attribute("Damage") fire & physics
damage. $Keyword("Arcane"): Apply $Attribute("HellfireStack") stacks of Hellfire
to the target.'
functionalTags:
- TargetEnemies
elementalTags:
- Fire
- Physics
baseWeight: 1
derivativeCardDataList: []

View File

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