可导出的第一版
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 98f8932fb6bc2614da0d1659eed46714
|
||||
guid: 41c6967b65fb20042a1b8fa469099a74
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
92
Assets/Addressables_Temp/link.xml
Normal file
92
Assets/Addressables_Temp/link.xml
Normal file
@@ -0,0 +1,92 @@
|
||||
<linker>
|
||||
<assembly fullname="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="Assets.PixelFantasy.Common.Scripts.CollectionScripts.SpriteCollection" preserve="all" />
|
||||
<type fullname="Assets.PixelFantasy.Common.Scripts.SoloState" preserve="all" />
|
||||
<type fullname="Assets.PixelFantasy.PixelHeroes.Common.Scripts.CharacterScripts.Character" preserve="all" />
|
||||
<type fullname="Assets.PixelFantasy.PixelHeroes.Common.Scripts.CharacterScripts.CharacterBuilder" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.Card.CardData" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.Character.CharacterData" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.Character.CombatCharacterViewBase" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.UI.HUD_BaseIcon" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.UI.HUD_CharacterBuffCollection" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.UI.HUD_CharacterBuffIcon" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.UI.HUD_Intention" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.UI.HUD_MainAttributesBar" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.UI.HUD_SelectingDot" preserve="all" />
|
||||
<type fullname="Continentis.MainGame.UI.HUDData" preserve="all" />
|
||||
<type fullname="Assets.PixelFantasy.Common.Scripts.CollectionScripts.Layer" preserve="nothing" serialized="true" />
|
||||
<type fullname="Assets.PixelFantasy.PixelHeroes.Common.Scripts.CharacterScripts.Firearm" preserve="nothing" serialized="true" />
|
||||
<type fullname="Continentis.MainGame.UI.HUD_MainAttributesBar/DefenseModule" preserve="nothing" serialized="true" />
|
||||
<type fullname="Continentis.MainGame.UI.HUD_MainAttributesBar/HealthBar" preserve="nothing" serialized="true" />
|
||||
</assembly>
|
||||
<assembly fullname="Unity.2D.Animation.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="UnityEngine.U2D.Animation.SpriteLibrary" preserve="all" />
|
||||
<type fullname="UnityEngine.U2D.Animation.SpriteResolver" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
|
||||
<type fullname="UnityEngine.AddressableAssets.Addressables" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
|
||||
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider" preserve="all" />
|
||||
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider" preserve="all" />
|
||||
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider" preserve="all" />
|
||||
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.SceneProvider" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="Unity.TextMeshPro, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="TMPro.TextMeshProUGUI" preserve="all" />
|
||||
<type fullname="TMPro.TMP_FontAsset" preserve="all" />
|
||||
<type fullname="TMPro.FaceInfo_Legacy" preserve="nothing" serialized="true" />
|
||||
<type fullname="TMPro.FontAssetCreationSettings" preserve="nothing" serialized="true" />
|
||||
<type fullname="TMPro.KerningTable" preserve="nothing" serialized="true" />
|
||||
<type fullname="TMPro.TMP_Character" preserve="nothing" serialized="true" />
|
||||
<type fullname="TMPro.TMP_FontFeatureTable" preserve="nothing" serialized="true" />
|
||||
<type fullname="TMPro.TMP_FontWeightPair" preserve="nothing" serialized="true" />
|
||||
<type fullname="TMPro.VertexGradient" preserve="nothing" serialized="true" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="UnityEngine.AnimationClip" preserve="all" />
|
||||
<type fullname="UnityEngine.Animator" preserve="all" />
|
||||
<type fullname="UnityEngine.RuntimeAnimatorController" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="UnityEngine.AudioClip" preserve="all" />
|
||||
<type fullname="UnityEngine.AudioSource" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="UnityEngine.GameObject" preserve="all" />
|
||||
<type fullname="UnityEngine.Material" preserve="all" />
|
||||
<type fullname="UnityEngine.Object" preserve="all" />
|
||||
<type fullname="UnityEngine.RectTransform" preserve="all" />
|
||||
<type fullname="UnityEngine.Shader" preserve="all" />
|
||||
<type fullname="UnityEngine.Sprite" preserve="all" />
|
||||
<type fullname="UnityEngine.SpriteRenderer" preserve="all" />
|
||||
<type fullname="UnityEngine.Texture2D" preserve="all" />
|
||||
<type fullname="UnityEngine.Transform" preserve="all" />
|
||||
<type fullname="UnityEngine.Events.PersistentCallGroup" preserve="nothing" serialized="true" />
|
||||
<type fullname="UnityEngine.RectOffset" preserve="nothing" serialized="true" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="UnityEngine.BoxCollider" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="UnityEngine.UI.ContentSizeFitter" preserve="all" />
|
||||
<type fullname="UnityEngine.UI.GridLayoutGroup" preserve="all" />
|
||||
<type fullname="UnityEngine.UI.HorizontalLayoutGroup" preserve="all" />
|
||||
<type fullname="UnityEngine.UI.Image" preserve="all" />
|
||||
<type fullname="UnityEngine.UI.Mask" preserve="all" />
|
||||
<type fullname="UnityEngine.UI.MaskableGraphic/CullStateChangedEvent" preserve="nothing" serialized="true" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<type fullname="UnityEngine.CanvasGroup" preserve="all" />
|
||||
<type fullname="UnityEngine.CanvasRenderer" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="Sirenix.Serialization">
|
||||
<type fullname="Sirenix.Serialization.SerializationData" preserve="nothing" serialized="true" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.TextCoreFontEngineModule">
|
||||
<type fullname="UnityEngine.TextCore.FaceInfo" preserve="nothing" serialized="true" />
|
||||
<type fullname="UnityEngine.TextCore.Glyph" preserve="nothing" serialized="true" />
|
||||
<type fullname="UnityEngine.TextCore.GlyphMetrics" preserve="nothing" serialized="true" />
|
||||
<type fullname="UnityEngine.TextCore.GlyphRect" preserve="nothing" serialized="true" />
|
||||
</assembly>
|
||||
</linker>
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 03cdb179703a09c4888dd569a5974d90
|
||||
guid: c40e0fa9c48b251409b16474d4fa193c
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
@@ -18,14 +18,14 @@ MonoBehaviour:
|
||||
- KeywordData_Basic_Buff_Assassin
|
||||
- KeywordData_Basic_Default
|
||||
cardDataIDList:
|
||||
- CardData_Basic_AblazeInPurgatory
|
||||
- CardData_Basic_HellfireBrand
|
||||
- CardData_Basic_SoulCleave
|
||||
- CardData_Basic_ArmyOfTheDead
|
||||
- CardData_Basic_GreatswordSweep
|
||||
- CardData_Basic_HellfireBlast
|
||||
- CardData_Basic_NecromanticInfusion
|
||||
- CardData_Basic_WrathOfUnderworld
|
||||
- CardData_Basic_SkeletonGuardDefense
|
||||
- CardData_Basic_SkeletonGuardIgnite
|
||||
- CardData_Basic_SkeletonGuardSlash
|
||||
- CardData_Basic_Rouse
|
||||
- CardData_Basic_Tactic
|
||||
- CardData_Basic_Whimsy
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
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 AblazeInPurgatory : CardLogicBase
|
||||
{
|
||||
public override void TargetingEffect(CharacterBase target)
|
||||
{
|
||||
card.SetAttribute("DisplayHellfireStack", card.GetAttribute("HellfireStack"));
|
||||
}
|
||||
|
||||
public override void UntargetingEffect()
|
||||
{
|
||||
card.SetAttribute("DisplayHellfireStack", card.GetAttribute("HellfireStack"));
|
||||
}
|
||||
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Parallel, ExecutionMode.Parallel,
|
||||
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
|
||||
{
|
||||
Debug.Log(target.data.className + " is ablaze in purgatory!");
|
||||
|
||||
Basic_Hellfire buff = new Basic_Hellfire(card.GetAttribute("HellfireStack"));
|
||||
buff.Apply(target, user, this);
|
||||
}));
|
||||
|
||||
return new List<CommandBase> { mainGroup };
|
||||
}
|
||||
|
||||
public override void ApplyAttributeChangesByCard()
|
||||
{
|
||||
int offsetFromInt = user.GetAttribute("OffsetFromIntelligence");
|
||||
card.SetVariableAttribute("HellfireStack", offsetFromInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9785c79f83b4b9d4baa2d261f06ee45d
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc1b860b5dd164b4a8d1213cbd2e6afa
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,16 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class HellfireBrand : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 102fb406dd495f14b9441687aebc4462
|
||||
@@ -1,50 +0,0 @@
|
||||
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 SoulCleave : CardLogicBase
|
||||
{
|
||||
public override void SetUpLogicComponents()
|
||||
{
|
||||
AddLogicComponent<CardLogicComponent_Attack>();
|
||||
AddLogicComponent<CardLogicComponent_LifeSteal>();
|
||||
}
|
||||
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
base.PlayEffect(targetList);
|
||||
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
|
||||
{
|
||||
int hurt = user.Attack(target, GetTargetedFinalDamage(target)).hurtDamage;
|
||||
LogicComponent<CardLogicComponent_LifeSteal>().LifeSteal(hurt);
|
||||
|
||||
Basic_Hellfire hellfireBuff = target.combatBuffSubmodule.GetBuff<Basic_Hellfire>();
|
||||
hellfireBuff?.unitedStackSubmodule.ClearAllStacks();
|
||||
}));
|
||||
|
||||
return new List<CommandBase> { mainGroup };
|
||||
}
|
||||
|
||||
public override int GetTargetedFinalDamage(CharacterBase target, List<string> elementalTags = null)
|
||||
{
|
||||
int damage = base.GetTargetedFinalDamage(target, elementalTags);
|
||||
Basic_Hellfire hellfireBuff = target.combatBuffSubmodule.GetBuff<Basic_Hellfire>();
|
||||
int hellfireStack = hellfireBuff != null ? hellfireBuff.unitedStackSubmodule.stackAmount : 0;
|
||||
damage += hellfireStack * 2;
|
||||
return damage;
|
||||
}
|
||||
|
||||
public override void ApplyAttributeChangesByCard()
|
||||
{
|
||||
LogicComponent<CardLogicComponent_Attack>().SetDamage_Strike();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 49fc9f9a93733cd409519d499531a199
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71a1d3135da07c74a9b6bd8f4ee79d75
|
||||
guid: 447ca0bb546708e4297099da51eb4aa2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
@@ -10,22 +10,39 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9a4129cdd7011ca46b83d8c17d9f3623, type: 3}
|
||||
m_Name: CardData_Basic_SoulCleave
|
||||
m_Name: CardData_Basic_SkeletonGuardDefense
|
||||
m_EditorClassIdentifier:
|
||||
modName: Basic
|
||||
className: SoulCleave
|
||||
displayName: Card_Basic_SoulCleave_DisplayName
|
||||
cardRarity: 40
|
||||
categoryName:
|
||||
className: Defense
|
||||
displayName: Card_Basic_Defense_DisplayName
|
||||
cardRarity: 10
|
||||
cardType: 0
|
||||
tags: []
|
||||
cardSprite: {fileID: 21300000, guid: 2d851da5310713a4781f00abaa57e48e, type: 3}
|
||||
functionText: Card_Basic_SoulCleave_FunctionText
|
||||
cardDescription: '$Keyword("Strike"), $Keyword("LifeSteal"): $Attribute("LifeStealPercent",
|
||||
true, true), deal $Attribute("Damage") darkness & fire damage, it will explode
|
||||
2*stacks of Hellfire as extra damage.'
|
||||
baseWeight: 10
|
||||
keywords:
|
||||
- TargetSelf
|
||||
cardSprite: {fileID: 21300000, guid: 54336fab907a76a4095ff5607e0b86c8, type: 3}
|
||||
cardLayoutTags: []
|
||||
functionText: Card_Basic_Defense_FunctionText
|
||||
cardDescription: Card_Basic_Strike_Description
|
||||
baseWeight: 1
|
||||
variableAttributes:
|
||||
dictionaryList: []
|
||||
dictionaryList:
|
||||
- Key: Block
|
||||
Value: 15
|
||||
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
|
||||
dividerPosProp: 0.5
|
||||
originalAttributes:
|
||||
dictionaryList: []
|
||||
@@ -40,6 +57,7 @@ MonoBehaviour:
|
||||
maxUpgradeLevel: 0
|
||||
upgradeCards: []
|
||||
customDescriptions: []
|
||||
prefabRefs: []
|
||||
prefabRefs:
|
||||
- VFX_Basic_RedImpact
|
||||
derivativeCardDataRefs: []
|
||||
derivativeCharacterDataRefs: []
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aceffe41cc487054b80de681b48dc448
|
||||
guid: 5b9c058cdf3a69d438a2b5f441680ad2
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
@@ -10,21 +10,40 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9a4129cdd7011ca46b83d8c17d9f3623, type: 3}
|
||||
m_Name: CardData_Basic_AblazeInPurgatory
|
||||
m_Name: CardData_Basic_SkeletonGuardIgnite
|
||||
m_EditorClassIdentifier:
|
||||
modName: Basic
|
||||
className: AblazeInPurgatory
|
||||
displayName: Card_Basic_AblazeInPurgatory_DisplayName
|
||||
cardRarity: 30
|
||||
categoryName:
|
||||
className: Ignite
|
||||
displayName: Card_Basic_Ignite_DisplayName
|
||||
cardRarity: 10
|
||||
cardType: 10
|
||||
tags: []
|
||||
cardSprite: {fileID: 21300000, guid: 28e24068cd6a78b448d1bf09241b6905, type: 3}
|
||||
functionText: Card_Basic_AblazeInPurgatory_FunctionText
|
||||
cardDescription: $Keyword("Arcane"), apply $Attribute("HellfireStack") stacks of
|
||||
Hellfire to all enemy targets.
|
||||
keywords:
|
||||
- TargetEnemies
|
||||
- Magic
|
||||
cardSprite: {fileID: 21300000, guid: 54336fab907a76a4095ff5607e0b86c8, type: 3}
|
||||
cardLayoutTags: []
|
||||
functionText: Card_Basic_Ignite_FunctionText
|
||||
cardDescription:
|
||||
baseWeight: 1
|
||||
variableAttributes:
|
||||
dictionaryList: []
|
||||
dictionaryList:
|
||||
- Key: BuffStack_Burn
|
||||
Value: 2
|
||||
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: []
|
||||
@@ -39,6 +58,7 @@ MonoBehaviour:
|
||||
maxUpgradeLevel: 0
|
||||
upgradeCards: []
|
||||
customDescriptions: []
|
||||
prefabRefs: []
|
||||
prefabRefs:
|
||||
- VFX_Basic_RedImpact
|
||||
derivativeCardDataRefs: []
|
||||
derivativeCharacterDataRefs: []
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: caca4ea5f7e78d5419005d09f3cff517
|
||||
guid: 6721d0d04ecd0d94c98318b25074bcbe
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
@@ -10,20 +10,40 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9a4129cdd7011ca46b83d8c17d9f3623, type: 3}
|
||||
m_Name: CardData_Basic_HellfireBrand
|
||||
m_EditorClassIdentifier: Assembly-CSharp::Continentis.MainGame.Card.CardData
|
||||
m_Name: CardData_Basic_SkeletonGuardSlash
|
||||
m_EditorClassIdentifier:
|
||||
modName: Basic
|
||||
className: HellfireBlast
|
||||
displayName: Card_Basic_HellfireBlast_DisplayName
|
||||
cardRarity: 0
|
||||
categoryName:
|
||||
className: Slash
|
||||
displayName: Card_Basic_Slash_DisplayName
|
||||
cardRarity: 10
|
||||
cardType: 0
|
||||
tags: []
|
||||
cardSprite: {fileID: 0}
|
||||
functionText: Card_Basic_HellfireBlast_FunctionText
|
||||
cardDescription:
|
||||
keywords:
|
||||
- TargetEnemies
|
||||
- Slash
|
||||
cardSprite: {fileID: 21300000, guid: 54336fab907a76a4095ff5607e0b86c8, type: 3}
|
||||
cardLayoutTags: []
|
||||
functionText: Card_Basic_Slash_FunctionText
|
||||
cardDescription: Card_Basic_Strike_Description
|
||||
baseWeight: 1
|
||||
variableAttributes:
|
||||
dictionaryList: []
|
||||
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: []
|
||||
@@ -38,6 +58,7 @@ MonoBehaviour:
|
||||
maxUpgradeLevel: 0
|
||||
upgradeCards: []
|
||||
customDescriptions: []
|
||||
prefabRefs: []
|
||||
prefabRefs:
|
||||
- VFX_Basic_RedImpact
|
||||
derivativeCardDataRefs: []
|
||||
derivativeCharacterDataRefs: []
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fbefadde068f8db40822e491f9e2732e
|
||||
guid: 3a37f85fd6e990c4ba9b67409ec40112
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
27
Assets/Mods/Basic/Cards/Scripts/General/Ignite.cs
Normal file
27
Assets/Mods/Basic/Cards/Scripts/General/Ignite.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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 Ignite : CardLogicBase
|
||||
{
|
||||
public override List<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 =>
|
||||
{
|
||||
CreateCharacterBuff<Burn>(GetAttribute("BuffStack_Burn")).Apply(target, user, this);
|
||||
}));
|
||||
|
||||
return new List<CommandBase> { mainGroup };
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Mods/Basic/Cards/Scripts/General/Ignite.cs.meta
Normal file
2
Assets/Mods/Basic/Cards/Scripts/General/Ignite.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f9c20c393ab72bd4fa7f3141fada3ecd
|
||||
@@ -16,8 +16,6 @@ namespace Continentis.Mods.Basic.Cards
|
||||
|
||||
public override List<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, GetTargetedFinalDamage(target))));
|
||||
@@ -25,33 +25,37 @@ MonoBehaviour:
|
||||
coreAttributes:
|
||||
dictionaryList:
|
||||
- Key: Level
|
||||
Value: 0
|
||||
Value: 4
|
||||
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: 12
|
||||
index: 3
|
||||
isKeyDuplicated: 0
|
||||
- Key: Physique
|
||||
Value: 0
|
||||
Value: 12
|
||||
index: 4
|
||||
isKeyDuplicated: 0
|
||||
- Key: Perception
|
||||
Value: 0
|
||||
Value: 12
|
||||
index: 5
|
||||
isKeyDuplicated: 0
|
||||
- Key: Charisma
|
||||
Value: 0
|
||||
Value: 12
|
||||
index: 6
|
||||
isKeyDuplicated: 0
|
||||
- Key: DisableConversion
|
||||
Value: 1
|
||||
index: 7
|
||||
isKeyDuplicated: 0
|
||||
dividerPosProp: 0.5
|
||||
generalAttributes:
|
||||
dictionaryList:
|
||||
@@ -104,7 +108,7 @@ MonoBehaviour:
|
||||
index: 11
|
||||
isKeyDuplicated: 0
|
||||
- Key: MaximumStamina
|
||||
Value: 2
|
||||
Value: 1
|
||||
index: 12
|
||||
isKeyDuplicated: 0
|
||||
- Key: MaximumMana
|
||||
@@ -112,7 +116,7 @@ MonoBehaviour:
|
||||
index: 13
|
||||
isKeyDuplicated: 0
|
||||
- Key: MaximumHealth
|
||||
Value: 20
|
||||
Value: 25
|
||||
index: 14
|
||||
isKeyDuplicated: 0
|
||||
- Key: BlockGainOffset
|
||||
@@ -128,7 +132,7 @@ MonoBehaviour:
|
||||
index: 17
|
||||
isKeyDuplicated: 0
|
||||
- Key: StaminaRecoverPerAction
|
||||
Value: 0
|
||||
Value: 1
|
||||
index: 18
|
||||
isKeyDuplicated: 0
|
||||
- Key: ManaRecoverPerAction
|
||||
@@ -200,6 +204,9 @@ MonoBehaviour:
|
||||
prefabRefs: []
|
||||
derivativeCardDataRefs: []
|
||||
derivativeCharacterDataRefs: []
|
||||
initialDeckRef: []
|
||||
initialDeckRef:
|
||||
- CardData_Basic_SkeletonGuardSlash
|
||||
- CardData_Basic_SkeletonGuardIgnite
|
||||
- CardData_Basic_SkeletonGuardDefense
|
||||
hudDataRefs:
|
||||
- HUDData_Basic_Default
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{"TestSuite":"","Date":0,"Player":{"Development":false,"ScreenWidth":0,"ScreenHeight":0,"ScreenRefreshRate":0,"Fullscreen":false,"Vsync":0,"AntiAliasing":0,"Batchmode":false,"RenderThreadingMode":"GraphicsJobs","GpuSkinning":true,"Platform":"","ColorSpace":"","AnisotropicFiltering":"","BlendWeights":"","GraphicsApi":"","ScriptingBackend":"Mono2x","AndroidTargetSdkVersion":"AndroidApiLevelAuto","AndroidBuildSystem":"Gradle","BuildTarget":"StandaloneWindows64","StereoRenderingPath":"MultiPass"},"Hardware":{"OperatingSystem":"","DeviceModel":"","DeviceName":"","ProcessorType":"","ProcessorCount":0,"GraphicsDeviceName":"","SystemMemorySizeMB":0},"Editor":{"Version":"6000.2.6f2","Branch":"6000.2/respin/6000.2.6f2-cc51a95c03","Changeset":"4a4dcaec6541","Date":1758112816},"Dependencies":["com.unity.2d.animation@12.0.2","com.unity.2d.enhancers@1.0.0","com.unity.2d.sprite@1.0.0","com.unity.addressables@2.7.4","com.unity.ai.assistant@1.0.0-pre.12","com.unity.ai.generators@1.0.0-pre.20","com.unity.ai.inference@2.3.0","com.unity.ai.navigation@2.0.9","com.unity.collab-proxy@2.9.3","com.unity.ide.rider@3.0.38","com.unity.ide.visualstudio@2.0.23","com.unity.inputsystem@1.14.2","com.unity.multiplayer.center@1.0.0","com.unity.nuget.newtonsoft-json@3.2.1","com.unity.render-pipelines.universal@17.2.0","com.unity.test-framework@1.6.0","com.unity.timeline@1.8.9","com.unity.toolchain.win-x86_64-linux-x86_64@2.0.10","com.unity.ugui@2.0.0","com.unity.visualscripting@1.9.7","com.xuanxuan.nb.fx@2.0.0","com.unity.modules.accessibility@1.0.0","com.unity.modules.ai@1.0.0","com.unity.modules.androidjni@1.0.0","com.unity.modules.animation@1.0.0","com.unity.modules.assetbundle@1.0.0","com.unity.modules.audio@1.0.0","com.unity.modules.cloth@1.0.0","com.unity.modules.director@1.0.0","com.unity.modules.imageconversion@1.0.0","com.unity.modules.imgui@1.0.0","com.unity.modules.jsonserialize@1.0.0","com.unity.modules.particlesystem@1.0.0","com.unity.modules.physics@1.0.0","com.unity.modules.physics2d@1.0.0","com.unity.modules.screencapture@1.0.0","com.unity.modules.terrain@1.0.0","com.unity.modules.terrainphysics@1.0.0","com.unity.modules.tilemap@1.0.0","com.unity.modules.ui@1.0.0","com.unity.modules.uielements@1.0.0","com.unity.modules.umbra@1.0.0","com.unity.modules.unityanalytics@1.0.0","com.unity.modules.unitywebrequest@1.0.0","com.unity.modules.unitywebrequestassetbundle@1.0.0","com.unity.modules.unitywebrequestaudio@1.0.0","com.unity.modules.unitywebrequesttexture@1.0.0","com.unity.modules.unitywebrequestwww@1.0.0","com.unity.modules.vehicles@1.0.0","com.unity.modules.video@1.0.0","com.unity.modules.vr@1.0.0","com.unity.modules.wind@1.0.0","com.unity.modules.xr@1.0.0","com.unity.modules.subsystems@1.0.0","com.unity.modules.hierarchycore@1.0.0","com.unity.sysroot@2.0.10","com.unity.sysroot.linux-x86_64@2.0.9","com.unity.ext.nunit@2.0.5","com.unity.render-pipelines.core@17.2.0","com.unity.shadergraph@17.2.0","com.unity.render-pipelines.universal-config@17.0.3","com.unity.burst@1.8.24","com.unity.dt.app-ui@1.3.1","com.unity.collections@2.5.7","com.unity.ai.toolkit@1.0.0-pre.20","com.unity.mathematics@1.3.2","com.unity.serialization@3.1.2","com.unity.profiling.core@1.0.2","com.unity.scriptablebuildpipeline@2.4.3","com.unity.2d.common@11.0.1","com.unity.settings-manager@2.1.0","com.unity.searcher@4.9.3","com.unity.rendering.light-transport@1.0.1","com.unity.nuget.mono-cecil@1.11.5","com.unity.test-framework.performance@3.1.0"],"Results":[]}
|
||||
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e03da9657c4bbd4499490b3c689b73b0
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1 +0,0 @@
|
||||
{"MeasurementCount":-1}
|
||||
@@ -115,7 +115,7 @@ namespace Continentis.MainGame.Character
|
||||
eventSubmodule.onFinishAttack.Invoke(target, attackResult);
|
||||
combatBuffSubmodule.buffList.For(buff =>
|
||||
{
|
||||
buff.eventSubmodule.onDealAttack.Invoke(attackResult);
|
||||
buff?.eventSubmodule.onDealAttack.Invoke(attackResult);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -307,7 +307,7 @@ namespace Continentis.MainGame.Character
|
||||
bool CheckAvailabilityAndSetTargets(CardInstance card, out List<CharacterBase> targets)
|
||||
{
|
||||
card.DetectTargetsValidity(out List<CharacterBase> valid, out _, out _);
|
||||
if (valid.Count == 0 || !card.CheckBeforePlay())
|
||||
if (valid.Count == 0)
|
||||
{
|
||||
targets = null;
|
||||
return false; // 无有效目标或无法使用则跳过
|
||||
@@ -321,10 +321,10 @@ namespace Continentis.MainGame.Character
|
||||
IntentionBase currentIntention = intentionSubmodule.currentIntention;
|
||||
List<CardInstance> availableCards = deckSubmodule.PoolPile;
|
||||
List<IntendedCard> intended = new List<IntendedCard>();
|
||||
int currentStamina = GetAttribute("Stamina");
|
||||
int remainingStamina = currentStamina - currentIntention.guaranteedStamina;
|
||||
int currentMana = GetAttribute("Mana");
|
||||
int remainingMana = currentMana - currentIntention.guaranteedMana;
|
||||
int predictedStamina = Mathf.Min(GetAttribute("MaximumStamina"), GetAttribute("Stamina") + GetAttribute("StaminaRecoverPerAction"));
|
||||
int remainingStamina = predictedStamina - currentIntention.guaranteedStamina;
|
||||
int predictedMana = Mathf.Min(GetAttribute("MaximumMana"), GetAttribute("Mana") + GetAttribute("ManaRecoverPerAction"));
|
||||
int remainingMana = predictedMana - currentIntention.guaranteedMana;
|
||||
|
||||
List<CardInstance> forced = new List<CardInstance>();
|
||||
List<CardInstance> normal = new List<CardInstance>();
|
||||
|
||||
@@ -31,13 +31,29 @@ namespace SLSFramework.UModAssistance
|
||||
{
|
||||
await Task.Yield();
|
||||
}
|
||||
|
||||
if (!host.IsSuccessful)
|
||||
{
|
||||
throw new Exception($"Failed to load mod '{modName}' asynchronously");
|
||||
Debug.LogError($"[ModLoader] Mod load operation for '{modName}' failed (hostTask.IsSuccessful == false).");
|
||||
throw new Exception($"Failed to load mod '{modName}' asynchronously (Operation Failed)");
|
||||
}
|
||||
|
||||
ModHost modHost = host.Result;
|
||||
|
||||
if (modHost == null || !modHost.IsModLoaded)
|
||||
{
|
||||
if (modHost != null)
|
||||
{
|
||||
var errorMessage = modHost.LoadResult.Message;
|
||||
Debug.LogError($"[ModLoader] Mod load operation for '{modName}' failed: {errorMessage}");
|
||||
}
|
||||
|
||||
throw new Exception($"Failed to load mod '{modName}' asynchronously (ModHost is null or not loaded)");
|
||||
}
|
||||
|
||||
LoadedMods.Add(modName, host.Result);
|
||||
Debug.Log($"Mod '{modName}' async loaded successfully.");
|
||||
return host.Result;
|
||||
return modHost;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1269,6 +1269,7 @@ MonoBehaviour:
|
||||
- 3a342cc1db63a104da3bc2e09ba35be3
|
||||
- 3e3f2261e78edf348b87fe951a8f9e66
|
||||
- b6560183465e5944ba49e39974faafd4
|
||||
- 59a1c52238303dc41bd58e565f7fbeda
|
||||
- e539456001f999741ace4b04c2f21133
|
||||
- a03af87fafe3d344380ed827e851e5c4
|
||||
- 2e5b547f83fbee0419ce24925bcb0279
|
||||
@@ -1276,6 +1277,7 @@ MonoBehaviour:
|
||||
- 38c98bdd75759a14b954e6ddd0a4d99d
|
||||
- c8ec15b05165d644ea320a2e59b2a4d4
|
||||
- 434edd20e1100e8489b175dab3fac8e0
|
||||
- 95504a2d65ce1fa4d82cbdb23ef16892
|
||||
- 7d754f46edfdb9542a15c7635c5dfd24
|
||||
- cac537445b7bbed40968d7b39124b639
|
||||
- 0b7177c464f6dfa488ad5d5b124ad16d
|
||||
@@ -1385,9 +1387,9 @@ MonoBehaviour:
|
||||
- 7958263785c327641b684242ce2f8c9a
|
||||
- 5b3352bb0a4563d4f8778594a486a3c9
|
||||
- e6c66e8ba85e73f4e913053be3226ca9
|
||||
- a58101ba7d997824d889bd04baf1c18c
|
||||
- 9a36a4bb7be9da947beb608206dc240f
|
||||
- 77b3f3b496104dc4d887f70412d2f57f
|
||||
- a58101ba7d997824d889bd04baf1c18c
|
||||
- 95633a09783e9ad47a4980934e8af4d0
|
||||
- c87462c2ff921fb4e9e5f52ab691a665
|
||||
- c8533bcb32514564d98e8c49f29b13ea
|
||||
|
||||
@@ -17,7 +17,7 @@ MonoBehaviour:
|
||||
commandLineFormat: +mod=$(PATH)
|
||||
allowSceneChanges: 1
|
||||
autoLoadModScenes: 1
|
||||
allowModsCreatedByOlderUnityVersions: 1
|
||||
allowModsCreatedByOlderUnityVersions: 0
|
||||
cleanupModObjects: 1
|
||||
logLevel: 4
|
||||
memoryBudgetBytes: 104857600
|
||||
|
||||
Reference in New Issue
Block a user