diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 01:24:58 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 01:24:58 +0200 |
commit | 451f2ca7c8d832d2691dde2510e613373c312cd1 (patch) | |
tree | 936a5222f7b6ac947561542b48f86c264a6f72d7 /src/game/g_combat.c | |
parent | dc87cba52101aa4c6ad94c652460bff8520231bd (diff) |
Remove Basilisk and Advanced Basilisk.
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r-- | src/game/g_combat.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index a8938f8..03b8d82 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -978,10 +978,6 @@ static float G_CalcDamageModifier( vec3_t point, gentity_t *targ, gentity_t *att if( dflags & DAMAGE_NO_LOCDAMAGE ) { const int mod = targ->client->lasthurt_mod; - // basi - flamer protection - if( ( ( mod == MOD_FLAMER ) || ( mod == MOD_FLAMER_SPLASH ) ) && - ( ( class == PCL_ALIEN_LEVEL1 ) || ( class == PCL_ALIEN_LEVEL1_UPG ) ) ) - return 0.1f; return GetNonLocDamageModifier( targ, class ); } @@ -1448,19 +1444,15 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, && mod != MOD_POISON && mod != MOD_LEVEL2_ZAP && mod != MOD_LEVEL5_ZAP - && mod != MOD_LEVEL1_PCLOUD && mod != MOD_HSPAWN && mod != MOD_ASPAWN && mod != MOD_LEVEL5_PRICKLES && mod != MOD_FLAMER_SPLASH) poisonTime = level.time + ALIEN_POISON_TIME; // no more zap poisen - else if( mod == MOD_LEVEL1_CLAW && ( mod != MOD_LEVEL2_ZAP || mod != MOD_LEVEL5_ZAP || mod != MOD_FLAMES )) + else if( mod != MOD_LEVEL2_ZAP || mod != MOD_LEVEL5_ZAP || mod != MOD_FLAMES ) { - if( attacker->client->ps.weapon == WP_ALEVEL1_UPG ) - poisonTime = level.time + g_basiPoisonTime.integer * 1000; - else - poisonTime = level.time + g_basiUpgPoisonTime.integer * 1000; + poisonTime = level.time + g_basiUpgPoisonTime.integer * 1000; } if( poisonTime > 0 ) { |