mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-10 07:11:48 +00:00
Mantis 0000475:
o Differentiated detonation times for handgreandes and grenades from the grenade launcher. o Added a new balance var: kHandGrenDetonateTime git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@302 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
e620cd1c32
commit
3c4b144cd9
2 changed files with 3 additions and 2 deletions
|
@ -129,13 +129,14 @@
|
|||
#define kGorgeCost 10
|
||||
#define kGorgeGestateTime 10
|
||||
#define kGorgeHealth 150
|
||||
#define kGrenDetonateTime 0.75
|
||||
#define kGrenDetonateTime 2
|
||||
#define kGrenadeDamage 125
|
||||
#define kGrenadeForce 800
|
||||
#define kGrenadeLauncherCost 15
|
||||
#define kGrenadeRadius 350
|
||||
#define kGrenadesResearchCost 10
|
||||
#define kGrenadesResearchTime 45
|
||||
#define kHandGrenDetonateTime 0.75
|
||||
#define kHGDamage 20
|
||||
#define kHGMaxAmmo 30
|
||||
#define kHGMaxClip 10
|
||||
|
|
|
@ -378,7 +378,7 @@ void AvHGrenade::CreateProjectile()
|
|||
}
|
||||
|
||||
// How to handle this? Only generate entity on server, but we should do SOMETHING on the client, no?
|
||||
CGrenade* theGrenade = AvHSUShootServerGrenade(this->m_pPlayer->pev, theStartPosition, theVelocity, BALANCE_VAR(kGrenDetonateTime), true);
|
||||
CGrenade* theGrenade = AvHSUShootServerGrenade(this->m_pPlayer->pev, theStartPosition, theVelocity, BALANCE_VAR(kHandGrenDetonateTime), true);
|
||||
ASSERT(theGrenade);
|
||||
|
||||
theGrenade->pev->dmg = this->mDamage;
|
||||
|
|
Loading…
Reference in a new issue