Bug #555
minstanex accurency calcul got wrong by secondary mode (laser)
| Status: | Rejected | Start: | 10/04/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 100% |
|
| Category: | Server | |||
| Target version: | 2.5.3 | |||
| Votes: | 1 |
Description
The damage value are added to the shots counter. Example :
Shots fired : 19
Shots hit: 9
Accuracy : 47%
Shots missed : 10
After firing with the secondary 3 times :
Shots fired : 75
Shots hit: 9
Accuracy : 12%
Shots missed : 66
However the count is back to normal after respwaming and firing once.
Even if it's supposed to count everything, in minstagib mode the laser doesn't make any damage.
History
Updated by Ronan 10 months ago
- File minstanex_accuracy_fix.patch added
- Priority changed from Low to Normal
- % Done changed from 0 to 90
Here a fix :
- in minstagib, the secondary mode afflicts no damage so it's ignored in the stats
- otherwise the laser damage are counted in the laser weapon slot, as the code is shared between laser and minstanex secondary