mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
* EquipAbility - Made target required.
This commit is contained in:
parent
9d56514085
commit
9f6ebac2b4
1 changed files with 4 additions and 4 deletions
|
@ -29,12 +29,12 @@
|
||||||
package mage.abilities.keyword;
|
package mage.abilities.keyword;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.constants.Outcome;
|
|
||||||
import mage.constants.TimingRule;
|
|
||||||
import mage.constants.Zone;
|
|
||||||
import mage.abilities.ActivatedAbilityImpl;
|
import mage.abilities.ActivatedAbilityImpl;
|
||||||
import mage.abilities.costs.Cost;
|
import mage.abilities.costs.Cost;
|
||||||
import mage.abilities.effects.common.AttachEffect;
|
import mage.abilities.effects.common.AttachEffect;
|
||||||
|
import mage.constants.Outcome;
|
||||||
|
import mage.constants.TimingRule;
|
||||||
|
import mage.constants.Zone;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.target.Target;
|
import mage.target.Target;
|
||||||
|
@ -46,7 +46,7 @@ import mage.target.common.TargetControlledCreaturePermanent;
|
||||||
public class EquipAbility extends ActivatedAbilityImpl<EquipAbility> {
|
public class EquipAbility extends ActivatedAbilityImpl<EquipAbility> {
|
||||||
|
|
||||||
public EquipAbility(Outcome outcome, Cost cost) {
|
public EquipAbility(Outcome outcome, Cost cost) {
|
||||||
this(outcome, cost, new TargetControlledCreaturePermanent());
|
this(outcome, cost, new TargetControlledCreaturePermanent(true));
|
||||||
}
|
}
|
||||||
|
|
||||||
public EquipAbility(Outcome outcome, Cost cost, Target target) {
|
public EquipAbility(Outcome outcome, Cost cost, Target target) {
|
||||||
|
|
Loading…
Reference in a new issue