mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- The AI will now prioritize Surge and Prowl costs when able to.
This commit is contained in:
@@ -871,6 +871,11 @@ public class AiController {
|
|||||||
if (source.isEquipment() && noCreatures) {
|
if (source.isEquipment() && noCreatures) {
|
||||||
p -= 9;
|
p -= 9;
|
||||||
}
|
}
|
||||||
|
// use Surge and Prowl costs when able to
|
||||||
|
if (sa.isSurged() ||
|
||||||
|
(sa.getRestrictions().getProwlTypes() != null && !sa.getRestrictions().getProwlTypes().isEmpty())) {
|
||||||
|
p += 9;
|
||||||
|
}
|
||||||
// move snap-casted spells to front
|
// move snap-casted spells to front
|
||||||
if (source.isInZone(ZoneType.Graveyard) && source.hasKeyword("May be played")) {
|
if (source.isInZone(ZoneType.Graveyard) && source.hasKeyword("May be played")) {
|
||||||
p += 50;
|
p += 50;
|
||||||
|
|||||||
Reference in New Issue
Block a user