diff --git a/forge-gui/res/cardsfolder/h/helm_of_obedience.txt b/forge-gui/res/cardsfolder/h/helm_of_obedience.txt index 3be3ee070a4..dcbb8613f69 100644 --- a/forge-gui/res/cardsfolder/h/helm_of_obedience.txt +++ b/forge-gui/res/cardsfolder/h/helm_of_obedience.txt @@ -6,8 +6,8 @@ A:AB$ Repeat | Cost$ XCantBe0 X T | ValidTgts$ Opponent | MaxRepeat$ MaxRepeats SVar:DBCleanBeforeRepeat:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBMill SVar:DBMill:DB$ Mill | NumCards$ 1 | RememberMilled$ True | Defined$ Targeted | SubAbility$ DBAccumulateX | NoReveal$ True SVar:DBAccumulateX:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ CountSVar | Expression$ AccumulatedMilled/Plus.1 | ConditionCheckSVar$ MilledCard | ConditionSVarCompare$ EQ1 | References$ AccumulatedMilled,MilledCard | SubAbility$ DBMilledCreature -SVar:DBMilledCreature:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ CountSVar | Expression$ X | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | References$ AccumulatedMilled,MilledCreature,X | SubAbility$ DBEmptyLibrary -SVar:DBEmptyLibrary:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ CountSVar | Expression$ X | ConditionCheckSVar$ TargetedLibrary | ConditionSVarCompare$ EQ0 | References$ AccumulatedMilled,X,TargetedLibrary +SVar:DBMilledCreature:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Calculate | Expression$ X | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | References$ AccumulatedMilled,MilledCreature,X | SubAbility$ DBEmptyLibrary +SVar:DBEmptyLibrary:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Calculate | Expression$ X | ConditionCheckSVar$ TargetedLibrary | ConditionSVarCompare$ EQ0 | References$ AccumulatedMilled,X,TargetedLibrary SVar:DBSacHelm:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | SubAbility$ DBStealCreature | References$ MilledCreature SVar:DBStealCreature:DB$ ChangeZone | Defined$ Remembered | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SubAbility$ DBResetCounter | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | References$ MilledCreature SVar:DBResetCounter:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Number | Expression$ 0 | References$ AccumulatedMilled | SubAbility$ DBCleanup