mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added AI support for Perilous Research (given the right deck).
This commit is contained in:
@@ -4995,6 +4995,11 @@ public class Card extends GameEntity implements Comparable<Card>, IIdentifiable
|
|||||||
if (!isCommander) {
|
if (!isCommander) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
} else if (property.startsWith("HasSVar")) {
|
||||||
|
final String svar = property.substring(8);
|
||||||
|
if (!hasSVar(svar)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!isType(property)) {
|
if (!isType(property)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ Name:Perilous Research
|
|||||||
ManaCost:1 U
|
ManaCost:1 U
|
||||||
Types:Instant
|
Types:Instant
|
||||||
A:SP$ Draw | Cost$ 1 U | NumCards$ 2 | SubAbility$ DBSac | SpellDescription$ Draw two cards, then sacrifice a permanent.
|
A:SP$ Draw | Cost$ 1 U | NumCards$ 2 | SubAbility$ DBSac | SpellDescription$ Draw two cards, then sacrifice a permanent.
|
||||||
SVar:DBSac:DB$Sacrifice | SacValid$ Permanent
|
SVar:DBSac:DB$ Sacrifice | SacValid$ Permanent
|
||||||
|
SVar:NeedsToPlay:Permanent.YouCtrl+HasSVar SacMe
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/perilous_research.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/perilous_research.jpg
|
||||||
Oracle:Draw two cards, then sacrifice a permanent.
|
Oracle:Draw two cards, then sacrifice a permanent.
|
||||||
|
|||||||
Reference in New Issue
Block a user