TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Unit repair no longer working

    Scheduled Pinned Locked Moved Map Making
    2 Posts 1 Posters 1.5k Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums