mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38: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) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("HasSVar")) {
|
||||
final String svar = property.substring(8);
|
||||
if (!hasSVar(svar)) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!isType(property)) {
|
||||
return false;
|
||||
|
||||
@@ -2,7 +2,8 @@ Name:Perilous Research
|
||||
ManaCost:1 U
|
||||
Types:Instant
|
||||
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:Picture:http://www.wizards.com/global/images/magic/general/perilous_research.jpg
|
||||
Oracle:Draw two cards, then sacrifice a permanent.
|
||||
|
||||
Reference in New Issue
Block a user