Page MenuHomeWildfire Games

petra: improve the use of garrisoning
ClosedPublic

Authored by mimo on Feb 12 2017, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 13, 12:33 PM
Unknown Object (File)
Fri, Sep 13, 11:43 AM
Unknown Object (File)
Mon, Sep 9, 12:43 PM
Unknown Object (File)
Sat, Sep 7, 7:20 PM
Unknown Object (File)
Fri, Sep 6, 7:17 AM
Unknown Object (File)
May 5 2017, 11:20 AM
Unknown Object (File)
May 2 2017, 11:06 AM
Unknown Object (File)
May 2 2017, 10:25 AM
Subscribers

Details

Summary

be more inclined to garrison units to take advantage of arrow multipliers by easing the requirements on units (units affected to the defense can now be garrisoned, as well as those affected to the attack when they capture a structure). Futhermore, structures were garrisoned only when attacked, while now they can be garrisoned also when they are able to attack.

Test Plan

Check that the AI does the right thing.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (302 tests)..............................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (302 tests)..............................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/353/ for more details.

This revision is now accepted and ready to land.Feb 13 2017, 9:01 AM
This revision was automatically updated to reflect the committed changes.