mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- CheckStyle.
This commit is contained in:
@@ -13,8 +13,8 @@ import forge.card.spellability.Target;
|
|||||||
import forge.game.player.Player;
|
import forge.game.player.Player;
|
||||||
import forge.util.MyRandom;
|
import forge.util.MyRandom;
|
||||||
|
|
||||||
public class FightAi extends SpellAiLogic {
|
public class FightAi extends SpellAiLogic {
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see forge.card.abilityfactory.SpellAiLogic#canPlayAI(forge.game.player.Player, java.util.Map, forge.card.spellability.SpellAbility)
|
* @see forge.card.abilityfactory.SpellAiLogic#canPlayAI(forge.game.player.Player, java.util.Map, forge.card.spellability.SpellAbility)
|
||||||
*/
|
*/
|
||||||
@@ -65,7 +65,7 @@ public class FightAi extends SpellAiLogic {
|
|||||||
if (creature1.equals(creature2)) {
|
if (creature1.equals(creature2)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (sa.hasParam("TargetsWithoutSameCreatureType")
|
if (sa.hasParam("TargetsWithoutSameCreatureType")
|
||||||
&& creature1.sharesCreatureTypeWith(creature2)) {
|
&& creature1.sharesCreatureTypeWith(creature2)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -96,4 +96,4 @@ public class FightAi extends SpellAiLogic {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user