Page MenuHomeWildfire Games

petra: additional tunings following rP19655 + fix a warning when army defense 0 is turned into an attack
ClosedPublic

Authored by mimo on Jun 12 2017, 9:38 PM.

Details

Summary

Improve the way the AI retreats when disbanding a defense army, as previously it could lead to useless move back to its own territory while helping an ally.

Test Plan

Check that the behaviour when an ai disband a defense army is as expected

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mimo created this revision.Jun 12 2017, 9:38 PM
mimo updated this revision to Diff 2541.Jun 12 2017, 9:42 PM

update patch

Vulcan added a subscriber: Vulcan.Jun 12 2017, 10:45 PM

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Checking XML files...

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

Executing section Default...
Executing section Source...
Executing section JS...
Executing section XML GUI...
Executing section Python...
Executing section Perl...

http://jw:8080/job/phabricator_lint/188/ for more details.

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Checking XML files...

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

Executing section Default...
Executing section Source...
Executing section JS...
Executing section XML GUI...
Executing section Python...
Executing section Perl...

http://jw:8080/job/phabricator_lint/189/ for more details.

This revision was automatically updated to reflect the committed changes.