Implement Meeting Stone functionality. (#798)

* Initial core implementation.

* Add script command to join queue.

* Add gossip option to innkeepers.

* Add patch support to gameobject spawns.
This commit is contained in:
brotalnia
2017-11-29 03:52:03 +02:00
committed by GitHub
parent 9f5f3aca34
commit 583b07d7b9
20 changed files with 1498 additions and 43 deletions
+9
View File
@@ -660,6 +660,15 @@ void ScriptMgr::LoadScripts(ScriptMapMap& scripts, const char* tablename)
}
break;
}
case SCRIPT_COMMAND_MEETINGSTONE:
{
if (!sAreaStorage.LookupEntry<AreaEntry>(tmp.meetingstone.areaId))
{
sLog.outErrorDb("Table `%s` has datalong = %u in SCRIPT_COMMAND_MEETINGSTONE for script id %u, but there is no area with this Id.", tablename, tmp.meetingstone.areaId, tmp.id);
continue;
}
break;
}
}
if (scripts.find(tmp.id) == scripts.end())