mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Fixed Psychatog's 2nd ability.
This commit is contained in:
@@ -8234,13 +8234,16 @@ public class CardFactory_Creatures {
|
|||||||
|
|
||||||
Input runtime2 = new Input() {
|
Input runtime2 = new Input() {
|
||||||
|
|
||||||
|
boolean once = false;
|
||||||
private static final long serialVersionUID = 8243511353958609599L;
|
private static final long serialVersionUID = 8243511353958609599L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void showMessage() {
|
public void showMessage() {
|
||||||
CardList list = new CardList(AllZone.Human_Graveyard.getCards());
|
CardList list = new CardList(AllZone.Human_Graveyard.getCards());
|
||||||
if (list.size() < 2)
|
if (list.size() < 2 || once) {
|
||||||
|
once = false;
|
||||||
stop();
|
stop();
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
Object o = AllZone.Display.getChoice("Choose first card to exile", list.toArray());
|
Object o = AllZone.Display.getChoice("Choose first card to exile", list.toArray());
|
||||||
if (o!=null)
|
if (o!=null)
|
||||||
@@ -8256,6 +8259,7 @@ public class CardFactory_Creatures {
|
|||||||
Card c2 = (Card)o;
|
Card c2 = (Card)o;
|
||||||
AllZone.GameAction.removeFromGame(c2);
|
AllZone.GameAction.removeFromGame(c2);
|
||||||
|
|
||||||
|
once = true;
|
||||||
AllZone.Stack.add(ability2);
|
AllZone.Stack.add(ability2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user