summaryrefslogtreecommitdiff
path: root/src/game/tremulous.h
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-11-24 02:20:51 +0100
committerenneract <trem.redman@gmail.com>2014-11-24 02:20:51 +0100
commitb0a9981e09bbc7c30769f680a4e0ff17c9ea8239 (patch)
treed369ba2f0cebcf878ee32b420ec19a0786e9b4e8 /src/game/tremulous.h
parentf4413207a03658c719987d02fdbb87443843f43b (diff)
Implement the Lightning Gun.
Diffstat (limited to 'src/game/tremulous.h')
-rw-r--r--src/game/tremulous.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index e7512d5..b42a7b4 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -514,6 +514,14 @@ TREMULOUS EDGE MOD SRC FILE
#define PRIFLE_SECONDARY_SPEED 800
#define PRIFLE_SECONDARY_REPEAT 400
+#define LIGHTNING_PRICE 500
+#define LIGHTNING_AMMO 500
+#define LIGHTNING_K_SCALE 500
+#define LIGHTNING_DPS 100 // 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
#define LCANNON_AMMO 80
#define LCANNON_K_SCALE 1.0f