mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
[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
This commit is contained in:
@@ -1109,6 +1109,9 @@ void World::SetInitialWorldSettings()
|
||||
sLog.outString( "Loading Player Corpses..." );
|
||||
objmgr.LoadCorpses();
|
||||
|
||||
sLog.outString( "Loading Disabled Spells..." );
|
||||
objmgr.LoadSpellDisabledEntrys();
|
||||
|
||||
sLog.outString( "Loading Loot Tables..." );
|
||||
LoadLootTables();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user