Ammo economy: 25% less ammo per box, 25% fewer ammo drops
- AMMO_REFILL_SCALE 0.75 on ammoRefillFraction (smaller refills) - AMMO_DROP_SCALE 0.75 on all three ammo spawn sites (room clear, elite, normal kill); help/gameplay drop-rate text updated; cache v=41
This commit is contained in:
1 parent
0ec12cd72c
commit
4dad22d087
9 files changed
+36
-33
No files matched your search
+2
-2
@@ -300,12 +300,12 @@ function killEnemy(e, ang) {
|
||||
spawnGems(e.x, e.y, gemVal);
|
||||
if (chance(0.18 + luck * 0.1)) {
|
||||
spawnPickup('item', e.x, e.y, { iid: rollItemId('elite', G.floor) });
|
||||
} else if (chance(0.6 + luck * 0.2)) {
|
||||
} else if (chance((0.6 + luck * 0.2) * AMMO_DROP_SCALE)) {
|
||||
spawnPickup('ammo', e.x, e.y);
|
||||
}
|
||||
} else {
|
||||
spawnGems(e.x, e.y, gemVal);
|
||||
if (chance(0.07 + luck * 0.04)) {
|
||||
if (chance((0.07 + luck * 0.04) * AMMO_DROP_SCALE)) {
|
||||
spawnPickup('ammo', e.x, e.y);
|
||||
} else if (chance(0.022 + luck * 0.03)) {
|
||||
spawnPickup('heart', e.x, e.y);
|
||||
|
||||
Reference in new issue
Block a user