mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Merge pull request #1044 from xaviermd/CardScript--CLB--Alaundo-the-Seer
Card Script for Alaundo the Seer.
This commit is contained in:
@@ -1448,6 +1448,13 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (ZoneType.Exile.equals(destination) && sa.hasParam("WithCountersType")) {
|
||||||
|
CounterType cType = CounterType.getType(sa.getParam("WithCountersType"));
|
||||||
|
int cAmount = AbilityUtils.calculateAmount(sa.getOriginalHost(), sa.getParamOrDefault("WithCountersAmount", "1"), sa);
|
||||||
|
GameEntityCounterTable table = new GameEntityCounterTable();
|
||||||
|
movedCard.addCounter(cType, cAmount, player, table);
|
||||||
|
table.replaceCounterEffect(game, sa, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (((!ZoneType.Battlefield.equals(destination) && changeType != null && !defined && !changeType.equals("Card"))
|
if (((!ZoneType.Battlefield.equals(destination) && changeType != null && !defined && !changeType.equals("Card"))
|
||||||
|
|||||||
@@ -61,5 +61,6 @@ twosat
|
|||||||
Xyx
|
Xyx
|
||||||
Zimtente
|
Zimtente
|
||||||
Zuchinni
|
Zuchinni
|
||||||
|
XavierMD
|
||||||
|
|
||||||
(If you think your name should be on this list, add it with your next contribution)
|
(If you think your name should be on this list, add it with your next contribution)
|
||||||
|
|||||||
15
forge-gui/res/cardsfolder/upcoming/alaundo_the_seer.txt
Normal file
15
forge-gui/res/cardsfolder/upcoming/alaundo_the_seer.txt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Name:Alaundo the Seer
|
||||||
|
ManaCost:2 G U
|
||||||
|
Types:Legendary Creature Human Shaman
|
||||||
|
PT:3/5
|
||||||
|
A:AB$ Draw | Cost$ T | SubAbility$ DBExile | StackDescription$ SpellDescription | SpellDescription$ Draw a card, then exile a card from your hand and put a number of time counters on it equal to its mana value. It gains "When the last time counter is removed from this card, if it's exiled, you may cast it without paying its mana cost. If you cast a creature spell this way, it gains haste until end of turn." Then remove a time counter from each other card you own in exile.
|
||||||
|
SVar:DBExile:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | TgtPrompt$ Select a card to exile with a number of time counters equal to its mana value | WithCountersType$ TIME | WithCountersAmount$ X | SubAbility$ DBAddTrigger | RememberChanged$ True | Mandatory$ True
|
||||||
|
SVar:X:Remembered$CardManaCost
|
||||||
|
SVar:DBAddTrigger:DB$ Animate | Defined$ Remembered | Triggers$ TWhenLastTimeCounterRemoved | Duration$ Permanent | SubAbility$ DBRemoveTimeCounterOtherCardsInExile
|
||||||
|
SVar:TWhenLastTimeCounterRemoved:Mode$ CounterRemoved | ValidCard$ Card.Self+counters_EQ0_TIME | TriggerZones$ Exile | CounterType$ TIME | Execute$ DBCastWithoutPayingManaCost | TriggerDescription$ When the last time counter is removed from this card, if it's exiled, you may cast it without paying its mana cost. If you cast a creature spell this way, it gains haste until end of turn.
|
||||||
|
SVar:DBCastWithoutPayingManaCost:DB$ Play | Valid$ Card.Self | ValidSA$ Spell | ValidZone$ Exile | Destination$ Battlefield | WithoutManaCost$ True | Optional$ True | SubAbility$ DBGiveHaste
|
||||||
|
SVar:DBGiveHaste:DB$ Pump | Defined$ Self | KW$ Haste | ConditionDefined$ Self | ConditionPresent$ Card.Creature | PumpZone$ Stack
|
||||||
|
SVar:DBRemoveTimeCounterOtherCardsInExile:DB$ RemoveCounterAll | ValidCards$ Card.YouOwn+IsNotRemembered | ValidZone$ Exile | CounterType$ TIME | CounterNum$ 1 | SubAbility$ DBCleanUp
|
||||||
|
SVar:DBCleanUp:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
DeckHints:Keyword$Suspend
|
||||||
|
Oracle:{T}:Draw a card, then exile a card from your hand and put a number of time counters on it equal to its mana value. It gains "When the last time counter is removed from this card, if it's exiled, you may cast it without paying its mana cost. If you cast a creature spell this way, it gains haste until end of turn." Then remove a time counter from each other card you own in exile.
|
||||||
Reference in New Issue
Block a user