mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- AI will only cast Wrath of God and use Nevinyrral's Disk during Main2.
This commit is contained in:
@@ -3833,7 +3833,7 @@ public class CardFactory implements NewConstants {
|
|||||||
card.clearSpellAbility();
|
card.clearSpellAbility();
|
||||||
card.addSpellAbility(spell);
|
card.addSpellAbility(spell);
|
||||||
}
|
}
|
||||||
//*************** END ************ END *************************
|
//*************** END ************ END *************************
|
||||||
|
|
||||||
//*************** START *********** START **************************
|
//*************** START *********** START **************************
|
||||||
else if(cardName.equals("Nevinyrral's Disk")) {
|
else if(cardName.equals("Nevinyrral's Disk")) {
|
||||||
@@ -3895,7 +3895,8 @@ public class CardFactory implements NewConstants {
|
|||||||
computer = computer.getType("Creature");
|
computer = computer.getType("Creature");
|
||||||
|
|
||||||
//the computer will at least destroy 2 more human creatures
|
//the computer will at least destroy 2 more human creatures
|
||||||
return computer.size() < human.size() - 1 || AllZone.Computer_Life.getLife() < 7;
|
return AllZone.Phase.getPhase().equals(Constant.Phase.Main2) &&
|
||||||
|
(computer.size() < human.size() - 1 || AllZone.Computer_Life.getLife() < 7);
|
||||||
}
|
}
|
||||||
};//SpellAbility
|
};//SpellAbility
|
||||||
card.addSpellAbility(ability);
|
card.addSpellAbility(ability);
|
||||||
@@ -7934,8 +7935,9 @@ public class CardFactory implements NewConstants {
|
|||||||
computer = computer.getType("Creature");
|
computer = computer.getType("Creature");
|
||||||
|
|
||||||
// the computer will at least destroy 2 more human creatures
|
// the computer will at least destroy 2 more human creatures
|
||||||
return computer.size() < human.size() - 1
|
return AllZone.Phase.getPhase().equals(Constant.Phase.Main2) &&
|
||||||
|| (AllZone.Computer_Life.getLife() < 7 && !human.isEmpty());
|
(computer.size() < human.size() - 1
|
||||||
|
|| (AllZone.Computer_Life.getLife() < 7 && !human.isEmpty()));
|
||||||
}
|
}
|
||||||
};// SpellAbility
|
};// SpellAbility
|
||||||
card.clearSpellAbility();
|
card.clearSpellAbility();
|
||||||
|
|||||||
Reference in New Issue
Block a user