diff options
| author | megamage <none@none> | 2009-08-19 20:30:11 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-19 20:30:11 -0500 |
| commit | 92f3d270272716c5a43f3916b0db042369808813 (patch) | |
| tree | 30d5f8bd3b097d637dccfb06a251231a61fa656e /src/bindings/scripts | |
| parent | 0fc22d6c1ca230569193e63e513ae21f73b3fcb6 (diff) | |
*Remove all ghouls after quest is completed in dk's "give gift" quest;
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts')
| -rw-r--r-- | src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp b/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp index afc5a48883e..57c1ed8cd86 100644 --- a/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp +++ b/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp @@ -692,6 +692,9 @@ struct TRINITY_DLL_DECL npc_dkc1_gothikAI : public ScriptedAI { CAST_CRE(who)->CastSpell(owner, 52517, true); CAST_CRE(who)->ForcedDespawn(); + + if (CAST_PLR(owner)->GetQuestStatus(12698) == QUEST_STATUS_COMPLETE) + owner->RemoveAllMinionsByEntry(28845); } } } |
