|
|
|
@ -638,7 +638,11 @@ int CGonome::IgnoreConditions( void )
@@ -638,7 +638,11 @@ int CGonome::IgnoreConditions( void )
|
|
|
|
|
{ |
|
|
|
|
int iIgnore = CBaseMonster::IgnoreConditions(); |
|
|
|
|
|
|
|
|
|
if( m_Activity == ACT_MELEE_ATTACK1 ) |
|
|
|
|
if (m_Activity == ACT_RANGE_ATTACK1) |
|
|
|
|
{ |
|
|
|
|
iIgnore |= bits_COND_LIGHT_DAMAGE | bits_COND_HEAVY_DAMAGE | bits_COND_ENEMY_TOOFAR | bits_COND_ENEMY_OCCLUDED; |
|
|
|
|
} |
|
|
|
|
else if( m_Activity == ACT_MELEE_ATTACK1 ) |
|
|
|
|
{ |
|
|
|
|
if( m_flNextFlinch >= gpGlobals->time ) |
|
|
|
|
iIgnore |= ( bits_COND_LIGHT_DAMAGE | bits_COND_HEAVY_DAMAGE ); |
|
|
|
@ -670,6 +674,7 @@ void CGonome::Spawn()
@@ -670,6 +674,7 @@ void CGonome::Spawn()
|
|
|
|
|
pev->health = gSkillData.gonomeHealth; |
|
|
|
|
m_flFieldOfView = 0.2;// indicates the width of this monster's forward view cone ( as a dotproduct result )
|
|
|
|
|
m_MonsterState = MONSTERSTATE_NONE; |
|
|
|
|
m_afCapability = bits_CAP_DOORS_GROUP; |
|
|
|
|
|
|
|
|
|
m_flNextThrowTime = gpGlobals->time; |
|
|
|
|
|
|
|
|
|