mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9859] Add dummy effect of spell 51964
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
884e4f8ecc
commit
8c81f0d058
2 changed files with 12 additions and 1 deletions
|
|
@ -1526,6 +1526,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
((Creature*)unitTarget)->ForcedDespawn();
|
||||
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
|
||||
{
|
||||
switch(eff_idx)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9858"
|
||||
#define REVISION_NR "9859"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue