mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Added Thief of Blood.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -14725,6 +14725,7 @@ forge-gui/res/cardsfolder/t/thespians_stage.txt -text
|
||||
forge-gui/res/cardsfolder/t/thick_skinned_goblin.txt -text
|
||||
forge-gui/res/cardsfolder/t/thicket_basilisk.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/t/thicket_elemental.txt -text
|
||||
forge-gui/res/cardsfolder/t/thief_of_blood.txt -text
|
||||
forge-gui/res/cardsfolder/t/thief_of_hope.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/t/thieves_auction.txt -text
|
||||
forge-gui/res/cardsfolder/t/thieves_fortune.txt -text
|
||||
|
||||
@@ -57,10 +57,12 @@ public class CountersRemoveAllEffect extends SpellAbilityEffect {
|
||||
cards = CardLists.filterControlledBy(cards, pl);
|
||||
}
|
||||
|
||||
int numberRemoved = 0;
|
||||
for (final Card tgtCard : cards) {
|
||||
if (sa.hasParam("AllCounterTypes")) {
|
||||
Set<CounterType> types = tgtCard.getCounters().keySet();
|
||||
for(CounterType ct : types) {
|
||||
numberRemoved += tgtCard.getCounters(ct);
|
||||
tgtCard.subtractCounter(ct, tgtCard.getCounters(ct));
|
||||
}
|
||||
//tgtCard.getCounters().clear();
|
||||
@@ -72,5 +74,8 @@ public class CountersRemoveAllEffect extends SpellAbilityEffect {
|
||||
|
||||
tgtCard.subtractCounter(CounterType.valueOf(type), counterAmount);
|
||||
}
|
||||
if (sa.hasParam("RememberAmount")) {
|
||||
sa.getHostCard().setChosenNumber(numberRemoved);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
13
forge-gui/res/cardsfolder/t/thief_of_blood.txt
Normal file
13
forge-gui/res/cardsfolder/t/thief_of_blood.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Name:Thief of Blood
|
||||
ManaCost:4 B B
|
||||
Types:Creature Vampire
|
||||
PT:1/1
|
||||
K:Flying
|
||||
K:ETBReplacement:Other:DBRemoveCounterAll
|
||||
SVar:DBRemoveCounterAll:DB$ RemoveCounterAll | ValidCards$ Permanent | AllCounterTypes$ True | StackDescription$ SpellDescription | SubAbility$ DBPutCounters| RememberAmount$ True | SpellDescription$ As CARDNAME enters the battlefield, remove all counters from all permanents. CARDNAME enters the battlefield with a +1/+1 counter on it for each counter removed this way.
|
||||
SVar:DBPutCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:X:Count$ChosenNumber
|
||||
SVar:RemRandomDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/thief_of_blood.jpg
|
||||
Oracle:Flying\nAs Thief of Blood enters the battlefield, remove all counters from all permanents. Thief of Blood enters the battlefield with a +1/+1 counter on it for each counter removed this way.
|
||||
Reference in New Issue
Block a user