mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added Wretched Banquet.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -8817,6 +8817,7 @@ res/cardsfolder/w/wrecking_ball.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/w/wrench_mind.txt svneol=native#text/plain
|
res/cardsfolder/w/wrench_mind.txt svneol=native#text/plain
|
||||||
res/cardsfolder/w/wrens_run_packmaster.txt svneol=native#text/plain
|
res/cardsfolder/w/wrens_run_packmaster.txt svneol=native#text/plain
|
||||||
res/cardsfolder/w/wretched_anurid.txt svneol=native#text/plain
|
res/cardsfolder/w/wretched_anurid.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/w/wretched_banquet.txt -text
|
||||||
res/cardsfolder/w/wring_flesh.txt svneol=native#text/plain
|
res/cardsfolder/w/wring_flesh.txt svneol=native#text/plain
|
||||||
res/cardsfolder/w/wu_admiral.txt svneol=native#text/plain
|
res/cardsfolder/w/wu_admiral.txt svneol=native#text/plain
|
||||||
res/cardsfolder/w/wu_elite_cavalry.txt svneol=native#text/plain
|
res/cardsfolder/w/wu_elite_cavalry.txt svneol=native#text/plain
|
||||||
|
|||||||
11
res/cardsfolder/w/wretched_banquet.txt
Normal file
11
res/cardsfolder/w/wretched_banquet.txt
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
Name:Wretched Banquet
|
||||||
|
ManaCost:B
|
||||||
|
Types:Instant
|
||||||
|
Text:no text
|
||||||
|
A:SP$ Destroy | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionDefined$ Targeted | ConditionPresent$ Creature.leastPower | ConditionCompare$ EQ1 | SpellDescription$ Destroy target creature if it has the least power or is tied for least power among creatures on the battlefield.
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:Rarity:Common
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/wretched_banquet.jpg
|
||||||
|
SetInfo:CFX|Common|http://magiccards.info/scans/en/cfx/56.jpg
|
||||||
|
Oracle:Destroy target creature if it has the least power or is tied for least power among creatures on the battlefield.
|
||||||
|
End
|
||||||
@@ -5046,6 +5046,13 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (Property.startsWith("leastPower")) {
|
||||||
|
CardList list = AllZoneUtil.getCreaturesInPlay();
|
||||||
|
for (Card crd : list) {
|
||||||
|
if (crd.getNetAttack() < getNetAttack()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if (Property.startsWith("greatestCMC")) {
|
} else if (Property.startsWith("greatestCMC")) {
|
||||||
CardList list = AllZoneUtil.getCreaturesInPlay();
|
CardList list = AllZoneUtil.getCreaturesInPlay();
|
||||||
for (Card crd : list) {
|
for (Card crd : list) {
|
||||||
|
|||||||
Reference in New Issue
Block a user