MantisBT

View Revisions: Issue #2696 All Revisions ] Back to Issue ]
Summary 0002696: VCAI::tryBuildNextStructure bug - does not build prerequirements correctly
Revision 2017-06-17 08:26 by Dydzio
Additional Information With current code (as of 17.06.2017) without these lines:

if (cb->getDate(Date::DAY_OF_WEEK) > 6) // last 2 days of week - try to focus on growth
{
    if (tryBuildNextStructure(t, std::vector<BuildingID>(unitGrowth, unitGrowth + ARRAY_COUNT(unitGrowth)), 2))
        return;
}

AI would not build fort/citadel/castle at all...
Revision 2017-06-17 08:14 by Dydzio
Additional Information

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean