Core/Spells: Added additional validation to loading spell_linked_spell to prevent infinite loops
Port From (https://github.com/TrinityCore/TrinityCore/commit/badb55bfd97c16fecfb8cd73ba99e39ecb6b622d)
This commit is contained in:
@@ -39,10 +39,10 @@ namespace Framework.Constants
|
||||
|
||||
public enum SpellLinkedType
|
||||
{
|
||||
Cast = 0, // +: cast; -: remove
|
||||
Hit = 1 * 200000,
|
||||
Aura = 2 * 200000, // +: aura; -: immune
|
||||
Remove = 0
|
||||
Cast = 0, // +: cast; -: remove
|
||||
Hit = 1,
|
||||
Aura = 2, // +: aura; -: immune
|
||||
Remove = 3
|
||||
}
|
||||
|
||||
//Spell targets used by SelectSpell
|
||||
|
||||
Reference in New Issue
Block a user