Show
Ignore:
Timestamp:
11/19/08 13:32:53 (17 years ago)
Author:
yumileroy
Message:

[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 20 in the disable_mask, to disable for creatures, set 21. The comment field is optional. Original patch provided by Craker.

Original author: w12x
Date: 2008-10-21 03:58:38-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellMgr.h

    r44 r85  
    228228}; 
    229229 
     230enum SpellDisableTypes 
     231{ 
     232    SPELL_DISABLE_PLAYER = 1, 
     233    SPELL_DISABLE_CREATURE = 2 
     234}; 
     235 
    230236//Some SpellFamilyFlags 
    231237#define SPELLFAMILYFLAG_ROGUE_VANISH            0x000000800LL