mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- CheckStyle.
This commit is contained in:
@@ -190,7 +190,7 @@ public class ChangeZoneAi extends SpellAiLogic {
|
|||||||
|
|
||||||
//Ninjutsu
|
//Ninjutsu
|
||||||
if (sa.hasParam("Ninjutsu")) {
|
if (sa.hasParam("Ninjutsu")) {
|
||||||
if (source.isType("Legendary")
|
if (source.isType("Legendary")
|
||||||
&& !Singletons.getModel().getGame().getStaticEffects().getGlobalRuleChange(GlobalRuleChange.noLegendRule)) {
|
&& !Singletons.getModel().getGame().getStaticEffects().getGlobalRuleChange(GlobalRuleChange.noLegendRule)) {
|
||||||
final List<Card> list = ai.getCardsIn(ZoneType.Battlefield);
|
final List<Card> list = ai.getCardsIn(ZoneType.Battlefield);
|
||||||
if (Iterables.any(list, CardPredicates.nameEquals(source.getName()))) {
|
if (Iterables.any(list, CardPredicates.nameEquals(source.getName()))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user