mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[c12613] Fix Claw Rage spells
This commit is contained in:
parent
a7a0dad043
commit
be42c80608
2 changed files with 21 additions and 14 deletions
|
|
@ -2114,6 +2114,12 @@ void Aura::TriggerSpell()
|
|||
caster->CastSpell(triggerTarget, trigger_spell_id, true, NULL, this);
|
||||
return;
|
||||
}
|
||||
case 43149: // Claw Rage
|
||||
{
|
||||
// Need to provide explicit target for trigger spell target combination
|
||||
target->CastSpell(target->getVictim(), trigger_spell_id, true, NULL, this);
|
||||
return;
|
||||
}
|
||||
case 44883: // Encapsulate
|
||||
case 56505: // Surge of Power
|
||||
{
|
||||
|
|
@ -3104,6 +3110,20 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
target->CastSpell(target, 42517, true);
|
||||
return;
|
||||
}
|
||||
case 42583: // Claw Rage
|
||||
case 68987: // Pursuit
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
if (!caster || target->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
if (apply)
|
||||
caster->FixateTarget(target);
|
||||
else if (target->GetObjectGuid() == caster->GetFixateTargetGuid())
|
||||
caster->FixateTarget(NULL);
|
||||
|
||||
return;
|
||||
}
|
||||
case 43874: // Scourge Mur'gul Camp: Force Shield Arcane Purple x3
|
||||
target->ApplyModFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE, apply);
|
||||
if (apply)
|
||||
|
|
@ -3138,19 +3158,6 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
target->PlayDirectSound(14972, (Player*)target);
|
||||
}
|
||||
return;
|
||||
case 68987: // Pursuit
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
if (!caster || target->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
if (apply)
|
||||
caster->FixateTarget(target);
|
||||
else if (target->GetObjectGuid() == caster->GetFixateTargetGuid())
|
||||
caster->FixateTarget(NULL);
|
||||
|
||||
return;
|
||||
}
|
||||
case 27978:
|
||||
case 40131:
|
||||
if (apply)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "12612"
|
||||
#define REVISION_NR "12613"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue