意图初步

This commit is contained in:
SoulliesOfficial
2025-11-15 09:08:36 -05:00
parent 9a8eadef24
commit 85bbe2431c
33 changed files with 508 additions and 198 deletions

View File

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

View File

@@ -13,18 +13,32 @@ MonoBehaviour:
m_Name: CardData_Basic_NecromanticInfusion
m_EditorClassIdentifier:
modName: Basic
categoryName:
className: NecromanticInfusion
displayName: Card_Basic_NecromanticInfusion_DisplayName
cardRarity: 40
cardRarity: 30
cardType: 10
tags: []
keywords:
- TargetEnemies
cardSprite: {fileID: 21300000, guid: 4319eef242cf5a94cace1528f74bfe42, type: 3}
cardLayoutTags: []
functionText: Card_Basic_NecromanticInfusion_FunctionText
cardDescription: $Keyword("Exhaust"), Apply 50% Lifesteal amplification to all
allies.
baseWeight: 10
cardDescription:
baseWeight: 0
variableAttributes:
dictionaryList: []
dictionaryList:
- Key: TargetCount
Value: 1
index: 0
isKeyDuplicated: 0
- Key: StaminaCost
Value: 2
index: 1
isKeyDuplicated: 0
- Key: ManaCost
Value: 0
index: 2
isKeyDuplicated: 0
dividerPosProp: 0.5
originalAttributes:
dictionaryList: []

View File

@@ -12,16 +12,18 @@ namespace Continentis.Mods.Basic.Cards
{
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup main = new CommandGroup(new Cmd_Function(() =>
{
CreateCharacterBuff<Prowess>(2).Apply(user, user, this);
}));
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Parallel, ExecutionMode.Parallel,
CommandGroup weak = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
{
Basic_SoulAbsorption buff = new Basic_SoulAbsorption(50);
buff.Apply(target, user, this);
CreateCharacterBuff<Weak>(2).Apply(target, user, this);
}));
return new List<CommandBase> { mainGroup };
return new List<CommandBase> { main, weak };
}
}
}

View File

@@ -18,8 +18,6 @@ namespace Continentis.Mods.Basic.Cards
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
base.PlayEffect(targetList);
CommandGroup singleTargetGroup = new CommandGroup(ExecutionMode.Parallel,
new Cmd_PlayAnimation(user.characterView, "Attack"),
new Cmd_ParamFunction<CharacterBase>(0.4f, target =>