mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-06 20:27:48 +00:00
Update bot stats after equipping items
This commit is contained in:
@@ -1197,6 +1197,10 @@ void PlayerbotFactory::InitEquipment(bool incremental)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update stats here so the bots will benefit from the new equipped items' stats
|
||||||
|
bot->InitStatsForLevel(true);
|
||||||
|
bot->UpdateAllStats();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PlayerbotFactory::IsDesiredReplacement(Item* item)
|
bool PlayerbotFactory::IsDesiredReplacement(Item* item)
|
||||||
|
|||||||
Reference in New Issue
Block a user