mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-24 05:34:18 +00:00
Remove cleansuit scientist ability to heal player (#12)
This commit is contained in:
parent
0db87f8f31
commit
bec7af2029
@ -33,6 +33,7 @@ class CCleansuitScientist : public CScientist
|
||||
public:
|
||||
void Spawn( void );
|
||||
void Precache( void );
|
||||
virtual BOOL CanHeal(void);
|
||||
};
|
||||
|
||||
LINK_ENTITY_TO_CLASS(monster_cleansuit_scientist, CCleansuitScientist);
|
||||
@ -94,6 +95,11 @@ void CCleansuitScientist::Precache(void)
|
||||
CTalkMonster::Precache();
|
||||
}
|
||||
|
||||
BOOL CCleansuitScientist::CanHeal()
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
//=========================================================
|
||||
// Dead Cleansuit Scientist PROP
|
||||
//=========================================================
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
float CoverRadius(void) { return 1200; } // Need more room for cover because scientists want to get far away!
|
||||
BOOL DisregardEnemy(CBaseEntity *pEnemy) { return !pEnemy->IsAlive() || (gpGlobals->time - m_fearTime) > 15; }
|
||||
|
||||
BOOL CanHeal(void);
|
||||
virtual BOOL CanHeal(void);
|
||||
void Heal(void);
|
||||
virtual void Scream(void);
|
||||
|
||||
@ -136,4 +136,4 @@ public:
|
||||
float m_flResponseDelay;
|
||||
};
|
||||
|
||||
#endif // SCIENTIST_H
|
||||
#endif // SCIENTIST_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user