*Fix spell 16007.
--HG-- branch : trunk
This commit is contained in:
+1
-2
@@ -2021,8 +2021,7 @@ void Spell::SetTargetMap(uint32 i, uint32 cur)
|
|||||||
float range = GetSpellMaxRange(m_spellInfo, IsPositiveSpell(m_spellInfo->Id));
|
float range = GetSpellMaxRange(m_spellInfo, IsPositiveSpell(m_spellInfo->Id));
|
||||||
if(modOwner) modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_RANGE, range, this);
|
if(modOwner) modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_RANGE, range, this);
|
||||||
|
|
||||||
WorldObject *target = SearchNearbyTarget(range, SPELL_TARGETS_ENTRY);
|
if(WorldObject *target = SearchNearbyTarget(range, SPELL_TARGETS_ENTRY))
|
||||||
if(target)
|
|
||||||
m_targets.setDestination(target);
|
m_targets.setDestination(target);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3325,6 +3325,11 @@ void SpellMgr::LoadSpellCustomAttr()
|
|||||||
|
|
||||||
switch(i)
|
switch(i)
|
||||||
{
|
{
|
||||||
|
case 16007: // Draco-Incarcinatrix 900
|
||||||
|
// was 46, but effect is aura effect
|
||||||
|
spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_NEARBY_ENTRY;
|
||||||
|
spellInfo->EffectImplicitTargetB[0] = TARGET_DST_NEARBY_ENTRY;
|
||||||
|
break;
|
||||||
case 26029: // dark glare
|
case 26029: // dark glare
|
||||||
case 37433: // spout
|
case 37433: // spout
|
||||||
case 43140: case 43215: // flame breath
|
case 43140: case 43215: // flame breath
|
||||||
|
|||||||
Reference in New Issue
Block a user