summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-12-16 19:36:18 +0100
committerenneract <trem.redman@gmail.com>2014-12-16 19:36:18 +0100
commit3afe13c2a292e0940a05634b322300ccd1238541 (patch)
tree20d7bf596af96eabe55f709b7f6576671d46f962 /src/game/g_local.h
parent7c02e34b08a4e44a7f7935bf6b1bee45c3a8df6c (diff)
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.
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h3
1 files changed, 3 insertions, 0 deletions
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 );