Mercurial > hg > batmud > misc
comparison materials/info.php @ 335:c5c30dee4e45 misc
Adjust research value scoring.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 31 Dec 2015 07:11:44 +0200 |
parents | 02b421843a90 |
children |
comparison
equal
deleted
inserted
replaced
334:0a62974ff1f3 | 335:c5c30dee4e45 |
---|---|
414 } | 414 } |
415 | 415 |
416 // | 416 // |
417 // Calculate some statistics | 417 // Calculate some statistics |
418 // | 418 // |
419 $researchValue /= $researched * 15.0; | 419 $researchValue /= $researched * 10.0; |
420 if ($researchValue > 1.0) | 420 if ($researchValue > 1.0) |
421 $researchValue = 1.0; | 421 $researchValue = 1.0; |
422 | 422 |
423 $total /= 2; | 423 $total /= 2; |
424 $researched /= 2; | 424 $researched /= 2; |