[Dominik] [15.35] Beam weapons tooltip should consider damage_interval

This subforum contains all the issues which we already resolved.
Post Reply
Meppi
Inserter
Inserter
Posts: 29
Joined: Thu Apr 07, 2016 2:57 pm
Contact:

[Dominik] [15.35] Beam weapons tooltip should consider damage_interval

Post by Meppi »

Right now the tooltip for beam weapons shows shooting-speed and damage-amount.

calculating the DPS with

Code: Select all

DPS = shooting-speed * damage-amount 
    = 60/cooldown * damage-amount
only works if damage_interval = duration.

This is the case for the destroyer robot.
But if we create a beam that does damage more than once during its duration, the numbers shown don't make sense anymore.

The correct DPS would be

Code: Select all

DPS = 60/cooldown * damage-amount * duration / damage_interval
The tooltip instead should show the DPS similar to the flamethrower.

Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [Dominik] [15.35] Beam weapons tooltip should consider damage_interval

Post by Dominik »

Hi Meppi, I have changed the tooltip so that it will show the number of the procs as a multiplier of the damage, similar to a shotgun. Scheduled for 0.16.

Post Reply

Return to “Resolved Problems and Bugs”