closes #245 - GMs will resurrect with full health
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -4356,7 +4356,7 @@ bool ChatHandler::HandleReviveCommand(const char *args)
|
|||||||
|
|
||||||
if (target)
|
if (target)
|
||||||
{
|
{
|
||||||
target->ResurrectPlayer(0.5f);
|
target->ResurrectPlayer(target->GetSession()->GetSecurity() > SEC_PLAYER ? 1.0f : 0.5f);
|
||||||
target->SpawnCorpseBones();
|
target->SpawnCorpseBones();
|
||||||
target->SaveToDB();
|
target->SaveToDB();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user