意图初步

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

@@ -0,0 +1,29 @@
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 NecromanticInfusion : CardLogicBase
{
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup main = new CommandGroup(new Cmd_Function(() =>
{
CreateCharacterBuff<Prowess>(2).Apply(user, user, this);
}));
CommandGroup weak = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
{
CreateCharacterBuff<Weak>(2).Apply(target, user, this);
}));
return new List<CommandBase> { main, weak };
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 45fc6635536539b4eaeba839b4816238

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