mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added Thought Devourer
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -10816,6 +10816,7 @@ res/cardsfolder/t/thornwind_faeries.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/t/thought_courier.txt svneol=native#text/plain
|
res/cardsfolder/t/thought_courier.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/thought_devourer.txt svneol=native#text/plain
|
res/cardsfolder/t/thought_devourer.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/thought_eater.txt svneol=native#text/plain
|
res/cardsfolder/t/thought_eater.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/t/thought_gorger.txt -text
|
||||||
res/cardsfolder/t/thought_hemorrhage.txt -text svneol=unset#text/plain
|
res/cardsfolder/t/thought_hemorrhage.txt -text svneol=unset#text/plain
|
||||||
res/cardsfolder/t/thought_nibbler.txt svneol=native#text/plain
|
res/cardsfolder/t/thought_nibbler.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/thought_prison.txt -text svneol=unset#text/plain
|
res/cardsfolder/t/thought_prison.txt -text svneol=unset#text/plain
|
||||||
|
|||||||
17
res/cardsfolder/t/thought_gorger.txt
Normal file
17
res/cardsfolder/t/thought_gorger.txt
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
Name:Thought Gorger
|
||||||
|
ManaCost:2 B B
|
||||||
|
Types:Creature Horror
|
||||||
|
PT:2/2
|
||||||
|
K:Trample
|
||||||
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ EatMyThoughts | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME enters the battlefield, put a +1/+1 counter on it for each card in your hand. If you do, discard your hand.
|
||||||
|
SVar:EatMyThoughts:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterNum$ OldThoughts | CounterType$ P1P1 | References$ OldThoughts | RememberCounters$ True | SubAbility$ GorgeOnThoughts
|
||||||
|
SVar:GorgeOnThoughts:DB$ Discard | Mode$ Hand | Defined$ You | ConditionDescription$ If you do, | ConditionCheckSVar$ StrengthOfThoughts | ConditionSVarCompare$ GE1
|
||||||
|
SVar:OldThoughts:Count$InYourHand
|
||||||
|
SVar:StrengthOfThoughts:Count$CountersAdded P1P1 Card.Self
|
||||||
|
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ BringBackThoughts | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, draw a card for each +1/+1 counter on it.
|
||||||
|
SVar:BringBackThoughts:AB$ Draw | Cost$ 0 | NumCards$ Disgorge | References$ Disgorge | Defined$ TriggeredCardController
|
||||||
|
SVar:Disgorge:TriggeredCard$CardCounters.P1P1
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/thought_gorger.jpg
|
||||||
|
SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/129.jpg
|
||||||
|
Oracle:Trample\nWhen Thought Gorger enters the battlefield, put a +1/+1 counter on it for each card in your hand. If you do, discard your hand.\nWhen Thought Gorger leaves the battlefield, draw a card for each +1/+1 counter on it.
|
||||||
@@ -1453,6 +1453,22 @@ public class CardFactoryUtil {
|
|||||||
return CardFactoryUtil.doXMath(c.getRemembered().size(), m, c);
|
return CardFactoryUtil.doXMath(c.getRemembered().size(), m, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Count$CountersAdded <CounterType> <ValidSource>
|
||||||
|
if (l[0].startsWith("CountersAdded")) {
|
||||||
|
final String[] components = l[0].split(" ", 3);
|
||||||
|
final CounterType counterType = CounterType.valueOf(components[1]);
|
||||||
|
String restrictions = components[2];
|
||||||
|
final String[] rest = restrictions.split(",");
|
||||||
|
List<Card> candidates = Singletons.getModel().getGame().getCardsInGame();
|
||||||
|
candidates = CardLists.getValidCards(candidates, rest, cardController, c);
|
||||||
|
|
||||||
|
int added = 0;
|
||||||
|
for (final Card counterSource : candidates) {
|
||||||
|
added += c.getCountersAddedBy(counterSource, counterType);
|
||||||
|
}
|
||||||
|
return CardFactoryUtil.doXMath(added, m, c);
|
||||||
|
}
|
||||||
|
|
||||||
if (l[0].startsWith("RolledThisTurn")) {
|
if (l[0].startsWith("RolledThisTurn")) {
|
||||||
return Singletons.getModel().getGame().getPhaseHandler().getPlanarDiceRolledthisTurn();
|
return Singletons.getModel().getGame().getPhaseHandler().getPlanarDiceRolledthisTurn();
|
||||||
}
|
}
|
||||||
@@ -1675,8 +1691,6 @@ public class CardFactoryUtil {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Count$Hellbent.<numHB>.<numNotHB>
|
// Count$Hellbent.<numHB>.<numNotHB>
|
||||||
if (sq[0].contains("Hellbent")) {
|
if (sq[0].contains("Hellbent")) {
|
||||||
if (cardController.hasHellbent()) {
|
if (cardController.hasHellbent()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user