mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
small refactoring
This commit is contained in:
parent
4efc25802e
commit
32fc34f90d
3 changed files with 2 additions and 4 deletions
|
@ -86,8 +86,8 @@ class JinGitaxiasCoreAugurEffect extends ContinuousEffectImpl<JinGitaxiasCoreAug
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
for (UUID id : game.getOpponents(source.getControllerId())) {
|
||||
Player player = game.getPlayer(id);
|
||||
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
|
||||
Player player = game.getPlayer(opponentId);
|
||||
if (player != null) {
|
||||
player.setMaxHandSize(player.getMaxHandSize() - 7);
|
||||
}
|
||||
|
|
|
@ -29,7 +29,6 @@ package mage.abilities.condition.common;
|
|||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.game.Game;
|
||||
import mage.watchers.Watcher;
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ import mage.abilities.Abilities;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.SpellAbility;
|
||||
import mage.abilities.costs.Cost;
|
||||
import mage.abilities.costs.mana.KickerManaCost;
|
||||
import mage.abilities.costs.mana.ManaCost;
|
||||
import mage.abilities.costs.mana.ManaCosts;
|
||||
import mage.abilities.effects.Effect;
|
||||
|
|
Loading…
Reference in a new issue