mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[10934] Implement dummy effect of spell 7671.
Thanks to X-Savior for reserch.
This commit is contained in:
parent
26370b8df7
commit
918e646ca2
2 changed files with 10 additions and 1 deletions
|
|
@ -763,6 +763,15 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
{
|
{
|
||||||
switch(m_spellInfo->Id)
|
switch(m_spellInfo->Id)
|
||||||
{
|
{
|
||||||
|
case 7671: // Transformation (human<->worgen)
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
// Transform Visual
|
||||||
|
unitTarget->CastSpell(unitTarget, 24085, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 8063: // Deviate Fish
|
case 8063: // Deviate Fish
|
||||||
{
|
{
|
||||||
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 "10933"
|
#define REVISION_NR "10934"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue