3-way instant-gib

This commit is contained in:
Izuru Yakumo
2025-07-25 20:50:06 -03:00
parent 504bb283f4
commit bb02344d94
2 changed files with 13 additions and 7 deletions

View File

@@ -1681,9 +1681,9 @@ void BotChooseWeapon(bot_state_t *bs) {
trap_EA_SelectWeapon(bs->client, bs->weaponnum);
}
else {
if ( g_instantgib.integer == 1 || g_weaponarena.integer == 7 ) {
if ( g_instantgib.integer || g_weaponarena.integer == 7 ) {
newweaponnum = WP_RAILGUN;
} else if ( g_weaponarena.integer == 5 ) {
} else if ( g_instantgib.integer || g_weaponarena.integer == 5 ) {
newweaponnum = WP_ROCKET_LAUNCHER;
} else if ( g_weaponarena.integer == 1 ) {
newweaponnum = WP_GAUNTLET;
@@ -1691,7 +1691,7 @@ void BotChooseWeapon(bot_state_t *bs) {
newweaponnum = WP_MACHINEGUN;
} else if ( g_weaponarena.integer == 3 ) {
newweaponnum = WP_SHOTGUN;
} else if ( g_weaponarena.integer == 4 ) {
} else if ( g_instantgib.integer || g_weaponarena.integer == 4 ) {
newweaponnum = WP_GRENADE_LAUNCHER;
} else if ( g_weaponarena.integer == 6 ) {
newweaponnum = WP_LIGHTNING;
@@ -1699,7 +1699,7 @@ void BotChooseWeapon(bot_state_t *bs) {
newweaponnum = WP_PLASMAGUN;
} else if ( g_weaponarena.integer == 9 ) {
newweaponnum = WP_BFG;
} else if ( g_instantgib.integer > 2 || g_weaponarena.integer == 10 ) {
} else if ( g_instantgib.integer || g_weaponarena.integer == 10 ) {
newweaponnum = WP_NAILGUN;
} else if ( g_weaponarena.integer == 11 ) {
newweaponnum = WP_PROX_LAUNCHER;