Navigation

    TripleA Logo

    TripleA Forum

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

    "Units Cannot Fight" prompt

    (ARCHIVED) Bug Reports
    2
    5
    1225
    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.
    • General_Zod
      General_Zod Moderators last edited by General_Zod

      I get this prompt pop up when I click done for combat move phase.

      "Units cannot fight"

      0_1524635407809_BW3_UnitsCanNotFight_Prompt.001.PNG

      The units I am sending are replicating how my depth charges will function.

      attack=0, defense=0, movement=1, first strike=3, isSuicide

      I want them to attack with first strike instead of the normal value so I can set them to only attack submarines. The isSuicide is there because I want them to die automatically after 1 combat round.

      The unit has an offensive capability, but this behavior is ignoring the first strike (aashot) ability.

      It seems that this engine behavior is carried over from before first strikes (aahot) could be used offensively. I wanted to confirm here before I post a bug report in GitHub.

      redrum 2 Replies Last reply Reply Quote 1
      • redrum
        redrum Admin @General_Zod last edited by

        @general_zod You are probably right though I haven't personally seen this before. A save game would be helpful so I can easily reproduce and then test any fixes. Otherwise I gotta try hacking up a similar unit into a map.

        General_Zod 1 Reply Last reply Reply Quote 0
        • redrum
          redrum Admin @General_Zod last edited by

          @general_zod PR that should fix that behavior: https://github.com/triplea-game/triplea/pull/3402

          ron-murhammer created this issue in triplea-game/triplea

          closed Add a check for any offensive AA ability for if units can attack #3402

          1 Reply Last reply Reply Quote 2
          • General_Zod
            General_Zod Moderators @redrum last edited by

            @redrum

            Here is a save ready to give the prompt by clicking done for the combat move phase.

            The British.Cruisers are stand-ins for the depth charges in this xml. Note the xml in this save is just for testing so ignore any other strange stuff.

            0_1524680092127_bw3_units.cannot.fight_04.25.2018.tsvg

            Here is a link for the game if you don't already have the files.

            https://www.sendspace.com/file/7hf2d2

            Note this earlier functional version is not fully completed, and I never completed the tech model and tech balance. I am moving to a improved map with underwater sea zones and more territories for the version currently on drawing board.

            redrum 1 Reply Last reply Reply Quote 0
            • redrum
              redrum Admin @General_Zod last edited by

              @general_zod Cool, just tested before the change to see the prompt and then after the change I no longer see it. So once that PR is merged you should be able to test it with the latest pre-release.

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