Core/Entities: Fix a minor disrepancy in the handling of weapon specializations introduced in revision a83f26ef71 - patch by Dr.Tenma

Fixes issue 5059.
Fixes issue 5265.

--HG--
branch : trunk
This commit is contained in:
click
2010-12-25 04:03:04 +01:00
parent d587948a0f
commit 088ed9404b
5 changed files with 51 additions and 26 deletions
@@ -459,7 +459,7 @@ enum SpellAttr5
SPELL_ATTR5_UNK13 = 0x00002000, // 13
SPELL_ATTR5_UNK14 = 0x00004000, // 14
SPELL_ATTR5_UNK15 = 0x00008000, // 15
SPELL_ATTR5_UNK16 = 0x00010000, // 16
SPELL_ATTR5_SPECIAL_ITEM_CLASS_CHECK = 0x00010000, // 16 this allows spells with EquippedItemClass to affect spells from other items if the required item is equipped
SPELL_ATTR5_USABLE_WHILE_FEARED = 0x00020000, // 17 usable while feared
SPELL_ATTR5_USABLE_WHILE_CONFUSED = 0x00040000, // 18 usable while confused
SPELL_ATTR5_UNK19 = 0x00080000, // 19