[svn] Remove a hack on triggered spell target selection.

Some minor fixes.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2008-11-04 10:33:02 -06:00
1 parent fc9a14a6cf
commit b53ab74b50
3 files changed
+5 -5

No files matched your search

+3 -2
View File
@@ -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);*/
}
/*********************************************************/