summaryrefslogtreecommitdiff
path: root/src/game/tremulous.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/tremulous.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/tremulous.h')
-rw-r--r--src/game/tremulous.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index 3b9c8bc..b3b9b92 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -517,9 +517,7 @@ TREMULOUS EDGE MOD SRC FILE
#define LIGHTNING_PRICE 500
#define LIGHTNING_AMMO 300
#define LIGHTNING_K_SCALE 1
-#define LIGHTNING_DPS 60 // damage per second
#define LIGHTNING_REPEAT 50 // keep it as low as possible
-#define LIGHTNING_DAMAGE ( LIGHTNING_DPS * LIGHTNING_REPEAT / 1000 )
#define LIGHTNING_RANGE 450
#define LCANNON_PRICE 600