aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/MySQLConnection.h
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-12-04 18:29:14 +0100
committerMachiavelli <none@none>2010-12-04 18:29:14 +0100
commitb9fb7554c5eb88aa982011eeddea331c69efc0a3 (patch)
treef33aeb09b8a8285fd9b5260aeaf194cdb1a61422 /src/server/shared/Database/MySQLConnection.h
parent3240a4ec33f9a0df47b374b055d54e00f0de6a68 (diff)
Core/Disables: Add flags SPELL_DISABLE_MAP and SPELL_DISABLE_AREA for sourceType DISABLE_TYPE_SPELL.
This will allow you to disable spells on certain maps/areas. Note that you must have at least flag SPELL_DISABLE_PLAYER or SPELL_DISABLE_CREATURE or SPELL_DISABLE_PET set too, as they take preference. The parameters for mapIds and areaIds are defined in new columns params_0 and params_1 respectively, in a comma-seperated string. Example: INSERT INTO disables VALUES(0, 8921, (1+16+32), "571,1", "1519", "Moonfire Example"); This will disable spell moonfire for players in maps 571,1 and area 1519. --HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Database/MySQLConnection.h')
0 files changed, 0 insertions, 0 deletions