Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Unit repair no longer working

    Map Making
    1
    2
    870
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BeorntheBold last edited by

      My map has a number of units with more than one hit point. Some with as many as 4 or 5 hit points. I have the option set to do battleship repairs at the beginning of the turn, not the end.

      This worked great on version 1.8. When I brought my script over to 1.9, the only changes I had to make were to change the spelling of Attatch to Attach throughout the xml file. But the unit repairs no longer happen. I have tested repeatedly, but damaged units never repair.

      Is this a known bug with 1.9?

      B 1 Reply Last reply Reply Quote 0
      • B
        BeorntheBold @BeorntheBold last edited by

        I have found the problem. These are new lines of code that need to be there:

        <property name="Units Repair Hits Start Turn" value="true" editable="true">
        <boolean/>
        </property>
        <property name="Units Repair Hits End Turn" value="false" editable="true">
        <boolean/>
        </property>

        The old ones referring to battleships repairing at start or end don't hurt anything if they are there but they no longer work for units in 1.9.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums