Core/Auras: Move code which uses polymorphism out of Aura constructor.
This commit is contained in:
@@ -448,7 +448,7 @@ class AuraScript : public _SpellScript
|
||||
|
||||
// executed when periodic aura effect ticks on target
|
||||
// example: OnEffectPeriodic += AuraEffectPeriodicFn(class::function, EffectIndexSpecifier, EffectAuraNameSpecifier);
|
||||
// where function is: void function (AuraEffect const * aurEff, AuraEffectHandleModes mode);
|
||||
// where function is: void function (AuraEffect const * aurEff);
|
||||
HookList<EffectPeriodicHandler> OnEffectPeriodic;
|
||||
#define AuraEffectPeriodicFn(F, I, N) EffectPeriodicHandlerFunction(&F, I, N)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user