Multiply kill scores by skill damage factor.

This commit is contained in:
Mari the Deer 2022-07-05 23:40:50 +02:00
commit e12f055bd9
3 changed files with 5 additions and 3 deletions

View file

@ -261,6 +261,8 @@ extend Class SWWMHandler
lastkill[pnum] = level.maptime;
// scoring
int score = min(1000,int(ceil(e.Thing.GetSpawnHealth()*.05)*10));
// skill multiplier
score = int(score*G_SkillPropertyFloat(SKILLP_DamageFactor));
// player score is always the same
if ( e.Thing.player )
{