mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11277] Add dummy effect of spell 48046
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
678cfcea78
commit
96183f8e3f
2 changed files with 13 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue