Name:Aven Shrine
ManaCost:1 W W
Types:Enchantment
T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a player casts a spell, that player gains X life, where X is the number of cards in all graveyards with the same name as that spell.
SVar:TrigGainLife:DB$ GainLife | Defined$ TriggeredActivator | LifeAmount$ X
SVar:X:Count$ValidGraveyard Card.sharesNameWith TriggeredCard
AI:RemoveDeck:Random
Oracle:Whenever a player casts a spell, that player gains X life, where X is the number of cards in all graveyards with the same name as that spell.
