mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9956] Spell 45524 expected apply debuf 55095 to target at cast.
This commit is contained in:
parent
de454d6ff8
commit
94f7a7709d
3 changed files with 10 additions and 2 deletions
|
|
@ -6460,6 +6460,14 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
|
||||||
// second part of spell apply
|
// second part of spell apply
|
||||||
switch (GetId())
|
switch (GetId())
|
||||||
{
|
{
|
||||||
|
case 45524: // Chains of Ice
|
||||||
|
{
|
||||||
|
if (apply)
|
||||||
|
spellId1 = 55095; // Frost Fever
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 49039: spellId1 = 50397; break; // Lichborne
|
case 49039: spellId1 = 50397; break; // Lichborne
|
||||||
|
|
||||||
case 48263: // Frost Presence
|
case 48263: // Frost Presence
|
||||||
|
|
|
||||||
|
|
@ -2421,7 +2421,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
{
|
{
|
||||||
if (m_caster->IsFriendlyTo(unitTarget))
|
if (m_caster->IsFriendlyTo(unitTarget))
|
||||||
{
|
{
|
||||||
if (unitTarget->GetCreatureType() != CREATURE_TYPE_UNDEAD)
|
if (!unitTarget || unitTarget->GetCreatureType() != CREATURE_TYPE_UNDEAD)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int32 bp = int32(damage * 1.5f);
|
int32 bp = int32(damage * 1.5f);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9955"
|
#define REVISION_NR "9956"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue