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:
QAston
2011-07-04 23:14:20 +02:00
parent 3bf7035fe1
commit 0bc23239d8
3 changed files with 65 additions and 47 deletions
+2
View File
@@ -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,
};