diff --git a/data/sql/updates/pending_db_world/rev_1689812064738638900.sql b/data/sql/updates/pending_db_world/rev_1689812064738638900.sql new file mode 100644 index 000000000..b1563f150 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1689812064738638900.sql @@ -0,0 +1,4 @@ +-- +UPDATE `creature_template` SET `AIName` = '' WHERE `entry` = 12298; + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 12298) AND (`source_type` = 0); diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index 6d091c141..c42d4e84d 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -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); }