Core/Spells: don't allow spells which hit target only with SPELL_EFFECT_DUMMY to execute spell triggers on that targets, also cleanup related code a bit.
This commit is contained in:
@@ -410,7 +410,7 @@ enum SpellAttr4
|
||||
SPELL_ATTR4_UNK0 = 0x00000001, // 0
|
||||
SPELL_ATTR4_UNK1 = 0x00000002, // 1 proc on finishing move?
|
||||
SPELL_ATTR4_UNK2 = 0x00000004, // 2
|
||||
SPELL_ATTR4_CANT_PROC_FROM_SELFCAST = 0x00000008, // 3
|
||||
SPELL_ATTR4_UNK3 = 0x00000008, // 3
|
||||
SPELL_ATTR4_UNK4 = 0x00000010, // 4 This will no longer cause guards to attack on use??
|
||||
SPELL_ATTR4_UNK5 = 0x00000020, // 5
|
||||
SPELL_ATTR4_NOT_STEALABLE = 0x00000040, // 6 although such auras might be dispellable, they cannot be stolen
|
||||
@@ -423,8 +423,8 @@ enum SpellAttr4
|
||||
SPELL_ATTR4_UNK13 = 0x00002000, // 13
|
||||
SPELL_ATTR4_DAMAGE_DOESNT_BREAK_AURAS = 0x00004000, // 14 doesn't break auras by damage from these spells
|
||||
SPELL_ATTR4_UNK15 = 0x00008000, // 15
|
||||
SPELL_ATTR4_NOT_USABLE_IN_ARENA = 0x00010000, // 16 not usable in arena
|
||||
SPELL_ATTR4_USABLE_IN_ARENA = 0x00020000, // 17 usable in arena
|
||||
SPELL_ATTR4_NOT_USABLE_IN_ARENA = 0x00010000, // 16
|
||||
SPELL_ATTR4_USABLE_IN_ARENA = 0x00020000, // 17
|
||||
SPELL_ATTR4_UNK18 = 0x00040000, // 18
|
||||
SPELL_ATTR4_UNK19 = 0x00080000, // 19
|
||||
SPELL_ATTR4_NOT_CHECK_SELFCAST_POWER = 0x00100000, // 20 supersedes message "More powerful spell applied" for self casts.
|
||||
|
||||
Reference in New Issue
Block a user