1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

New priority

1. Take / kill what is reachable in same turn
2. Defend
3. Take / kill what is further away
This commit is contained in:
Xilmi
2024-08-30 18:05:47 +02:00
parent 05d948b582
commit 56988e054a
2 changed files with 20 additions and 6 deletions

View File

@@ -408,7 +408,7 @@ void Nullkiller::makeTurn()
TTaskVec selectedTasks;
int prioOfTask = 0;
for (int prio = 1; prio <= 5; ++prio)
for (int prio = 1; prio <= 6; ++prio)
{
prioOfTask = prio;
selectedTasks = buildPlan(bestTasks, prio);