This commit is contained in:
parent
3ea8916a41
commit
0112cd13e2
10 changed files with 112 additions and 25 deletions
|
@ -40,7 +40,8 @@ void CNpcFireballHazard::init()
|
|||
|
||||
m_extension = 0;
|
||||
m_velocity = 40;
|
||||
m_timer = GameState::getOneSecondInFrames() * 3;
|
||||
|
||||
m_respawnRate = 4;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -75,7 +76,7 @@ void CNpcFireballHazard::processMovement( int _frames )
|
|||
m_extension = 0;
|
||||
m_isActive = false;
|
||||
m_timerActive = true;
|
||||
m_timer = 3 * GameState::getOneSecondInFrames();
|
||||
m_timer = ( m_respawnRate - 1 ) * GameState::getOneSecondInFrames();
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue