* Change .die command handler so that the user can get credit for the kill
--HG-- branch : trunk
This commit is contained in:
1 parent
1302b3b7a9
commit
c674463df4
1 file changed
+1
-2
+1
-2
@@ -4223,8 +4223,7 @@ bool ChatHandler::HandleDieCommand(const char* /*args*/)
|
||||
|
||||
if( target->isAlive() )
|
||||
{
|
||||
//m_session->GetPlayer()->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
|
||||
m_session->GetPlayer()->Kill(target);
|
||||
m_session->GetPlayer()->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user