Add waypoints for Justin, Brandon & Roman.

They are also supposed to be holding fishing poles, but their models don't seem to support it in 1.12?
This commit is contained in:
ratkosrb
2019-08-17 00:08:25 +03:00
parent f6aabbc9d9
commit 05b0500da1
9 changed files with 238 additions and 0 deletions
+11
View File
@@ -29,6 +29,7 @@
#include "ScriptLoader.h"
#include "Conditions.h"
#include "GameEventMgr.h"
#include "CreatureGroups.h"
typedef std::vector<Script*> ScriptVector;
int num_sc_scripts;
@@ -1195,6 +1196,16 @@ void ScriptMgr::LoadScripts(ScriptMapMap& scripts, const char* tablename)
}
break;
}
case SCRIPT_COMMAND_JOIN_CREATURE_GROUP:
{
if (tmp.joinCreatureGroup.options & ~ALL_CREATURE_GROUP_OPTIONS)
{
sLog.outErrorDb("Table `%s` using unknown option in datalong (%u) in SCRIPT_COMMAND_JOIN_CREATURE_GROUP for script id %u",
tablename, tmp.joinCreatureGroup.options, tmp.id);
continue;
}
break;
}
}
if (scripts.find(tmp.id) == scripts.end())