-
Notifications
You must be signed in to change notification settings - Fork 48
worldstate_name
killerwife edited this page May 29, 2022
·
7 revisions
Back to world database list of tables.
holds data on worldstate variables used for conditions
.CONDITION_WORLDSTATE
(42) or dbscripts
.SCRIPT_COMMAND_SET_WORLDSTATE
(53)
Field | Type | Null | Key | Default | Extra |
---|---|---|---|---|---|
Id | int(11) | NO | PRIMARY KEY | NULL | Worldstate variable Id |
Name | VARCHAR(200) | NO | NULL | Name and use of variable |
Worldstate variable Id. Can be either official or custom defined in cMaNGOS. Officially discovered ones are in src/Game/World/WorldStateDefines.h
Name and use of variable. Example: ZA - first 4 bosses dead - spawn Malacrass
Mainly a bookkeeping table for naming and documenting uses. As we are introducing custom ones, we dont want to have undecipherable magic numbers.