mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Scripts/Quest): improved Curing the Sick (#16798)
This commit is contained in:
@@ -974,6 +974,9 @@ class spell_q6124_6129_apply_salve : public SpellScript
|
||||
if (newEntry)
|
||||
{
|
||||
creatureTarget->UpdateEntry(newEntry);
|
||||
creatureTarget->GetMotionMaster()->Clear();
|
||||
creatureTarget->GetMotionMaster()->MoveFleeing(caster);
|
||||
creatureTarget->SetUnitFlag(UNIT_FLAG_NOT_ATTACKABLE_1);
|
||||
creatureTarget->DespawnOrUnsummon(DESPAWN_TIME);
|
||||
caster->KilledMonsterCredit(newEntry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user