文本显示和Command大修

This commit is contained in:
SoulliesOfficial
2025-11-08 09:50:55 -05:00
parent 3f1e04dee7
commit b2e9e84c52
78 changed files with 293 additions and 244 deletions

View File

@@ -9,13 +9,13 @@ namespace Continentis.Mods.Basic.Cards
{
public class Rouse : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_Function(() => user.ModifyStamina(1)));
return mainGroup;
return new List<CommandBase> { mainGroup };
}
}
}

View File

@@ -15,7 +15,7 @@ namespace Continentis.Mods.Basic.Cards
AddLogicComponent<CardLogicComponent_SelectHandCards>().SetEffect(SelectEffect);
}
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
new Cmd_PlayAnimation(user.characterView, "Skill"));
@@ -25,7 +25,7 @@ namespace Continentis.Mods.Basic.Cards
mainGroup.AddCommand(new Cmd_DrawCards(user.deckSubmodule, 1));
return mainGroup;
return new List<CommandBase> { mainGroup };
}
private void SelectEffect(CardInstance card)

View File

@@ -9,13 +9,13 @@ namespace Continentis.Mods.Basic.Cards
{
public class Whimsy : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_Function(() => user.ModifyMana(1)));
return mainGroup;
return new List<CommandBase> { mainGroup };
}
}
}