Kobol Drill Sergeant clean up

This commit is contained in:
Marshall 2015-06-27 20:01:34 -04:00
parent 8ff50ece31
commit 528105a2eb

View file

@ -29,6 +29,7 @@ package mage.sets.masterseditioniii;
import java.util.UUID; import java.util.UUID;
import mage.MageInt; import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility; import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.continuous.BoostControlledEffect; import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
@ -62,8 +63,9 @@ public class KoboldDrillSergeant extends CardImpl {
this.toughness = new MageInt(2); this.toughness = new MageInt(2);
// Other Kobold creatures you control get +0/+1 and have trample. // Other Kobold creatures you control get +0/+1 and have trample.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, filter, true))); Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, filter, true));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.WhileOnBattlefield, filter, true))); ability.addEffect(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.WhileOnBattlefield, filter, true));
this.addAbility(ability);
} }
public KoboldDrillSergeant(final KoboldDrillSergeant card) { public KoboldDrillSergeant(final KoboldDrillSergeant card) {