* Do if cost paid - fixed that some cards asks player about pay two times (fixed ~30 cards);

This commit is contained in:
Oleg Agafonov 2020-08-14 16:36:00 +04:00
parent 61bfdf8108
commit d8c9d10066
30 changed files with 143 additions and 170 deletions

View file

@ -97,7 +97,7 @@ public class DoIfCostPaid extends OneShotEffect {
cost.clearPaid();
int bookmark = game.bookmarkState();
if (cost.pay(source, game, source.getSourceId(), player.getId(), false)) {
game.informPlayers(player.getLogName() + " paid for " + mageObject.getLogName() + " - " + executingEffects.getText(source.getModes().getMode()));
game.informPlayers(player.getLogName() + " paid for " + mageObject.getLogName() + " - " + message);
for (Effect effect : executingEffects) {
effect.setTargetPointer(this.targetPointer);
if (effect instanceof OneShotEffect) {