diff options
author | Gacko <gacko28@gmx.de> | 2013-03-22 21:31:49 +0100 |
---|---|---|
committer | Gacko <gacko28@gmx.de> | 2013-03-22 21:36:25 +0100 |
commit | ccb95c74625ab67a3eaf0f4d54206b2d6104da07 (patch) | |
tree | c0c52daa3db093e49da18edc038e75aacf09fe80 /src | |
parent | 4c8ff6e6a306407ecf1a2fd7bc5ce0b7b95786b9 (diff) |
Script/Spell: Apply Shadow's Fate to Sindragosa
Sindgragosa is summoned in instance script and would not pass the modified check otherwise
Related to: #9487
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index c9c75cdb134..0c9817ba167 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -813,6 +813,7 @@ class spell_item_scroll_of_recall : public SpellScriptLoader enum ShadowsFate { SPELL_SOUL_FEAST = 71203, + NPC_SINDRAGOSA = 36853 }; class spell_item_unsated_craving : public SpellScriptLoader @@ -831,7 +832,7 @@ class spell_item_unsated_craving : public SpellScriptLoader return false; Unit* target = procInfo.GetActionTarget(); - if (!target || target->GetTypeId() != TYPEID_UNIT || target->GetCreatureType() == CREATURE_TYPE_CRITTER || target->isSummon()) + if (!target || target->GetTypeId() != TYPEID_UNIT || target->GetCreatureType() == CREATURE_TYPE_CRITTER || (target->GetEntry() != NPC_SINDRAGOSA && target->isSummon())) return false; return true; |