Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

This table is used to disable dungeons/bgs/spells/etc.

Panel

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

sourceType

int(10)

unsigned

PRI

NO

NULL

 

 



entry

int(10)

unsigned

PRI

NO

NULL

 

 



flags

tinyint(3)

unsigned

 


NO

0

 

 



params_0

varchar(255)

 

 



NO

"

 

 



params_1

varchar(255)

 

 



NO

"

 

 



comment

varchar(255)

 

 



NO

"

 

 



Panel

Description of the fields

sourceType

Value

Type

0

DISABLE_TYPE_SPELL

1

DISABLE_TYPE_QUEST

2

DISABLE_TYPE_MAP

3

DISABLE_TYPE_BATTLEGROUND

4

DISABLE_TYPE_ACHIEVEMENT_CRITERIA

5

DISABLE_TYPE_OUTDOORPVP

6

DISABLE_TYPE_VMAP

7

DISABLE_TYPE_MMAP

8DISABLE_TYPE_LFG_MAP

entry

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

...

If sourceType = DISABLE_TYPE_SPELL: Specifies who the spell is disabled for.

Value

Type

0

Spell enabled

1

Spell disabled for players

2

Spell disabled for creatures

4

Spell disabled for pets

8

Spell completely disabled (used for no logner existing spells in DBCs)

16

Spell disabled for MapId

32

Spell disabled for AreaId

64

Line of Sight (LOS) is disabled for this spell (replaces "vmap.ignoreSpellIds" config option)

Example: INSERT INTO `disables` VALUES (0, 8921, (1+16+32), "571,1", "1519", "Moonfire Example");

...

Panel

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

Value

Type

1

DUNGEON_STATUSFLAG_NORMAL OR RAID_STATUSFLAG_10MAN_NORMAL

2

DUNGEON_STATUSFLAG_HEROIC OR RAID_STATUSFLAG_25MAN_NORMAL

4

RAID_STATUSFLAG_10MAN_HEROIC

8

RAID_STATUSFLAG_25MAN_HEROIC

The value is a bitmask of VALID modes for the specific map, 15 is as such NOT a valid mask on certain maps, only those actually found possible for the respective map.

...

Panel

Specifies on which map should be vMap disabled

Value

Type

1

VMAP_DISABLE_AREAFLAG

2

VMAP_DISABLE_HEIGHT

4

VMAP_DISABLE_LOS

8

VMAP_LIQUIDSTATUS

Example: INSERT INTO `disables` VALUES (6, 1, (2 + 4), 0, 0, "Disable Kalimdor vMaps");

...