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

@@ -47,6 +47,8 @@ namespace Continentis.MainGame.Card
{
eventSubmodule.onUntargeting();
}
contentSubmodule.dirtyMark = true;
}
/// <summary>
@@ -198,7 +200,7 @@ namespace Continentis.MainGame.Card
});
}));
CommandQueueManager.Instance.AddCommand(PlayEffect(targetList));
CommandQueueManager.Instance.AddCommands(PlayEffect(targetList));
CommandQueueManager.Instance.AddCommand(new Cmd_Function(() =>
{
eventSubmodule.onAfterPlay.Invoke(targetList);
@@ -225,7 +227,7 @@ namespace Continentis.MainGame.Card
}
}
protected virtual CommandBase PlayEffect(List<CharacterBase> targetList)
protected virtual List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
return null;
}