Slight spawn effect

This commit is contained in:
ChocoTaco 2019-03-24 15:40:21 -04:00
parent b79623f041
commit ab7719a878

View file

@ -459,9 +459,9 @@ function DefaultGame::createPlayer(%game, %client, %spawnLoc, %respawn)
if(%respawn)
{
%player.setInvincible(true);
//%player.setCloaked(true); // z0dd - ZOD, 8/6/02. Don't spawn players cloaked
%player.setCloaked(true); // z0dd - ZOD, 8/6/02. Don't spawn players cloaked //was //
%player.setInvincibleMode($InvincibleTime,0.02);
//%player.respawnCloakThread = %player.schedule($InvincibleTime * 1000, "setRespawnCloakOff"); // z0dd - ZOD, 8/6/02. Don't spawn players cloaked
%player.respawnCloakThread = %player.schedule($InvincibleTime * 80, "setRespawnCloakOff"); // z0dd - ZOD, 8/6/02. Don't spawn players cloaked //was 1000
%player.schedule($InvincibleTime * 1000, "setInvincible", false);
}