[svn] Fix spell 45072: should only affect demons.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-10-19 14:47:43 -05:00
parent 672d304a44
commit ed0803ecf2

View File

@@ -339,6 +339,13 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
damage = 200;
break;
}
// must only affect demons
case 45072:
{
if(unitTarget->GetCreatureType() != CREATURE_TYPE_DEMON)
return;
break;
}
}
break;
}