This commit is contained in:
parent
d6af89d74d
commit
8eecfefb81
1 changed files with 5 additions and 0 deletions
|
@ -1261,6 +1261,11 @@ void CNpcSeaSnakeEnemy::processShot( int _frames )
|
|||
m_speed = m_data[m_type].speed + ( ( 3 * ( NPC_SEA_SNAKE_LENGTH - ( m_health - 1 ) ) ) / NPC_SEA_SNAKE_LENGTH );
|
||||
|
||||
m_collTimer = GameState::getOneSecondInFrames();
|
||||
|
||||
if ( m_segmentCount <= 0 )
|
||||
{
|
||||
CGameScene::setBossHasBeenKilled();
|
||||
}
|
||||
}
|
||||
|
||||
m_invulnerableTimer = 2 * GameState::getOneSecondInFrames();
|
||||
|
|
Loading…
Add table
Reference in a new issue