mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
sonar 220219, criticals
This commit is contained in:
parent
4504ad5e6f
commit
3359c1f3f1
23 changed files with 153 additions and 280 deletions
|
|
@ -21,7 +21,7 @@ public class SkipNextDrawStepTargetEffect extends ReplacementEffectImpl {
|
|||
|
||||
public SkipNextDrawStepTargetEffect() {
|
||||
super(Duration.OneUse, Outcome.Detriment);
|
||||
staticText = "Target player skips his or her next draw step";
|
||||
staticText = "Target player skips their next draw step";
|
||||
}
|
||||
|
||||
public SkipNextDrawStepTargetEffect(final SkipNextDrawStepTargetEffect effect) {
|
||||
|
|
|
|||
|
|
@ -19,23 +19,23 @@ import mage.filter.predicate.permanent.CounterPredicate;
|
|||
*/
|
||||
public class BountyAbility extends DiesCreatureTriggeredAbility {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("creature an opponent controls with a bounty counter on it");
|
||||
private static final FilterCreaturePermanent bountyCounterFilter = new FilterCreaturePermanent("creature an opponent controls with a bounty counter on it");
|
||||
|
||||
static {
|
||||
filter.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||
filter.add(new CounterPredicate(CounterType.BOUNTY));
|
||||
bountyCounterFilter.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||
bountyCounterFilter.add(new CounterPredicate(CounterType.BOUNTY));
|
||||
}
|
||||
|
||||
public BountyAbility(Effect effect) {
|
||||
super(effect, false, filter);
|
||||
super(effect, false, bountyCounterFilter);
|
||||
}
|
||||
|
||||
public BountyAbility(Effect effect, boolean optional) {
|
||||
super(effect, optional, filter);
|
||||
super(effect, optional, bountyCounterFilter);
|
||||
}
|
||||
|
||||
public BountyAbility(Effect effect, boolean optional, boolean setTargetPointer) {
|
||||
super(effect, optional, filter, setTargetPointer);
|
||||
super(effect, optional, bountyCounterFilter, setTargetPointer);
|
||||
}
|
||||
|
||||
public BountyAbility(final BountyAbility ability) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue