卡牌更新
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Continentis.MainGame.Card
|
||||
selectedCards = new List<CardInstance>();
|
||||
HandCardSelectionInterface handCardSelector = CombatUIManager.Instance.combatMainPage.handCardSelector;
|
||||
|
||||
commandGroup.AddCommand(new Cmd_Function(() =>
|
||||
commandGroup.AddCommand(Cmd.Do(() =>
|
||||
{
|
||||
handCardSelector.Setup(title, mainLogic.card, maxSelection, selectCondition, forceMax);
|
||||
if (!includeTeam)
|
||||
@@ -51,7 +51,7 @@ namespace Continentis.MainGame.Card
|
||||
}
|
||||
}));
|
||||
commandGroup.AddCommand(new Cmd_WaitForUI(handCardSelector));
|
||||
commandGroup.AddCommand(new Cmd_Function(() =>
|
||||
commandGroup.AddCommand(Cmd.Do(() =>
|
||||
{
|
||||
selectedCards = handCardSelector.selectedCards.ToList();
|
||||
selectedCards.ForEach(selectEffect);
|
||||
|
||||
Reference in New Issue
Block a user