* Update .start to work while in ghost form, send ghost to nearest graveyard. use: /g .start when dead
--HG-- branch : trunk
This commit is contained in:
@@ -78,6 +78,13 @@ bool ChatHandler::HandleStartCommand(const char* /*args*/)
|
|||||||
SetSentErrorMessage(true);
|
SetSentErrorMessage(true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if((chr->isDead()) || (chr->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST)))
|
||||||
|
{
|
||||||
|
// if player is dead and stuck, send ghost to graveyard
|
||||||
|
chr->RepopAtGraveyard();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// cast spell Stuck
|
// cast spell Stuck
|
||||||
chr->CastSpell(chr,7355,false);
|
chr->CastSpell(chr,7355,false);
|
||||||
|
|||||||
Reference in New Issue
Block a user