mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
Update PriorityEvaluator.cpp
Keymaster is no longer considered as conquest-target (which made the AI beeline for it).
This commit is contained in:
parent
82ab49495e
commit
1b041fe09d
@ -610,9 +610,6 @@ float RewardEvaluator::getConquestValue(const CGObjectInstance* target) const
|
|||||||
? getEnemyHeroStrategicalValue(dynamic_cast<const CGHeroInstance*>(target))
|
? getEnemyHeroStrategicalValue(dynamic_cast<const CGHeroInstance*>(target))
|
||||||
: 0;
|
: 0;
|
||||||
|
|
||||||
case Obj::KEYMASTER:
|
|
||||||
return 0.6f;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user