class spell_script : public SpellScriptLoader
{
public:
spell_script() : SpellScriptLoader("spell_script") { }
class spell_script_SpellScript : public SpellScript
{
PrepareSpellScript(spell_script_SpellScript);
void SayAfterCast()
{
GetCaster()->MonsterYell("RAWRWARWA", LANG_UNIVERSAL, 0);
}
void SayOnCast()
{
GetCaster()->MonsterYell("RAWRWAXAWIUD", LANG_UNIVERSAL, 0);
}
void Register()
{
OnCast += SpellCastFn(spell_script_SpellScript::SayOnCast);
AfterCast += SpellCastFn(spell_script_SpellScript::SayAfterCast);
}
};
SpellScript* GetSpellScript() const
{
return new spell_script_SpellScript();
}
};
void AddSC_tutorial_aura()
{
new spell_script;
}