Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class spell_trophy_collector : public AuraScript
- {
- PrepareAuraScript(spell_trophy_collector);
- void OnProc(AuraEffect const* /*auraEffect*/, ProcEventInfo& eventInfo)
- {
- PreventDefaultAction();
- if (eventInfo.GetSpellInfo()->Id == 100776)
- return;
- }
- void Register() override
- {
- OnEffectProc += AuraEffectProcFn(spell_trophy_collector::OnProc, EFFECT_0, SPELL_AURA_PROC_TRIGGER_SPELL);
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement