This commit is contained in:
Charles 2001-05-10 19:27:57 +00:00
parent 3ea8916a41
commit 0112cd13e2
10 changed files with 112 additions and 25 deletions

View file

@ -29,7 +29,9 @@ void CNpcFallingHazard::init()
{
CNpcHazard::init();
m_movementTimer = 3 * GameState::getOneSecondInFrames();
m_movementTimer = 2 * GameState::getOneSecondInFrames();
m_respawnRate = 4;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -67,7 +69,7 @@ void CNpcFallingHazard::processMovement( int _frames )
m_isActive = false;
m_timerActive = true;
m_timer = 3 * GameState::getOneSecondInFrames();
m_timer = ( m_respawnRate - 1 ) * GameState::getOneSecondInFrames();
}
else
{
@ -89,6 +91,6 @@ void CNpcFallingHazard::processTimer( int _frames )
m_timerActive = false;
m_isActive = true;
Pos = m_base;
m_movementTimer = 3 * GameState::getOneSecondInFrames();
m_movementTimer = 2 * GameState::getOneSecondInFrames();
}
}