Merge pull request #6491

Core/Spells: convert some spell effects to SpellScripts
Closes #6491
This commit is contained in:
QAston committed 2012-06-14 19:12:03 +02:00
commit e53b44b6ba
30 files changed
+1967 -991

No files matched your search

+2 -2
View File
@@ -738,14 +738,14 @@ class spell_dk_death_coil : public SpellScriptLoader
{
PrepareSpellScript(spell_dk_death_coil_SpellScript);
bool Validate(SpellInfo const* /*SpellEntry*/)
bool Validate(SpellInfo const* /*spell*/)
{
if (!sSpellMgr->GetSpellInfo(SPELL_DEATH_COIL_DAMAGE) || !sSpellMgr->GetSpellInfo(SPELL_DEATH_COIL_HEAL))
return false;
return true;
}
void HandleDummy(SpellEffIndex /* effIndex */)
void HandleDummy(SpellEffIndex /*effIndex*/)
{
int32 damage = GetEffectValue();
Unit* caster = GetCaster();