mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
[11125] Add dummy effect of spell 39189
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
01178b69e5
commit
0d16b0bdc7
2 changed files with 15 additions and 1 deletions
|
|
@ -1232,6 +1232,20 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 39189: // Sha'tari Torch
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
return;
|
||||||
|
|
||||||
|
// Flames
|
||||||
|
if (unitTarget->HasAura(39199))
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->CastSpell(unitTarget, 39199, true);
|
||||||
|
((Player*)m_caster)->KilledMonsterCredit(unitTarget->GetEntry(), unitTarget->GetObjectGuid());
|
||||||
|
((Creature*)unitTarget)->ForcedDespawn(10000);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 40802: // Mingo's Fortune Generator (Mingo's Fortune Giblets)
|
case 40802: // Mingo's Fortune Generator (Mingo's Fortune Giblets)
|
||||||
{
|
{
|
||||||
// selecting one from Bloodstained Fortune item
|
// selecting one from Bloodstained Fortune item
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11124"
|
#define REVISION_NR "11125"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue