[svn] Remove a hack on triggered spell target selection.
Some minor fixes. --HG-- branch : trunk
This commit is contained in:
@@ -1880,7 +1880,8 @@ void Aura::TriggerSpell()
|
||||
}
|
||||
}
|
||||
}
|
||||
// All ok cast by default case
|
||||
m_target->CastSpell(target, triggredSpellInfo, true, 0, this, originalCasterGUID);
|
||||
/*// All ok cast by default case
|
||||
Spell *spell = new Spell(m_target, triggredSpellInfo, true, originalCasterGUID );
|
||||
|
||||
SpellCastTargets targets;
|
||||
@@ -1890,7 +1891,7 @@ void Aura::TriggerSpell()
|
||||
if(DynamicObject* dynObj = caster->GetDynObject(GetId()))
|
||||
targets.setDestination(dynObj->GetPositionX(),dynObj->GetPositionY(),dynObj->GetPositionZ());
|
||||
|
||||
spell->prepare(&targets, this);
|
||||
spell->prepare(&targets, this);*/
|
||||
}
|
||||
|
||||
/*********************************************************/
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
#include "Util.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
|
||||
pEffect SpellEffects[TOTAL_SPELL_EFFECTS]=
|
||||
{
|
||||
&Spell::EffectNULL, // 0
|
||||
@@ -223,7 +222,7 @@ void Spell::EffectNULL(uint32 /*i*/)
|
||||
|
||||
void Spell::EffectUnused(uint32 /*i*/)
|
||||
{
|
||||
// NOT USED BY ANY SPELL OR USELESS OR IMPLEMENTED IN DIFFERENT WAY IN TRINITY
|
||||
// NOT USED BY ANY SPELL OR USELESS OR IMPLEMENTED IN DIFFERENT WAY IN MANGOS
|
||||
}
|
||||
|
||||
void Spell::EffectResurrectNew(uint32 i)
|
||||
|
||||
Reference in New Issue
Block a user