mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Added Heretic's Punishment.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -4030,6 +4030,7 @@ res/cardsfolder/h/henge_of_ramos.txt svneol=native#text/plain
|
||||
res/cardsfolder/h/herald_of_serra.txt svneol=native#text/plain
|
||||
res/cardsfolder/h/herbal_poultice.txt svneol=native#text/plain
|
||||
res/cardsfolder/h/herd_gnarr.txt svneol=native#text/plain
|
||||
res/cardsfolder/h/heretics_punishment.txt -text svneol=unset#text/plain
|
||||
res/cardsfolder/h/heritage_druid.txt svneol=native#text/plain
|
||||
res/cardsfolder/h/hermetic_study.txt svneol=native#text/plain
|
||||
res/cardsfolder/h/hermit_druid.txt svneol=native#text/plain
|
||||
|
||||
13
res/cardsfolder/h/heretics_punishment.txt
Normal file
13
res/cardsfolder/h/heretics_punishment.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Name:Heretic's Punishment
|
||||
ManaCost:4 R
|
||||
Types:Enchantment
|
||||
Text:no text
|
||||
A:AB$ Mill | Cost$ 3 R | NumCards$ 3 | RememberMilled$ True | SubAbility$ DBHereticDamage | SpellDescription$ Choose target creature or player, then put the top three cards of your library into your graveyard. CARDNAME deals damage to that creature or player equal to the highest converted mana cost among those cards.
|
||||
SVar:DBHereticDamage:DB$ DealDamage | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ HereticX | SubAbility$ DBHereticCleanup
|
||||
SVar:DBHereticCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:HereticX:Count$HighestCMCRemembered
|
||||
SVar:RemAIDeck:True
|
||||
SVar:RemRandomDeck
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/heretics_punishment.jpg
|
||||
End
|
||||
@@ -2762,6 +2762,22 @@ public class CardFactoryUtil {
|
||||
return highest;
|
||||
}
|
||||
|
||||
if (l[0].contains("HighestCMCRemembered")) {
|
||||
final CardList list = new CardList();
|
||||
int highest = 0;
|
||||
for (final Object o : c.getRemembered()) {
|
||||
if (o instanceof Card) {
|
||||
list.add(AllZoneUtil.getCardState((Card) o));
|
||||
}
|
||||
}
|
||||
for (final Card crd : list) {
|
||||
if (crd.getCMC() > highest) {
|
||||
highest = crd.getCMC();
|
||||
}
|
||||
}
|
||||
return highest;
|
||||
}
|
||||
|
||||
if (l[0].contains("RememberedSumPower")) {
|
||||
final CardList list = new CardList();
|
||||
for (final Object o : c.getRemembered()) {
|
||||
|
||||
Reference in New Issue
Block a user