Made frag counter batteries last longer.

This commit is contained in:
Kiri 2023-09-09 17:49:43 -07:00
parent da6670956d
commit fe249bb6eb

View File

@ -84,7 +84,7 @@ class GretchenCounter : HDWeapon
weaponstatus[KGC_BATTERY] > 0) weaponstatus[KGC_BATTERY] > 0)
{ {
// Discharge rate: 1/1000 chance per tick. // Discharge rate: 1/1000 chance per tick.
int r = random(0, 4000); int r = random(0, 16000);
if(r < 2) { if(r < 2) {
weaponstatus[KGC_BATTERY] -= 1; weaponstatus[KGC_BATTERY] -= 1;
} }