how lol? it seems perfectly fine to me
hi
$ksCount = 6;
$ksText[ 0 ] = "is on a \c3killing spree\c6!";
$ksText[ 1 ] = "is \c3dominating\c6!";
$ksText[ 2 ] = "is on a \c3rampage\c6!";
$ksText[ 3 ] = "is \c3unstoppable\c6!";
$ksText[ 4 ] = "is \c3godlike\c6!";
$ksText[ 5 ] = "is committing a \c3massacre\c6!";
package rstdm_package
{
function gameConnection::onDeath( %this, %pl, %cl, %type, %loc )
{
parent::onDeath( %this, %pl, %cl, %type, %loc );
if ( %this.killingSpree >= 5 && ( !isObject( %cl ) || %this $= %cl ) )
{
messageAll( '', "\c3" @ %this.name @ "\c6's \c3" @ %this.killingSpree @ "\c6-kill spree has ended." );
return;
}
if ( %this.killingSpree >= 5 )
{
messageAll( '', "\c3" @ %cl.name @ " \c6has ended \c3" @ %this.name @ "\c6's \c3" @ %this.killingSpree @ "\c6-kill spree." );
return;
}
if ( !%sourceClient || %this $= %sourceClient )
{
return;
}
if ( %sourceClient.killingSpree++ > $ksCount * 5 )
{
return;
}
if ( mFloatLength( %num = %sourceClient.killingSpree / 5 - 1, 0 ) $= %num )
{
messageAll( '', "\c3" @ %cl.name @ " \c6" @ $ksText[ %num ] );
}
}
};
activatePackage( "rstdm_package" );