mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Add Torgaar (DOM)
This commit is contained in:
@@ -552,6 +552,10 @@ public class CardFactoryUtil {
|
||||
return doXMath(player.getCardsIn(ZoneType.Battlefield).size(), m, source);
|
||||
}
|
||||
|
||||
if (value.contains("StartingLife")) {
|
||||
return doXMath(player.getStartingLife(), m, source);
|
||||
}
|
||||
|
||||
if (value.contains("LifeTotal")) {
|
||||
return doXMath(player.getLife(), m, source);
|
||||
}
|
||||
|
||||
13
forge-gui/res/cardsfolder/t/torgaar_famine_incarnate.txt
Normal file
13
forge-gui/res/cardsfolder/t/torgaar_famine_incarnate.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Name:Torgaar, Famine Incarnate
|
||||
ManaCost:6 B B
|
||||
Types:Legendary Creature Avatar
|
||||
PT:7/6
|
||||
A:SP$ PermanentCreature | Cost$ 6 B B Sac<X/Creature> | Announce$ X
|
||||
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Y | EffectZone$ All | Description$ As an additional cost to cast this spell, you may sacrifice any number of creatures. This spell costs {2} less to cast for each creature sacrificed as an additional cost.
|
||||
SVar:X:XChoice
|
||||
SVar:Y:SVar$X/Times.2
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSetLife | TriggerDescription$ When CARDNAME enters the battlefield, up to one target player’s life total becomes half their starting life total, rounded down.
|
||||
SVar:TrigSetLife:DB$ SetLife | ValidTgts$ Player | LifeAmount$ HalfLife | TargetMin$ 0 | TargetMax$ 1
|
||||
SVar:HalfLife:TargetedPlayer$StartingLife/HalfDown
|
||||
SVar:RemAIDeck:True
|
||||
Oracle:As an additional cost to cast this spell, you may sacrifice any number of creatures. This spell costs {2} less to cast for each creature sacrificed as an additional cost.\nWhen Torgaar, Famine Incarnate enters the battlefield, up to one target player’s life total becomes half their starting life total, rounded down.
|
||||
Reference in New Issue
Block a user