This commit is contained in:
parent
5ebc73e91c
commit
a816643c57
6 changed files with 185 additions and 7 deletions
|
@ -87,6 +87,11 @@ bool CNpcSpiderCrabEnemy::processSensor()
|
|||
|
||||
m_attackDist = abs( playerXDist );
|
||||
|
||||
if ( abs( m_attackDist ) < 1 )
|
||||
{
|
||||
m_attackDist = 1;
|
||||
}
|
||||
|
||||
m_controlFunc = NPC_CONTROL_CLOSE;
|
||||
m_extension = 0;
|
||||
m_velocity = 5;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue