forked from External/mage
code style: eliminate unnecessary static imports (#10585)
* SacrificeTargetCost(StaticFilters) * remove import static mage.constants.Outcome * remove import static mage.constants.Duration * remove other import static * a few more sacrifice filters * simpler constructors * remove import static mage.filter * remove a few more import static
This commit is contained in:
parent
f6fdcb9d59
commit
0fa971514a
259 changed files with 499 additions and 622 deletions
|
|
@ -5,7 +5,6 @@ import mage.abilities.Ability;
|
|||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.PreventionEffectImpl;
|
||||
import mage.constants.Duration;
|
||||
import static mage.constants.Duration.EndOfTurn;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
|
||||
|
|
@ -61,7 +60,7 @@ public class PreventDamageToSourceEffect extends PreventionEffectImpl {
|
|||
sb.append("Prevent the next ").append(amountToPrevent).append(" damage that would be dealt to ");
|
||||
}
|
||||
sb.append("{this} ");
|
||||
if (duration == EndOfTurn) {
|
||||
if (duration == Duration.EndOfTurn) {
|
||||
sb.append("this turn");
|
||||
} else {
|
||||
sb.append(duration.toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue