- Added Living Lore

This commit is contained in:
Sol
2015-03-21 04:13:58 +00:00
parent 9c9b42e9fb
commit 15e5e59d52
3 changed files with 16 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -8595,6 +8595,7 @@ forge-gui/res/cardsfolder/l/living_end.txt -text
forge-gui/res/cardsfolder/l/living_hive.txt svneol=native#text/plain
forge-gui/res/cardsfolder/l/living_inferno.txt -text
forge-gui/res/cardsfolder/l/living_lands.txt svneol=native#text/plain
forge-gui/res/cardsfolder/l/living_lore.txt -text
forge-gui/res/cardsfolder/l/living_plane.txt svneol=native#text/plain
forge-gui/res/cardsfolder/l/living_terrain.txt -text
forge-gui/res/cardsfolder/l/living_totem.txt -text

View File

@@ -1313,7 +1313,8 @@ public class CardFactoryUtil {
else {
ce = c;
}
return doXMath(ce.getCMC(), m, c);
return doXMath(ce == null ? 0 : ce.getCMC(), m, c);
}
// Count$SumCMC_valid
if (sq[0].contains("SumCMC")) {

View File

@@ -0,0 +1,13 @@
Name:Living Lore
ManaCost:3 U
Types:Creature Avatar
P/T:*/*
K:ETBReplacement:Copy:ChooseSpell
SVar:ChooseSpell:DB$ ChangeZone | ChangeType$ Instant.YouOwn,Sorcery.YouOwn | ChangeNum$ 1 | Hidden$ True | Origin$ Graveyard | Destination$ Exile | RememberChanged$ True | Mandatory$ True | SpellDescription$ As CARDNAME enters the battlefield, exile an instant or sorcery card from your graveyard.
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the exiled card's converted mana cost.
SVar:X:Count$RememberedCardManaCost
T:Mode$ DealtCombatDamageOnce | ValidSource$ Card.Self | Execute$ TrigSacLore | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage, you may sacrifice it. If you do, you may cast the exiled card without paying its mana cost.
SVar:TrigSacLore:AB$ Play | Cost$ Sac<1/CARDNAME> | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ForgetRemembered$ True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/living_lore.jpg
Oracle:As Living Lore enters the battlefield, exile an instant or sorcery card from your graveyard.\nLiving Lore's power and toughness are each equal to the exiled card's converted mana cost.\nWhenever Living Lore deals combat damage, you may sacrifice it. If you do, you may cast the exiled card without paying its mana cost.