|
|
@ -724,7 +724,7 @@ void CNihilanth::NextActivity() |
|
|
|
|
|
|
|
|
|
|
|
if( ( pev->health < gSkillData.nihilanthHealth / 2 || m_iActiveSpheres < N_SPHERES / 2 ) && m_hRecharger == 0 && m_iLevel <= 9 ) |
|
|
|
if( ( pev->health < gSkillData.nihilanthHealth / 2 || m_iActiveSpheres < N_SPHERES / 2 ) && m_hRecharger == 0 && m_iLevel <= 9 ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
char szName[66]; |
|
|
|
char szName[128]; |
|
|
|
|
|
|
|
|
|
|
|
CBaseEntity *pEnt = NULL; |
|
|
|
CBaseEntity *pEnt = NULL; |
|
|
|
CBaseEntity *pRecharger = NULL; |
|
|
|
CBaseEntity *pRecharger = NULL; |
|
|
@ -772,7 +772,7 @@ void CNihilanth::NextActivity() |
|
|
|
|
|
|
|
|
|
|
|
if( iseq != pev->sequence ) |
|
|
|
if( iseq != pev->sequence ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
char szText[76]; |
|
|
|
char szText[128]; |
|
|
|
|
|
|
|
|
|
|
|
sprintf( szText, "%s%d", m_szDrawUse, m_iLevel ); |
|
|
|
sprintf( szText, "%s%d", m_szDrawUse, m_iLevel ); |
|
|
|
FireTargets( szText, this, this, USE_ON, 1.0 ); |
|
|
|
FireTargets( szText, this, this, USE_ON, 1.0 ); |
|
|
@ -820,7 +820,7 @@ void CNihilanth::NextActivity() |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
char szText[66]; |
|
|
|
char szText[128]; |
|
|
|
|
|
|
|
|
|
|
|
sprintf( szText, "%s%d", m_szTeleportTouch, m_iTeleport ); |
|
|
|
sprintf( szText, "%s%d", m_szTeleportTouch, m_iTeleport ); |
|
|
|
CBaseEntity *pTouch = UTIL_FindEntityByTargetname( NULL, szText ); |
|
|
|
CBaseEntity *pTouch = UTIL_FindEntityByTargetname( NULL, szText ); |
|
|
@ -1100,7 +1100,7 @@ void CNihilanth::HandleAnimEvent( MonsterEvent_t *pEvent ) |
|
|
|
// prayer
|
|
|
|
// prayer
|
|
|
|
if( m_hEnemy != 0 ) |
|
|
|
if( m_hEnemy != 0 ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
char szText[76]; |
|
|
|
char szText[128]; |
|
|
|
|
|
|
|
|
|
|
|
sprintf( szText, "%s%d", m_szTeleportTouch, m_iTeleport ); |
|
|
|
sprintf( szText, "%s%d", m_szTeleportTouch, m_iTeleport ); |
|
|
|
CBaseEntity *pTouch = UTIL_FindEntityByTargetname( NULL, szText ); |
|
|
|
CBaseEntity *pTouch = UTIL_FindEntityByTargetname( NULL, szText ); |
|
|
|