mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Merge branch 'thirst' into 'master'
VOW: Thirst for Discovery and support See merge request core-developers/forge!5746
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
Name:Thirst for Discovery
|
||||||
|
ManaCost:2 U
|
||||||
|
Types:Instant
|
||||||
|
A:SP$ Draw | NumCards$ 3 | SubAbility$ DBDiscard | SpellDescription$ Draw three cards.
|
||||||
|
SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 2 | Mode$ TgtChoose | UnlessType$ Basic Land | StackDescription$ SpellDescription | SpellDescription$ Then discard two cards unless you discard a basic land card.
|
||||||
|
Oracle:Draw three cards. Then discard two cards unless you discard a basic land card.
|
||||||
@@ -1191,6 +1191,10 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
for (String part : splitUTypes) {
|
for (String part : splitUTypes) {
|
||||||
if (c.getType().hasStringType(part)) {
|
if (c.getType().hasStringType(part)) {
|
||||||
return true;
|
return true;
|
||||||
|
} else if (part.equals("Basic Land")) {
|
||||||
|
if (c.isBasicLand()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1201,9 +1205,9 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
StringBuilder promptType = new StringBuilder();
|
StringBuilder promptType = new StringBuilder();
|
||||||
for (String part : splitUTypes) {
|
for (String part : splitUTypes) {
|
||||||
if (n==1) {
|
if (n==1) {
|
||||||
promptType.append(part);
|
promptType.append(part.toLowerCase());
|
||||||
} else {
|
} else {
|
||||||
promptType.append(" or ").append(part);
|
promptType.append(" or ").append(part.toLowerCase());
|
||||||
}
|
}
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user