Name:Glyph of Life
ManaCost:W
Types:Instant
A:SP$ Effect | ValidTgts$ Creature.Wall | TgtPrompt$ Select target Wall creature | Triggers$ TrigDamage | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ Choose target Wall creature. Whenever that creature is dealt damage by an attacking creature this turn, you gain that much life.
SVar:TrigDamage:Mode$ DamageDone | ValidSource$ Creature.attacking | ValidTarget$ Creature.IsRemembered | Execute$ TrigGainLife | TriggerDescription$ Whenever an attacking creature deals damage to this creature, you gain that much life.
SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | Defined$ You
SVar:X:TriggerCount$DamageAmount
AI:RemoveDeck:All
AI:RemoveDeck:Random
DeckHas:Ability$LifeGain
DeckHints:Type$Wall & Keyword$Defender
Oracle:Choose target Wall creature. Whenever that creature is dealt damage by an attacking creature this turn, you gain that much life.
