Skip to content

Commit

Permalink
Merge pull request CleverRaven#52587 from caethan/patch-1
Browse files Browse the repository at this point in the history
Fix probabilities in military extra weapons spawn.
  • Loading branch information
Rivet-the-Zombie authored Nov 3, 2021
2 parents 0208449 + c81d308 commit 18b1e6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/map_extras.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,12 +520,12 @@ static bool mx_military( map &m, const tripoint & )
// 10% chance of zombie carrying weapon so 90% chance of it being on the ground
if( !one_in( 10 ) ) {
item_group_id group;
// 75% assault rifles, 10% LMGs, 5% shotguns, 5% sniper rifles
// 80% assault rifles, 10% LMGs, 5% shotguns, 5% sniper rifles
if( one_in( 20 ) ) {
group = item_group_id( "military_standard_sniper_rifles" );
} else if( one_in( 20 ) ) {
} else if( one_in( 19 ) ) {
group = item_group_id( "military_standard_shotguns" );
} else if( one_in( 10 ) ) {
} else if( one_in( 9 ) ) {
group = item_group_id( "military_standard_lmgs" );
} else {
group = item_group_id( "military_standard_assault_rifles" );
Expand Down

0 comments on commit 18b1e6e

Please sign in to comment.