DB: fixed all remaining non-loot and non-scriptname related startup errors
This commit is contained in:
1 parent
61a9138aba
commit
8d254a5300
2 files changed
+30
No files matched your search
@@ -66,7 +66,23 @@ class spell_voodoo : public SpellScriptLoader
|
||||
}
|
||||
};
|
||||
|
||||
class spell_zuni_lvl_1_trigger_aura : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_zuni_lvl_1_trigger_aura);
|
||||
|
||||
void HandleDummy(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
GetCaster()->CastSpell(GetCaster(), GetSpellInfo()->Effects[EFFECT_0].BasePoints, true);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
{
|
||||
OnEffectHitTarget += SpellEffectFn(spell_zuni_lvl_1_trigger_aura::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
|
||||
}
|
||||
};
|
||||
|
||||
void AddSC_durotar()
|
||||
{
|
||||
new spell_voodoo();
|
||||
RegisterSpellScript(spell_zuni_lvl_1_trigger_aura);
|
||||
}
|
||||
Reference in new issue
Block a user