mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11421] Minor adjustment of spell dummy effect for 46797
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
5ae833022e
commit
73985bca70
2 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11420"
|
||||
#define REVISION_NR "11421"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue