Bug #555

minstanex accurency calcul got wrong by secondary mode (laser)

Added by Ronan 10 months ago. Updated 10 months ago.

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.

minstanex_accuracy_fix.patch (883 Bytes) Ronan, 10/05/2009 03:52 pm

History

Updated by Ronan 10 months ago

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

Updated by Ronan 10 months ago

  • Status changed from New to Rejected
  • % Done changed from 90 to 100

fixed by r8068 /trunk/data/qcsrc/server/ (w_laser.qc w_minstanex.qc): minstanex laser: properly notify the laser code that the shot shall have no damage (please test), should close #555

Also available in: Atom PDF