文本显示和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

@@ -10,7 +10,7 @@ namespace Continentis.Mods.Basic.Cards
{
public class CompoundPoison : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
@@ -31,7 +31,7 @@ namespace Continentis.Mods.Basic.Cards
CreateCharacterBuff<Corrosion>(GetAttribute("BuffStack_Corrosion") * debuffCount).Apply(target, user, this);
})
);
return mainGroup;
return new List<CommandBase> { mainGroup };
}
}
}

View File

@@ -10,7 +10,7 @@ namespace Continentis.Mods.Basic.Cards
{
public class Torture : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DrawCards(GetAttribute("DrawCardAmount")));
CommandGroup mainGroup = TargetListCommandGroup(targetList,
@@ -21,7 +21,7 @@ namespace Continentis.Mods.Basic.Cards
CreateCharacterBuff<Corrosion>(GetAttribute("BuffStack_Corrosion")).Apply(target, user, this);
}
}));
return mainGroup;
return new List<CommandBase> { mainGroup };
}
}
}

View File

@@ -9,14 +9,14 @@ namespace Continentis.Mods.Basic.Cards
{
public class WoundDeterioration : CardLogicBase
{
protected override CommandBase PlayEffect(List<CharacterBase> targetList)
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
{
CreateCharacterBuff<Buffs.WoundDeterioration>(GetAttribute("BuffStack_WD")).Apply(target, user, this);
}));
return mainGroup;
return new List<CommandBase> { mainGroup };
}
}
}