Core/Auras: Move code which uses polymorphism out of Aura constructor.

This commit is contained in:
QAston
2011-02-06 13:17:29 +01:00
parent 1d36febab2
commit b5e78bf208
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -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)