diff options
author | w12x <none@none> | 2008-10-21 03:58:38 -0500 |
---|---|---|
committer | w12x <none@none> | 2008-10-21 03:58:38 -0500 |
commit | 5e1c19e4d9b6e2deb247e6ce6b25ea132b8118d4 (patch) | |
tree | 57a6e1b306028999076e3e80bb52cadbc4af24e1 /src/game/Chat.cpp | |
parent | 23ff96ded9d418402b78832fd0555c781942eb5b (diff) |
[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 2^0 in the disable_mask, to disable for creatures, set 2^1. The comment field is optional. Original patch provided by Craker.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Chat.cpp')
-rw-r--r-- | src/game/Chat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index ff16e2d6e18..efaf19e442c 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -197,6 +197,7 @@ ChatCommand * ChatHandler::getCommandTable() { "spell_scripts", SEC_ADMINISTRATOR, &ChatHandler::HandleReloadSpellScriptsCommand, "", NULL }, { "spell_target_position", SEC_ADMINISTRATOR, &ChatHandler::HandleReloadSpellTargetPositionCommand, "", NULL }, { "spell_threats", SEC_ADMINISTRATOR, &ChatHandler::HandleReloadSpellThreatsCommand, "", NULL }, + { "spell_disabled", SEC_ADMINISTRATOR, &ChatHandler::HandleReloadSpellDisabledCommand, "", NULL }, { "locales_creature", SEC_ADMINISTRATOR, &ChatHandler::HandleReloadLocalesCreatureCommand, "", NULL }, { "locales_gameobject", SEC_ADMINISTRATOR, &ChatHandler::HandleReloadLocalesGameobjectCommand, "", NULL }, { "locales_item", SEC_ADMINISTRATOR, &ChatHandler::HandleReloadLocalesItemCommand, "", NULL }, |