‹‹ Back to Bugs
Get Premium to hide all ads
Posts: 9   Visited by: 30 users
06.05.2025 - 05:04
Expected behavior:
When unit receives damage equal or greater to its HP it dies (I'm aware that it will survive if it is last defender that simultaneously kills the last attacker).

Actual behavior
2 Infantry + 1 General attacked 1 Militia:
Round 1
Infantry 1 dmg | Militia 4 dmg --> #1 Infantry 3 HP | Militia 6 HP
Round 2
Infantry 1 dmg | Militia 3 dmg --> #1 Infantry dies, #2 Infantry 7 HP | Militia 5 HP
Round 3
Infantry 2 dmg | Militia 1 dmg --> #2 Infantry 6 HP | Militia 3 HP
Round 4
Infantry 2 dmg | Militia 4 dmg --> #2 Infantry 2 HP | Militia 1 HP
Round 5
Infantry 3 dmg | Militia 2 dmg --> #2 Infantry dies, General alive with 1 HP | Militia -2 HP (Should die)
Round 6 (There should be no round 6)
General 1 dmg | Militia 2 dmg --> General dies, | Militia -3 HP (Should already be dead)

Steps to reproduce the behavior:
1. Be me.
2. Start a battle with 99,85% success probability.
3. Win the battle but loose it anyway.
4. Dave explain.

Information:
Browser: Brave Version 1.78.94 Chromium: 136.0.7103.60 (Official Build) (64-bit)
OS: Windows 10

Loading...
Loading...
08.05.2025 - 19:59
Dont think about it too hard, that milita is actually terminator in disguise not really a game issue!
----
''Everywhere where i am absent, they commit nothing but follies''
~Napoleon


Loading...
Loading...
11.05.2025 - 05:24
Ive actually noticed this too , it started happening a few years ago cus i sometimes watch battles and no matter which unit defending when one attacking unit dies the hp of the defending unit gets restarted if its only 1.
Sometimes it happens sometimes it doesnt though so idk
Loading...
Loading...
12.05.2025 - 05:08
Written by Ghostface, 11.05.2025 at 05:24

Ive actually noticed this too , it started happening a few years ago cus i sometimes watch battles and no matter which unit defending when one attacking unit dies the hp of the defending unit gets restarted if its only 1.
Sometimes it happens sometimes it doesnt though so idk


I've seen weird stuff happening with damage many times too. Mostly in custom maps/scenarios and with bigger units (lots of attack/def and hp 20-30+) so I didn't care to investigate. What I posted here just pissed me off. Imagine having luck this bad with the damage rolls and then being slapped in the face by this bug

Without looking at code I can't be sure but I have a theory:
Rule that saves the last defender in case when it and the attacker kill each other at the same time is applied at incorrect time.
It should only happen when last units in both stacks die at the same time.
I think it is happening when the last defender kills and dies to the last attacker in a group in a stack. Basically it kills the last unit type (for me it was a Infantry). The rule might be applied for the last unit type in a stack instead of the last unit in the whole stack.
If that is the case in theory, defending unit with high enough def/crit can kill multiple attacking units in a row instead of dying. I never made a custom map/scenario but if something like this happens again I might just to test
Loading...
Loading...
12.05.2025 - 11:39
Ive noticed it in scenarios too but mostly in the basic world map , and you are right when i would send different unit types like for example 1 tank and 1 inf vs 1inf it used to happen a lot more than sending 2 or 3 inf vs 1 inf.
I almost always watch my starting expansion and sometimes ive noticed also when its for example 1 tank 1 inf vs 2 mil , the tank deals enough damage to kill 1 mil and dies sametime as the mil but the damage doesnt get transferred to the 2nd mil
Loading...
Loading...
12.05.2025 - 15:40


4 Tanks, 4 Marines VS 8 Militia:
Round 1 | Tank 1 dmg | Militia 1 dmg --> #1 Tank 6 HP | #1 Militia 6 HP
Round 2 | Tank 1 dmg | Militia 1 dmg --> #1 Tank 5 HP | #1 Militia 5 HP
Round 3 | Tank 8 dmg | Militia 2 dmg --> #1 Tank 4 HP | #1 Militia dies, #2 Militia 4 HP
Round 4 | Tank 2 dmg | Militia 2 dmg --> #1 Tank 2 HP | #2 Militia 2 HP
Round 5 | Tank 6 dmg | Militia 1 dmg --> #1 Tank dies, #2 Tank 7 HP | #2 Militia dies, #3 Militia 3 HP
Round 6 | Tank 4 dmg | Militia 1 dmg --> #2 Tank 6 HP | #3 Militia dies, #4 Militia 6 HP
Round 7 | Tank 5 dmg | Militia 1 dmg --> #2 Tank 5 HP | #4 Militia 1 HP
Round 8 | Tank 5 dmg | Militia 3 dmg --> #2 Tank 2 HP | #4 Militia dies, #5 Militia 3 HP
Round 9 | Tank 10 dmg | Militia 2 dmg --> #2 Tank dies, #3 Tank 7 HP | #5 & #6 Militia dies, #7 Militia 7 HP
Round 10 | Tank 3 dmg | Militia 3 dmg --> #3 Tank 4 HP | #7 Militia 4 HP
Round 11 | Tank 4 dmg | Militia 2 dmg --> #3 Tank 2 HP | #7 Militia dies, #8 Militia 7 HP
Round 12 | Tank 2 dmg | Militia 4 dmg --> #3 Tank dies, #4 Tank 5 HP | #8 Militia 5 HP
Round 13 | Tank 3 dmg | Militia 4 dmg --> #4 Tank 1 HP | #8 Militia 2 HP
Round 14 | Tank 12 dmg | Militia 2 dmg --> #4 Tank dies, #1 Marine 6 HP| #8 Militia -10 HP (Should die)
(There should be no round 15)
Round 15 | Marine 8 dmg | Militia 4 dmg --> #1 Marine 4 HP | #8 Militia dies, again

This time there were no negative consequences of the bug but it did happen.
The rule saving the last defender from dying is being applied for the group/type of unit in the stack instead for the last unit in the entire stack.

I'm assuming that the codebase is not in a public repo so I can't just look at it myself.
Loading...
Loading...
13.05.2025 - 02:04
Here we go again, at this point I can find an example of this bug every day and the consequences of this are not insignificant. You loose many small battles that you shouldn't:


2 Tanks, 1 Marine VS 3 Militia:
Round 1 | Tank 1 dmg | Militia 3 dmg --> #1 Tank 4 HP | #1 Militia 6 HP
Round 2 | Tank 4 dmg | Militia 2 dmg --> #1 Tank 2 HP | #1 Militia 2 HP
Round 3 | Tank 6 dmg | Militia 3 dmg --> #1 Tank dies, #2 Tank 6 HP | #1 Militia dies, #2 Militia 3 HP
Round 4 | Tank 1 dmg | Militia 3 dmg --> #2 Tank 3 HP | #2 Militia 2 HP
Round 5 | Tank 6 dmg | Militia 2 dmg --> #2 Tank 1 HP | #2 Militia dies, #3 Militia 3 HP
Round 6 | Tank 4 dmg | Militia 3 dmg --> #2 Tank dies, #1 Marine 5 HP | #3 Militia -1 HP (Should die)
(There should be no round 7)
Round 7 | Marine 4 dmg | Militia 2 dmg --> #1 Marine 3 HP | #3 Militia -5 HP (Should already be dead)
(There should be no round 7 let alone round 8)
Round 8 | Marine 2 dmg | Militia 4 dmg --> #1 Marine dies | #3 Militia -7 HP (at this point this Militia received 14 damage...)
Loading...
Loading...
13.05.2025 - 20:21
This is the main reason you dont wanna use small amounts of troops when taking stuff, for example 3 infs is better than 1 tank 1 inf because this glitch wont happen to infs nearly as often
----
hi
Loading...
Loading...
14.05.2025 - 18:43
Written by Frieren, 13.05.2025 at 20:21

This is the main reason you dont wanna use small amounts of troops when taking stuff, for example 3 infs is better than 1 tank 1 inf because this glitch wont happen to infs nearly as often

Loading...
Loading...
atWar

About Us
Contact

Privacy | Terms of service | Banners | Partners

Copyright © 2025 atWar. All rights reserved.

Join us on

Spread the word