*Add base scripting interfce for spells - thanks to Brian for help in making it compile with GCC.

*Add hook for handling spell effects in new scripting system.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-07-24 22:41:42 +02:00
parent 687cd83bdd
commit 2352fc7cdf
30 changed files with 1253 additions and 14 deletions
+6
View File
@@ -1616,9 +1616,15 @@ void World::SetInitialWorldSettings()
sLog.outString("Loading CreatureEventAI Scripts...");
CreatureEAI_Mgr.LoadCreatureEventAI_Scripts();
sLog.outString("Loading spell script names...");
objmgr.LoadSpellScriptNames();
sLog.outString("Initializing Scripts...");
sScriptMgr.ScriptsInit();
sLog.outString("Validating spell scripts...");
objmgr.ValidateSpellScripts();
///- Initialize game time and timers
sLog.outDebug("DEBUG:: Initialize game time and timers");
m_gameTime = time(NULL);