mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Allow AI priority modification (may be useful for more cards, will update later).
This commit is contained in:
@@ -881,6 +881,9 @@ public class AiController {
|
||||
if (source.isCreature()) {
|
||||
p += 1;
|
||||
}
|
||||
if (source.hasSVar("AIPriorityModifier")) {
|
||||
p += Integer.parseInt(source.getSVar("AIPriorityModifier"));
|
||||
}
|
||||
// don't play equipments before having any creatures
|
||||
if (source.isEquipment() && noCreatures) {
|
||||
p -= 9;
|
||||
|
||||
Reference in New Issue
Block a user