mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11872] Fix caster of triggered spell of 44883 - seems to be unique combination
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
4989b48ffd
commit
66167150bd
2 changed files with 7 additions and 1 deletions
|
|
@ -1936,6 +1936,12 @@ void Aura::TriggerSpell()
|
||||||
caster->CastSpell(triggerTarget, trigger_spell_id, true, NULL, this);
|
caster->CastSpell(triggerTarget, trigger_spell_id, true, NULL, this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 44883: // Encapsulate
|
||||||
|
{
|
||||||
|
// Self cast spell, hence overwrite caster (only channeled spell where the triggered spell deals dmg to SELF)
|
||||||
|
triggerCaster = triggerTarget;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 53563: // Beacon of Light
|
case 53563: // Beacon of Light
|
||||||
// original caster must be target (beacon)
|
// original caster must be target (beacon)
|
||||||
target->CastSpell(target, trigger_spell_id, true, NULL, this, target->GetObjectGuid());
|
target->CastSpell(target, trigger_spell_id, true, NULL, this, target->GetObjectGuid());
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11871"
|
#define REVISION_NR "11872"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue