[9956] Spell 45524 expected apply debuf 55095 to target at cast.

This commit is contained in:
VladimirMangos 2010-05-22 16:18:29 +04:00
parent de454d6ff8
commit 94f7a7709d
3 changed files with 10 additions and 2 deletions

View file

@ -6460,6 +6460,14 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
// second part of spell apply
switch (GetId())
{
case 45524: // Chains of Ice
{
if (apply)
spellId1 = 55095; // Frost Fever
else
return;
break;
}
case 49039: spellId1 = 50397; break; // Lichborne
case 48263: // Frost Presence

View file

@ -2421,7 +2421,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
{
if (m_caster->IsFriendlyTo(unitTarget))
{
if (unitTarget->GetCreatureType() != CREATURE_TYPE_UNDEAD)
if (!unitTarget || unitTarget->GetCreatureType() != CREATURE_TYPE_UNDEAD)
return;
int32 bp = int32(damage * 1.5f);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9955"
#define REVISION_NR "9956"
#endif // __REVISION_NR_H__