mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Added 'player kept N cards' to log
InputSyncronizedBase - just a comment
This commit is contained in:
@@ -32,6 +32,7 @@ public abstract class InputSyncronizedBase extends InputBase implements InputSyn
|
|||||||
FThreads.invokeInNewThread(new Runnable() {
|
FThreads.invokeInNewThread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
// this will update input proxy, so there might be anything happening in the thread
|
||||||
getQueue().removeInput(InputSyncronizedBase.this);
|
getQueue().removeInput(InputSyncronizedBase.this);
|
||||||
cdlDone.countDown();
|
cdlDone.countDown();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ import forge.Command;
|
|||||||
import forge.CounterType;
|
import forge.CounterType;
|
||||||
import forge.FThreads;
|
import forge.FThreads;
|
||||||
import forge.GameEntity;
|
import forge.GameEntity;
|
||||||
|
import forge.GameEventType;
|
||||||
import forge.card.CardType;
|
import forge.card.CardType;
|
||||||
import forge.card.TriggerReplacementBase;
|
import forge.card.TriggerReplacementBase;
|
||||||
import forge.card.ability.AbilityFactory;
|
import forge.card.ability.AbilityFactory;
|
||||||
@@ -1519,6 +1520,7 @@ public class GameAction {
|
|||||||
|
|
||||||
p.onMulliganned();
|
p.onMulliganned();
|
||||||
} else {
|
} else {
|
||||||
|
game.getGameLog().add(GameEventType.MULLIGAN, p.getName() + " has kept a hand of " + p.getZone(ZoneType.Hand).size() + " cards");
|
||||||
whoCanMulligan.remove(i--);
|
whoCanMulligan.remove(i--);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user