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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user