mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Nullkiller: stabilisation, improve gather army
This commit is contained in:
committed by
Andrii Danylchenko
parent
9d020be63b
commit
df78e3243b
@@ -300,7 +300,7 @@ float getStrategicalValue(const CGObjectInstance * target)
|
||||
case Obj::TOWN:
|
||||
return dynamic_cast<const CGTownInstance *>(target)->hasFort()
|
||||
? (target->tempOwner == PlayerColor::NEUTRAL ? 0.8f : 1.0f)
|
||||
: 0.4f;
|
||||
: 0.5f;
|
||||
|
||||
case Obj::HERO:
|
||||
return cb->getPlayerRelations(target->tempOwner, ai->playerID) == PlayerRelations::ENEMIES
|
||||
|
||||
Reference in New Issue
Block a user