This commit is contained in:
SoulliesOfficial
2025-10-24 09:11:22 -04:00
parent 61a397dd4c
commit 76157e3cb1
329 changed files with 8609 additions and 4549 deletions

View File

@@ -0,0 +1,45 @@
%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:
modName: Basic
className: HellfireBlast
displayName: Card_Basic_HellfireBlast_DisplayName
cardRarity: 30
cardType: 0
tags: []
cardSprite: {fileID: 21300000, guid: 1b371965578c19a4c934f642b8a7420e, type: 3}
functionText: Card_Basic_HellfireBlast_FunctionText
cardDescription: '$Keyword("Strike"): Deal $Attribute("Damage") fire & physics
damage. $Keyword("Arcane"): Apply $Attribute("HellfireStack") stacks of Hellfire
to the target.'
baseWeight: 1
variableAttributes:
dictionaryList: []
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: 8bb3cf6a94255cd41b5c1c8e74b1749b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

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 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