fix hasProperty exception in Sun Droplet

This commit is contained in:
slapshot5
2011-10-02 21:25:40 +00:00
parent 0d7ccaeae2
commit 8d51b6fcb3

View File

@@ -3,7 +3,7 @@ ManaCost:2
Types:Artifact
Text:no text
T:Mode$ DamageDone | ValidTarget$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you're dealt damage, put that many charge counters on CARDNAME.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Each | IsPresent$ Card.Self+counters_GE1-CHARGE | Execute$ TrigGainLife | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of each upkeep, you may remove a charge counter from CARDNAME. If you do, you gain 1 life.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Each | IsPresent$ Card.Self+counters_GE1_CHARGE | Execute$ TrigGainLife | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of each upkeep, you may remove a charge counter from CARDNAME. If you do, you gain 1 life.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ X | Defined$ Self
SVar:TrigGainLife:AB$GainLife | Cost$ SubCounter<1/CHARGE> | LifeAmount$ 1 | Defined$ You
SVar:X:TriggerCount$DamageAmount