mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +00:00
feat(Core/Unit): Add KillSelf overload (#14785)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
This commit is contained in:
@@ -444,7 +444,7 @@ public:
|
||||
{
|
||||
me->SetLootRecipient(me->GetOwner());
|
||||
me->LowerPlayerDamageReq(me->GetMaxHealth());
|
||||
Unit::Kill(me, me);
|
||||
me->KillSelf();
|
||||
deathTimer = 600000;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user