[11277] Add dummy effect of spell 48046

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-03-22 12:31:43 +01:00
parent 678cfcea78
commit 96183f8e3f
2 changed files with 13 additions and 1 deletions

View file

@ -1633,6 +1633,18 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
return; return;
} }
case 48046: // Use Camera
{
if (!unitTarget)
return;
// No despawn expected, nor any change in dynamic flags/other flags.
// Need internal way to track if credit has been given for this object.
// Iron Dwarf Snapshot Credit
m_caster->CastSpell(m_caster, 48047, true, m_CastItem, NULL, unitTarget->GetObjectGuid());
return;
}
case 49357: // Brewfest Mount Transformation case 49357: // Brewfest Mount Transformation
{ {
if (m_caster->GetTypeId() != TYPEID_PLAYER) if (m_caster->GetTypeId() != TYPEID_PLAYER)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11276" #define REVISION_NR "11277"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__