mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
[BRC] Implement Urza's Workshop
This commit is contained in:
parent
fee8fc76cf
commit
b246631db6
4 changed files with 65 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package mage.abilities;
|
||||
|
||||
import mage.ApprovingObject;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.mana.ManaOptions;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.TimingRule;
|
||||
|
|
@ -83,4 +84,6 @@ public interface ActivatedAbility extends Ability {
|
|||
int getMaxActivationsPerTurn(Game game);
|
||||
|
||||
public void setTiming(TimingRule timing);
|
||||
|
||||
public ActivatedAbility setCondition(Condition condition);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -310,4 +310,10 @@ public abstract class ActivatedAbilityImpl extends AbilityImpl implements Activa
|
|||
game.getState().setValue(CardUtil
|
||||
.getCardZoneString("totalActivations" + originalId, sourceId, game), activationInfo.totalActivations);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActivatedAbilityImpl setCondition(Condition condition) {
|
||||
this.condition = condition;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue