Attack return time

Status
Not open for further replies.

Diktator Milos

New Member
Reaction score
0
Hey,

I'd like to ask if there is somewhere an accurate calculation of the return time of units after an attack. I thought I understood it, but yesterday I came across an abnormality on speed.

Specifically from the speed:

The ram attack takes 1 minute and 36 seconds, see screen.

1672388217420.png

Arrival of the attack (Report):
29.12.22 23:46:03:250

I normally expected the return to be 23:46:03 + 00:01:36 = 23:47:39, but the return was 23:47:40. Why????.



So I tried again:
Arrival of the attack (Report):
29.12.22 23:51:15:921

I use the same calculation as in the previous case: 23:51:15 + 00:01:36 = 23:52:51 and indeed it returns 23:52:51, see screen.

1672388318303.png


So the question is:
Why in the first case the return was not 23:47:39, but the return took a second longer. I tried it on speed about 30 times only 2 times the return took a second longer than i would expect. Please note in advance that milliseconds of arrival of attack has no impact here (921 ms -> 1.36 - 250 ms -> 1.36 + 1).



I add some additional information:
Coordinates of village1 : 496|474
Coordinates of village2 : 509|491
Distance: 21.400934559032695
Speed of speed: 400
Unit speed: 1

Calculation of ram time = ( 21.400934559032695 [distance] * 30 [constant] ) / (400 [speed of speed] * 1 [speed of units])
Calculation of ram time = 1.605070091927452 (minutes)
Calculation of ram time minutes = 1

Calculation of ram time seconds = 0.605070091927452 * 60
Calculation of rams time seconds = 36.30420551564712
Calculation of rams time seconds = 36

Duration: 00:01:36


The calculation also corresponds to the duration of attacks in the game.


Thank you for the explanation.
 
Top