[11421] Minor adjustment of spell dummy effect for 46797

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-05-02 18:27:31 +02:00
parent 5ae833022e
commit 73985bca70
2 changed files with 6 additions and 4 deletions

View file

@ -1625,12 +1625,14 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
}
case 46797: // Quest - Borean Tundra - Set Explosives Cart
{
if (!unitTarget)
if (!unitTarget || m_caster->GetTypeId() != TYPEID_PLAYER)
return;
((Player*)m_caster)->KilledMonsterCredit(unitTarget->GetEntry(), unitTarget->GetObjectGuid());
// Quest - Borean Tundra - Summon Explosives Cart
unitTarget->CastSpell(unitTarget,46798,true,m_CastItem,NULL,m_originalCasterGUID);
break;
unitTarget->CastSpell(unitTarget, 46798, true);
return;
}
case 47110: // Summon Drakuru's Image
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11420"
#define REVISION_NR "11421"
#endif // __REVISION_NR_H__