summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaeJong <mewiceclair@gmail.com>2017-05-13 20:32:04 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-05-14 22:08:58 +0200
commit0f43c487b1688136b39488aca5df5d2e9ec95fc2 (patch)
tree1a1a295b1624367cc8a0674b7a462b519a59ac5d /src
parent15219d75a19ef739fecbb76e755d0f9699ada364 (diff)
Move tyrant healing aura to adv. basilisks
Healing aura stats remain the same Tyrant basic regen buffed from 7 to 9
Diffstat (limited to 'src')
-rw-r--r--src/game/g_active.c6
-rw-r--r--src/game/tremulous.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index ec92c97..da2df83 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -919,7 +919,7 @@ void ClientTimerActions( gentity_t *ent, int msec )
level.surrenderTeam != PTE_ALIENS && !level.vampireDeath )
{
int entityList[ MAX_GENTITIES ];
- vec3_t range = { LEVEL4_REGEN_RANGE, LEVEL4_REGEN_RANGE, LEVEL4_REGEN_RANGE };
+ vec3_t range = { LEVEL1_REGEN_RANGE, LEVEL1_REGEN_RANGE, LEVEL1_REGEN_RANGE };
vec3_t mins, maxs;
int i, num;
gentity_t *boostEntity;
@@ -934,9 +934,9 @@ void ClientTimerActions( gentity_t *ent, int msec )
boostEntity = &g_entities[ entityList[ i ] ];
if( boostEntity->client && boostEntity->client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS &&
- boostEntity->client->ps.stats[ STAT_PCLASS ] == PCL_ALIEN_LEVEL4 )
+ boostEntity->client->ps.stats[ STAT_PCLASS ] == PCL_ALIEN_LEVEL1_UPG )
{
- modifier = LEVEL4_REGEN_MOD;
+ modifier = LEVEL1_REGEN_MOD;
break;
}
else if( boostEntity->s.eType == ET_BUILDABLE &&
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index e2c92d1..0d21a5f 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -70,6 +70,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define LEVEL1_PCLOUD_REPEAT 2000
#define LEVEL1_PCLOUD_TIME 10000
#define LEVEL1_PCLOUD_BOOST_TIME 5000
+#define LEVEL1_REGEN_RANGE 200.0f
+#define LEVEL1_REGEN_MOD 2.0f
#define LEVEL2_CLAW_DMG ADM(40)
#define LEVEL2_CLAW_RANGE 96.0f
@@ -195,7 +197,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define LEVEL4_SPEED 1.2f
#define LEVEL4_VALUE AVM(800)
#define LEVEL4_HEALTH AHM(400)
-#define LEVEL4_REGEN 7
+#define LEVEL4_REGEN 9
#define LEVEL4_COST 2