mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Nullkiller: stabilisation
This commit is contained in:
committed by
Andrii Danylchenko
parent
8e4ca10365
commit
1fd838a5b9
@@ -476,7 +476,7 @@ void AINodeStorage::calculateHeroChain(
|
||||
|
||||
if(other->actor->isMovable)
|
||||
{
|
||||
bool hasLessMp = carrier->turns > other->turns || carrier->moveRemains < other->moveRemains;
|
||||
bool hasLessMp = carrier->turns > other->turns || (carrier->turns == other->turns && carrier->moveRemains < other->moveRemains);
|
||||
bool hasLessExperience = carrier->actor->hero->exp < other->actor->hero->exp;
|
||||
|
||||
if(hasLessMp && hasLessExperience)
|
||||
|
||||
Reference in New Issue
Block a user