[svn] Implement a new table (spell_disabled) to allow disabling some spells for players and / or creatures. To disable a spell for a players and pets, set 2^0 in the disable_mask, to disable for creatures, set 2^1. The comment field is optional. Original patch provided by Craker.
--HG-- branch : trunk
This commit is contained in:
@@ -227,6 +227,12 @@ enum SpellFamilyNames
|
||||
SPELLFAMILY_POTION = 13
|
||||
};
|
||||
|
||||
enum SpellDisableTypes
|
||||
{
|
||||
SPELL_DISABLE_PLAYER = 1,
|
||||
SPELL_DISABLE_CREATURE = 2
|
||||
};
|
||||
|
||||
//Some SpellFamilyFlags
|
||||
#define SPELLFAMILYFLAG_ROGUE_VANISH 0x000000800LL
|
||||
#define SPELLFAMILYFLAG_ROGUE_STEALTH 0x000400000LL
|
||||
|
||||
Reference in New Issue
Block a user