Core/Spells: Remove some incorrect spell attribute checks and add custom attributes instead - it's better to know that there is no attribute for something than to pretend there's one and do ridiculous checks.
This commit is contained in:
@@ -1024,6 +1024,8 @@ enum SpellCustomAttributes
|
||||
SPELL_ATTR0_CU_NEGATIVE_EFF1 = 0x00020000,
|
||||
SPELL_ATTR0_CU_NEGATIVE_EFF2 = 0x00040000,
|
||||
SPELL_ATTR0_CU_IGNORE_ARMOR = 0x00080000,
|
||||
SPELL_ATTR0_CU_REQ_TAGRET_FACING_CASTER = 0x00100000,
|
||||
SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET = 0x00200000,
|
||||
|
||||
SPELL_ATTR0_CU_NEGATIVE = SPELL_ATTR0_CU_NEGATIVE_EFF0 | SPELL_ATTR0_CU_NEGATIVE_EFF1 | SPELL_ATTR0_CU_NEGATIVE_EFF2,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user