Name:Claim the Kingdom
ManaCost:1 G
Types:Enchantment Plan
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Landfall — Whenever a land you control enters, put a +1/+1 counter on target creature you control and a plan counter on this enchantment.
SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | AILogic$ Pump | ValidTgtsDesc$ creature you control | SubAbility$ DBPutCounterAll
SVar:DBPutCounterAll:DB$ PutCounterAll | ValidCards$ Card.targetedBy | CounterType$ P1P1 | CounterNum$ 1 | ValidCards2$ Card.Self | CounterType2$ PLAN
T:Mode$ CounterAdded | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ PLAN | CounterAmount$ EQ4 | Execute$ TrigSac | TriggerDescription$ When the fourth plan counter is put on this enchantment, sacrifice it. When you do, put an indestructible counter on target creature you control.
SVar:TrigSac:DB$ Sacrifice | Defined$ Self | RememberSacrificed$ True | SubAbility$ DBImmediateTrigger
SVar:DBImmediateTrigger:DB$ ImmediateTrigger | ConditionDefined$ Remembered | ConditionPresent$ Card | Execute$ TrigCounter | SubAbility$ DBCleanup | TriggerDescription$ When you do, put an indestructible counter on target creature you control.
SVar:TrigCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | ValidTgtsDesc$ creature you control | CounterType$ Indestructible | CounterNum$ 1
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
DeckHas:Ability$Counters
Oracle:Landfall — Whenever a land you control enters, put a +1/+1 counter on target creature you control and a plan counter on this enchantment.\nWhen the fourth plan counter is put on this enchantment, sacrifice it. When you do, put an indestructible counter on target creature you control.
