Page 1 of 1

[Posila] [0.14.7] Destroyer's beam attack deals double damage

Posted: Mon Sep 19, 2016 2:12 pm
by Meppi
With damage_interval = 20 on the beam and duration = 20 on the destroyer one attack deals damage twice, once at the start and once at the end of the duration, doubling the damage output.

Re: [0.14.7] Destroyer's beam attack deals double damage

Posted: Mon Sep 19, 2016 2:57 pm
by Klonan
I think this is a bug,

If we imagine we want things simple, this is wrong,

I want the beam to do 20 damage total,

so i set the interval to 1, and duration to 20,

However it would do 21 damage right?

In the same way i want to do 5 damage, so i set duration to 100, and interval to 20,
However it would do 6 damage

I think it is more intuitive this way

Re: [0.14.7] Destroyer's beam attack deals double damage

Posted: Mon Sep 19, 2016 5:49 pm
by Meppi
I want the beam to do 20 damage total,

so i set the interval to 1, and duration to 20,

However it would do 21 damage right?

In the same way i want to do 5 damage, so i set duration to 100, and interval to 20,
However it would do 6 damage
That's correct, if you also set the beam damage to 1.
You would have to set the durations to 19 and 99 or you get an off-by-one error.

Re: [Posila] [0.14.7] Destroyer's beam attack deals double damage

Posted: Mon Sep 19, 2016 6:18 pm
by Rseding91
Indeed the logic looks wrong for the beam :)

Re: [Posila] [0.14.7] Destroyer's beam attack deals double damage

Posted: Wed Sep 28, 2016 12:59 pm
by posila
Thanks for the report.
It should be fixed in 0.14.10