Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler

Port From (https://github.com/TrinityCore/TrinityCore/commit/3dd75a49b190098010803014072c0c8bee2996bd)
This commit is contained in:
hondacrx
2021-08-30 15:55:48 -04:00
parent 6e9451082d
commit 02f1211445
6 changed files with 187 additions and 191 deletions
+1 -1
View File
@@ -4017,7 +4017,7 @@ namespace Game.Entities
public delegate void AuraEffectHandler(AuraEffect effect, AuraApplication aurApp, AuraEffectHandleModes mode, bool apply);
Dictionary<AuraType, AuraEffectHandler> AuraEffectHandlers = new();
public delegate void SpellEffectHandler(Spell spell, uint effectIndex);
public delegate void SpellEffectHandler(Spell spell);
Dictionary<SpellEffectName, SpellEffectHandler> SpellEffectsHandlers = new();
public MultiMap<uint, uint> PetFamilySpellsStorage = new();