[9859] Add dummy effect of spell 51964

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-05-10 19:56:16 +02:00
parent 884e4f8ecc
commit 8c81f0d058
2 changed files with 12 additions and 1 deletions

View file

@ -1526,6 +1526,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
((Creature*)unitTarget)->ForcedDespawn(); ((Creature*)unitTarget)->ForcedDespawn();
return; return;
} }
case 51964: // Tormentor's Incense
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
return;
// This might not be the best way, and effect may need some adjustment. Removal of any aura from surrounding dummy creatures?
if (((Creature*)unitTarget)->AI())
((Creature*)unitTarget)->AI()->AttackStart(m_caster);
return;
}
case 52308: // Take Sputum Sample case 52308: // Take Sputum Sample
{ {
switch(eff_idx) switch(eff_idx)

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 "9858" #define REVISION_NR "9859"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__