Core/Spells: Changed targets of Lifebinder's Gift (search for entry instead of area ally). For conditions thanks Anubisss

This commit is contained in:
Lopin
2011-09-08 13:50:01 +02:00
parent eddcb8ffbf
commit d5cbc97373
2 changed files with 22 additions and 0 deletions
@@ -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');
+5
View File
@@ -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