Core/Spells: Correct a DBC mistake in Improved Stings (R2)

This commit is contained in:
Nay
2011-09-06 18:12:09 +01:00
parent 30fb856ea3
commit dc123820ad
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -569,7 +569,7 @@ void SmartAI::JustReachedHome()
void SmartAI::EnterCombat(Unit* enemy) void SmartAI::EnterCombat(Unit* enemy)
{ {
me->InterruptNonMeleeSpells(false);//msut be before ProcessEvents me->InterruptNonMeleeSpells(false); // must be before ProcessEvents
GetScript()->ProcessEventsFor(SMART_EVENT_AGGRO, enemy); GetScript()->ProcessEventsFor(SMART_EVENT_AGGRO, enemy);
me->GetPosition(&mLastOOCPos); me->GetPosition(&mLastOOCPos);
} }
+3
View File
@@ -2979,6 +2979,9 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_NEARBY_ENTRY; spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_NEARBY_ENTRY;
spellInfo->EffectImplicitTargetB[0] = TARGET_DEST_NEARBY_ENTRY; spellInfo->EffectImplicitTargetB[0] = TARGET_DEST_NEARBY_ENTRY;
break; break;
case 19465: // Improved Stings, only rank 2 of this spell has target for effect 2 = TARGET_DST_DB
spellInfo->EffectImplicitTargetA[2] = TARGET_UNIT_CASTER;
break;
case 59725: // Improved Spell Reflection - aoe aura case 59725: // Improved Spell Reflection - aoe aura
// Target entry seems to be wrong for this spell :/ // Target entry seems to be wrong for this spell :/
spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_CASTER_AREA_PARTY; spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_CASTER_AREA_PARTY;