Card爆改!
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Continentis.MainGame.Commands
|
||||
private IObservable<Unit> PlayerExhaustCard(CardInstance card)
|
||||
{
|
||||
deck.TransferCard(deck.Pile(card.cardLocation.pileName), deck.ExhaustPile, card);
|
||||
card.cardLogic.eventSubmodule.onExhaust.Invoke();
|
||||
card.eventSubmodule.onExhaust.Invoke();
|
||||
|
||||
card.handCardView.TransferCardView(CombatUIManager.Instance.combatMainPage.exhaustPile);
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace Continentis.MainGame.Commands
|
||||
private IObservable<Unit> NpcExhaustCard(CardInstance card)
|
||||
{
|
||||
deck.TransferCard(deck.Pile(card.cardLocation.pileName), deck.ExhaustPile, card);
|
||||
card.cardLogic.eventSubmodule.onExhaust.Invoke();
|
||||
card.eventSubmodule.onExhaust.Invoke();
|
||||
return Observable.Timer(TimeSpan.FromSeconds(singleCardAnimationDuration)).AsUnitObservable();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user