Skip to content

disables

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
sourceTypeintunsignedPRINO
entryintunsignedPRINO
flagssmallintsignedNO
params_0varchar(255)NO''
params_1varchar(255)NO''
commentvarchar(255)NO''
 

Description of fields ​

sourceType ​

ValueType
0DISABLE_TYPE_SPELL
1DISABLE_TYPE_QUEST
2DISABLE_TYPE_MAP
3DISABLE_TYPE_BATTLEGROUND
4DISABLE_TYPE_ACHIEVEMENT_CRITERIA
5DISABLE_TYPE_OUTDOORPVP
6DISABLE_TYPE_VMAP
7DISABLE_TYPE_MMAP
8DISABLE_TYPE_LFG_MAP
9DISABLE_TYPE_PHASE_AREA
 

entry ​

Entry of Spell/Quest/Map/BG/Achievement/Map.  

flags ​

flags are dependent on sourceType!

Linux ​

DISABLE_TYPE_SPELL ​

Specifies who the spell is disabled for.

ValueType
0Spell enabled
1Spell disabled for players
2Spell disabled for creatures
4Spell disabled for pets
8Spell completely disabled (used for no logner existing spells in DBCs)
16Spell disabled for MapId
32Spell disabled for AreaId
64Line of Sight (LOS) is disabled for this spell (replaces "vmap.ignoreSpellIds" config option)
128Spell disabled for game objects
256Spell disabled in arena
512Spell disabled in battlegrounds

DISABLE_TYPE_MAP ​

Specifies what type of map is disabled (5man/10man/heroic/etc).

ValueType
1DUNGEON_STATUSFLAG_NORMAL OR RAID_STATUSFLAG_10MAN_NORMAL
2DUNGEON_STATUSFLAG_HEROIC OR RAID_STATUSFLAG_25MAN_NORMAL
4RAID_STATUSFLAG_10MAN_HEROIC
8RAID_STATUSFLAG_25MAN_HEROIC

DISABLE_TYPE_VMAP ​

Specifies on which map should be vMap disabled

ValueType
1VMAP_DISABLE_AREAFLAG
2VMAP_DISABLE_HEIGHT
4VMAP_DISABLE_LOS
8VMAP_LIQUIDSTATUS

DISABLE_TYPE_* ​

Not DISABLE_TYPE_SPELL, DISABLE_TYPE_MAP, DISABLE_TYPE_VMAP

No flags needed just add the entry to the table with `flags`=0.

params_0 ​

MapId if DISABLE_TYPE_SPELL used, 0 for all maps.  

params_1 ​

AreaId if DISABLE_TYPE_SPELL used, 0 for all areas.  

comment ​

A comment as to why the something was disabled, or any other text that you want.