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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user