Damage Calculations during Action Phase

I wonder… should I enter this contest too hmm. My algo is already near the top 10 so there’s a chance I could win the whole thing (but I would give the prize to 2nd place or whatever). Do you guys want me to compete or is it too unfair to have to deal with two C1 employees.

4 Likes

The more the merrier :relieved:

2 Likes

And if multiple unit types are attacking the same stack of units, which unit type will be calculated first?

The way it is right now is that the oldest unit shoots first (gameobject ID is lowest).

Otherwise we would have to keep track of every unit that has a target to shoot this turn and then sort them somehow. We could change it but might be troublesome is this a high demand feature?

I agree, the more the merrier

1 Like

@C1Junaid Thanks for the response.

I don’t think the way it is right now needs to change, since it probably would not change the result by much.

But this information is very useful when simulating turns to get the exact same results as in real games.

3 Likes