mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[9441] Add dummy effect of spell 50133/43882
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
6295275529
commit
b56a088d6d
2 changed files with 26 additions and 1 deletions
|
|
@ -1155,6 +1155,15 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
case 43882: // Scourging Crystal Controller Dummy
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||||
|
return;
|
||||||
|
|
||||||
|
// see spell dummy 50133
|
||||||
|
unitTarget->RemoveAurasDueToSpell(43874);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 44875: // Complete Raptor Capture
|
case 44875: // Complete Raptor Capture
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||||
|
|
@ -1307,6 +1316,22 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 50133: // Scourging Crystal Controller
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (unitTarget->HasAura(43874))
|
||||||
|
{
|
||||||
|
// someone else is already channeling target
|
||||||
|
if (unitTarget->HasAura(43878))
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, 43878, true, m_CastItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 50243: // Teach Language
|
case 50243: // Teach Language
|
||||||
{
|
{
|
||||||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9440"
|
#define REVISION_NR "9441"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue