mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix test
This commit is contained in:
@@ -255,14 +255,14 @@ public class DiscardEffect extends SpellAbilityEffect {
|
||||
Player chooser = p;
|
||||
if (mode.endsWith("YouChoose")) {
|
||||
chooser = source.getController();
|
||||
} else if (mode.endsWith("TgtChoose")) {
|
||||
} else if (mode.equals("RevealTgtChoose")) {
|
||||
chooser = firstTarget;
|
||||
}
|
||||
|
||||
if (mode.startsWith("Reveal")) {
|
||||
game.getAction().reveal(dPHand, p);
|
||||
}
|
||||
if (mode.startsWith("Look")) {
|
||||
if (mode.startsWith("Look") && p != chooser) {
|
||||
game.getAction().revealTo(dPHand, chooser);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user