diff options
-rw-r--r-- | sql/updates/world/2011_09_08_00_world_conditions.sql | 17 | ||||
-rwxr-xr-x | src/server/game/Spells/SpellMgr.cpp | 5 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sql/updates/world/2011_09_08_00_world_conditions.sql b/sql/updates/world/2011_09_08_00_world_conditions.sql new file mode 100644 index 00000000000..07eebd56c7e --- /dev/null +++ b/sql/updates/world/2011_09_08_00_world_conditions.sql @@ -0,0 +1,17 @@ +DELETE FROM `conditions` WHERE `sourceEntry` IN (62584,64185); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) +VALUES +(13,0,62584,0,18,1,33202,0,0,'','target for Lifebinder\'s Gift'), +(13,0,62584,0,18,1,32919,0,0,'','target for Lifebinder\'s Gift'), +(13,0,62584,0,18,1,32916,0,0,'','target for Lifebinder\'s Gift'), +(13,0,62584,0,18,1,32906,0,0,'','target for Lifebinder\'s Gift'), +(13,0,62584,0,18,1,33203,0,0,'','target for Lifebinder\'s Gift'), +(13,0,62584,0,18,1,32918,0,0,'','target for Lifebinder\'s Gift'), +(13,0,62584,0,18,1,33215,0,0,'','target for Lifebinder\'s Gift'), +(13,0,64185,0,18,1,33202,0,0,'','target for Lifebinder\'s Gift'), +(13,0,64185,0,18,1,32919,0,0,'','target for Lifebinder\'s Gift'), +(13,0,64185,0,18,1,32916,0,0,'','target for Lifebinder\'s Gift'), +(13,0,64185,0,18,1,32906,0,0,'','target for Lifebinder\'s Gift'), +(13,0,64185,0,18,1,33203,0,0,'','target for Lifebinder\'s Gift'), +(13,0,64185,0,18,1,32918,0,0,'','target for Lifebinder\'s Gift'), +(13,0,64185,0,18,1,33215,0,0,'','target for Lifebinder\'s Gift'); diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 03813f07afe..ece4bd36da1 100755 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3232,6 +3232,11 @@ void SpellMgr::LoadDbcDataCorrections() // that will be clear if we get more spells with problem like this spellInfo->AttributesEx |= SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY; break; + case 62584: // Lifebinder's Gift + case 64185: // Lifebinder's Gift + spellInfo->EffectImplicitTargetB[1] = TARGET_UNIT_NEARBY_ENTRY; + spellInfo->EffectImplicitTargetB[2] = TARGET_UNIT_NEARBY_ENTRY; + break; // ENDOF ULDUAR SPELLS // // TRIAL OF THE CRUSADER SPELLS |