Card爆改!
This commit is contained in:
@@ -72,11 +72,11 @@ namespace Continentis.MainGame.Commands
|
||||
{
|
||||
if (isInitiative)
|
||||
{
|
||||
if (card.cardLogic.eventSubmodule.onInitiativeDiscard.GetChecks().Any()) // 如果主动弃牌后,有触发条件,则打断弃牌,直接触发效果
|
||||
if (card.eventSubmodule.onInitiativeDiscard.GetChecks().Any()) // 如果主动弃牌后,有触发条件,则打断弃牌,直接触发效果
|
||||
{
|
||||
CommandQueueManager.Instance.AddCommand(new Cmd_Function(() =>
|
||||
{
|
||||
card.cardLogic.eventSubmodule.onInitiativeDiscard.GetEffects().ForEach(effect => effect.Invoke());
|
||||
card.eventSubmodule.onInitiativeDiscard.GetEffects().ForEach(effect => effect.Invoke());
|
||||
}));
|
||||
return Observable.Return(Unit.Default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user