[11341] Add dummy effect of spell 32146

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-04-13 00:28:17 +02:00
parent 6f74cf8994
commit ece78f44fa
2 changed files with 10 additions and 1 deletions

View file

@ -1192,6 +1192,15 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
return;
}
case 32146: // Liquid Fire
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
return;
((Player*)m_caster)->KilledMonsterCredit(unitTarget->GetEntry(), unitTarget->GetObjectGuid());
((Creature*)unitTarget)->ForcedDespawn();
return;
}
case 33060: // Make a Wish
{
if (m_caster->GetTypeId()!=TYPEID_PLAYER)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11340"
#define REVISION_NR "11341"
#endif // __REVISION_NR_H__