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

    Bunker, 1 round battle, stalemate, offense participation next round

    Scheduled Pinned Locked Moved Map Making
    9 Posts 2 Posters 1.1k 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.
    • TorpedoAT Offline
      TorpedoA
      last edited by

      Couldnt get title in one real sentence, so here is my problem, if its a problem at all. But its wierd.
      Here is my point (Battle Rounds = 1):

      If i will get attacked and i have a Bunker, and the enemy doesnt win and my bunker and eventually other surviving units still present after the stalemate, then i am the attacker the next round if i dont pull out all existing units, which leads to that my Bunker will participate as a unit with 0 Attack BUT with repairable 2HP and free to choose as casualty.
      That makes a Bunker a very potent (counter) attack unit, in that specific case, even if it has 0 attack and movement.
      Technically that Bunker can eventually be on attack after beeing attacked and stalemate, but its still in his original territory.

      Is there any idea how to solve this other than setting 2 battle rounds instead of 1 i guess? Because i think that if i set 2 battle rounds then the enemy AI does get the chance to withdraw, which is not the case in a 1 round battle. Am i right?
      Anyone with a similar problem?

      1 Reply Last reply Reply Quote 0
      • C Offline
        Cernel Moderators Lobby Moderators
        last edited by

        If you don't want units being able to attack, give them the "canNotMoveDuringCombatMove" option set true.

        TorpedoAT 5 Replies Last reply Reply Quote 1
        • TorpedoAT Offline
          TorpedoA @Cernel
          last edited by

          @Cernel
          I have done that. But now i want it to attack but only with a truck, so it should not go anywhere without a truck.
          If that is not possible, then i guess i set it to movement 1 then. Like arty.

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            Cernel Moderators Lobby Moderators @TorpedoA
            last edited by

            @TorpedoA You want a bunker to attack only with a truck?

            1 Reply Last reply Reply Quote 0
            • TorpedoAT Offline
              TorpedoA @Cernel
              last edited by

              @Cernel sorry, got it totally wrong
              bad day

              1 Reply Last reply Reply Quote 0
              • TorpedoAT Offline
                TorpedoA @Cernel
                last edited by

                @Cernel
                ok then, does that mean that with option cannotattackduringmovement, the bunker would not participate at all yes? That is quite dumb of me not to have guessed that. It seams 3 hours of sleep is not good for my brain.

                1 Reply Last reply Reply Quote 1
                • TorpedoAT Offline
                  TorpedoA @Cernel
                  last edited by

                  @Cernel
                  so, although my bunker doesnt move, its considered attackduringmovement if he just is on the offensive side

                  thanks alot

                  1 Reply Last reply Reply Quote 0
                  • TorpedoAT Offline
                    TorpedoA @Cernel
                    last edited by

                    @Cernel
                    well, sorry again, i just realized that i already have a similar unit to a bunker with CannotMoveduringCombat already, and this unit will show up at the battle window and can be chosen as casualty even if its on attack side. By attack side i mean after being attacked and stalemate and THEN being the attacker in my own territory.

                    <attachment name="unitAttachment" attachTo="FieldFort" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
                    <option name="attack" value="0"/>
                    <option name="defense" value="3"/>
                    <option name="movement" value="1"/>
                    <option name="transportCost" value="3"/>
                    <option name="isConstruction" value="true"/>
                    <option name="isLandTransportable" value="true"/>
                    <option name="constructionType" value="FieldFort"/>
                    <option name="canNotMoveDuringCombatMove" value="true"/>
                    <option name="maxConstructionsPerTypePerTerr" value="10"/>
                    <option name="constructionsPerTerrPerTypePerTurn" value="1"/>
                    </attachment>

                    One difference is that bunker has 0 movement while above unit has movement = 1, but that doesnt seem to matter. Because both show up if i am on the (counter) attacking side in my own territory after stalemate even though FieldFort unit got cannotmoveduringcombat already.
                    Either i am too dumb and sleepy, or there is something else?

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      Cernel Moderators Lobby Moderators @TorpedoA
                      last edited by

                      @TorpedoA Sorry, nevermind. I haven't tested it and remembered "canNotMoveDuringCombatMove" units would never attack, but, apparently, they do. In this case, I think there is not a clean way to have non-attacking units. However, this issue might be tracking the problem (which might be a regression):
                      https://github.com/triplea-game/triplea/issues/7167

                      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