This commit is contained in:
parent
8679995a69
commit
9bf66ef925
10 changed files with 115 additions and 26 deletions
|
@ -63,8 +63,6 @@ void CNpcSubSharkEnemy::postInit()
|
|||
m_speed = m_data[m_type].speed + ( ( 3 * ( m_data[m_type].initHealth - m_health ) ) / m_data[m_type].initHealth );
|
||||
}
|
||||
|
||||
m_invulnerableTimer = 0;
|
||||
|
||||
m_timerTimer = 0;
|
||||
m_salvoCount = 5;
|
||||
m_carryPlayer = false;
|
||||
|
@ -75,18 +73,6 @@ void CNpcSubSharkEnemy::postInit()
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcSubSharkEnemy::think( int _frames )
|
||||
{
|
||||
if ( m_invulnerableTimer > 0 )
|
||||
{
|
||||
m_invulnerableTimer -= _frames;
|
||||
}
|
||||
|
||||
CNpcEnemy::think( _frames );
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcSubSharkEnemy::processMovement( int _frames )
|
||||
{
|
||||
if ( m_movementTimer > 0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue