|
|
|
@ -48,6 +48,14 @@ public:
@@ -48,6 +48,14 @@ public:
|
|
|
|
|
void EXPORT TrackTouch( CBaseEntity *pOther ); |
|
|
|
|
void EXPORT DartTouch( CBaseEntity *pOther ); |
|
|
|
|
void EXPORT DieTouch( CBaseEntity *pOther ); |
|
|
|
|
virtual float TouchGravGun( CBaseEntity *attacker, int stage ) |
|
|
|
|
{ |
|
|
|
|
pev->owner = attacker->edict(); |
|
|
|
|
pev->dmg *= 2; |
|
|
|
|
if( m_pfnThink == &CBaseEntity::SUB_Remove ) |
|
|
|
|
pev->nextthink = gpGlobals->time + 1; |
|
|
|
|
return 1000; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
int TakeDamage( entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType ); |
|
|
|
|
|
|
|
|
|