mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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;
|
||||
}
|
||||
*/
|
||||
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
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||
|
|
@ -1307,6 +1316,22 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
}
|
||||
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
|
||||
{
|
||||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue