Skip to content

Commit

Permalink
Make Dragoon's chomp more reliable.
Browse files Browse the repository at this point in the history
  • Loading branch information
enneract committed Apr 11, 2015
1 parent 5883844 commit 22bfcab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/game/g_combat.c
Expand Up @@ -1253,12 +1253,8 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker,

if( inflictor->s.weapon != WP_NONE )
{
Com_Printf( "^2DEBUG: weapon knockback: %d * %f = ",
knockback, BG_Weapon( inflictor->s.weapon )->knockbackScale );
knockback = (int)( (float)knockback *
BG_Weapon( inflictor->s.weapon )->knockbackScale );
Com_Printf( "%d\n", knockback );

}

if( targ->client )
Expand Down
2 changes: 1 addition & 1 deletion src/game/tremulous.h
Expand Up @@ -253,7 +253,7 @@ TREMULOUS EDGE MOD SRC FILE
#define LEVEL3_POUNCE_TIME 900 // msec for full Dragoon pounce
#define LEVEL3_POUNCE_TIME_UPG 900 // msec for full Adv. Dragoon pounce
#define LEVEL3_POUNCE_TIME_MIN 200 // msec before which pounce cancels
#define LEVEL3_POUNCE_REPEAT 400 // msec before a new pounce starts (default: 400)
#define LEVEL3_POUNCE_REPEAT 0 // msec before a new pounce starts (default: 400)
#define LEVEL3_POUNCE_SPEED_MOD 0.75f // walking speed modifier for pounce charging
#define LEVEL3_POUNCE_JUMP_MAG 850 // Dragoon pounce jump power
#define LEVEL3_POUNCE_JUMP_MAG_UPG 930 // Adv. Dragoon pounce jump power
Expand Down

0 comments on commit 22bfcab

Please sign in to comment.