mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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;
|
||||
}
|
||||
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)
|
||||
{
|
||||
// selecting one from Bloodstained Fortune item
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue