more updates

This commit is contained in:
joschiwald committed 2012-06-03 02:35:00 +02:00
1 parent 1bfd6605af
commit 7e454b26ac
15 files changed
+882 -544

No files matched your search

-11
View File
@@ -730,17 +730,6 @@ class spell_dk_death_coil : public SpellScriptLoader
return true;
}
SpellCastResult CheckCast()
{
Unit* caster = GetCaster();
if (Unit* target = GetExplTargetUnit())
{
if (target->IsFriendlyTo(caster) && target->GetCreatureType() != CREATURE_TYPE_UNDEAD)
return SPELL_FAILED_BAD_TARGETS;
}
return SPELL_CAST_OK;
}
void HandleDummy(SpellEffIndex /*effIndex*/)
{
int32 damage = GetEffectValue();