mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
feat(Core/Unit): Add KillSelf overload (#14785)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
This commit is contained in:
@@ -640,7 +640,7 @@ struct npc_pet_gen_plump_turkey : public PassiveAI
|
||||
{
|
||||
if (type == EFFECT_MOTION_TYPE && id == 1)
|
||||
{
|
||||
Unit::Kill(me, me);
|
||||
me->KillSelf();
|
||||
me->AddAura(SPELL_TURKEY_STARTS_TO_BURN, me);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user