From 0f43c487b1688136b39488aca5df5d2e9ec95fc2 Mon Sep 17 00:00:00 2001 From: MaeJong Date: Sat, 13 May 2017 20:32:04 +0200 Subject: Move tyrant healing aura to adv. basilisks Healing aura stats remain the same Tyrant basic regen buffed from 7 to 9 --- src/game/g_active.c | 6 +++--- src/game/tremulous.h | 4 +++- 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 -- cgit