From 3afe13c2a292e0940a05634b322300ccd1238541 Mon Sep 17 00:00:00 2001 From: enneract Date: Tue, 16 Dec 2014 19:36:18 +0100 Subject: Make Lightning Gun's damage depend on precision. Lightning Gun's damage now depends on where a target was hit. Firing directly at a target's center will yield the full damage output, while firing at a point far from the center will cause a lot less damage. Both players and buildings are affected. --- src/game/g_local.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/g_local.h') diff --git a/src/game/g_local.h b/src/game/g_local.h index eb5f37e..873234b 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -1308,6 +1308,9 @@ extern vmCvar_t g_DretchBuildingDamage; extern vmCvar_t g_OwnTeamBPFactor; extern vmCvar_t g_EnemyTeamBPFactor; +extern vmCvar_t g_lightningDamage; +extern vmCvar_t g_lightningDifficulty; + void trap_Print( const char *fmt ); void trap_Error( const char *fmt ); int trap_Milliseconds( void ); -- cgit