Page MenuHomeWildfire Games

Capture spike fortification by territory too
AbandonedPublic

Authored by elexis on Jun 5 2017, 11:34 PM.

Details

Reviewers
fatherbushido
Summary

rP19694 forgot to remove the territory decay disabling of the spikes too.

So on Danubius, the gaia fortification will have it's walls being converted to the player,
then the gaia units destroy its own walls, except the spikes.

There must be an uncapturable special filter once it's supported by the AI.
For the current release (a22), it might be best to not add workaround templates and not commit this fix.

Test Plan

Search for <TerritoryDecay disable=""/> and parent="template_structure_defense_wall". Start danubius and watch it decay.

Event Timeline

elexis created this revision.Jun 5 2017, 11:34 PM
Vulcan added a subscriber: Vulcan.Jun 6 2017, 2:59 AM
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/142/ for more details.

Vulcan added a comment.Jun 6 2017, 5:21 AM

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/1495/ for more details.

fatherbushido accepted this revision.Jun 6 2017, 10:58 PM

The issue is most the messy state of the other/ folder.
All that needs to be flattened and discussed. For example differentiating gaia palisades and player wooden walls (palisades :D)

(And also other thoughts, but too long).

Those spikes are used in

scenarios/Sandbox - Britons.xml
scenarios/Azure Coast(4).xml
scenarios/Sandbox - Gauls.xml
scenarios/Azure Coast.xml
scenarios/Azure Coast(2).xml
skirmishes/Alpine_Mountains_(3).xml
skirmishes/Gallic Fields (3).xml
random/danubius.js

So as a workaround for that release, why not.

This revision is now accepted and ready to land.Jun 6 2017, 10:58 PM
fatherbushido requested changes to this revision.Jul 30 2017, 11:53 AM

I set request changes as it was accepted as a workaround for a22

This revision now requires changes to proceed.Jul 30 2017, 11:53 AM
elexis requested review of this revision.Jul 30 2017, 3:31 PM
elexis edited edge metadata.

This isn't a workaround, nor was it targetted for alpha 22.

In D609#29722, @elexis wrote:

This isn't a workaround, nor was it targetted for alpha 22.

see https://code.wildfiregames.com/D609#25086

elexis abandoned this revision.Jul 30 2017, 9:37 PM