New Progression System (#2954)

* Implement new progression system. (#2118)

* Implement new progression system.

* Add progression support to battleground_template table.

* Assign patch to areatriggers.

* Print current patch on startup.

* BG player requirements are per team.

* Revert last change. Thanks WobLight.

* Fix .npc add command.

* Now actually fix .npc add.

* Assign patches to game events.

* Items can be forbidden both after and before a patch.

* Extend quest tables support.

* Rename migration so its last.

* Merge changes into 1 migration.

* Add old BG rewards.

* Battlemasters, Equipment Errors, Item Conditions.

* Warbringers and Brigadier Generals added in 1.8.
This commit is contained in:
brotalnia
2017-10-02 20:34:08 +03:00
committed by GitHub
parent fb972a6fb3
commit 7bbf047e5a
17 changed files with 13426 additions and 86 deletions
+2 -2
View File
@@ -687,7 +687,7 @@ void ScriptMgr::LoadQuestEndScripts()
// check ids
for (ScriptMapMap::const_iterator itr = sQuestEndScripts.begin(); itr != sQuestEndScripts.end(); ++itr)
{
if (!sObjectMgr.GetQuestTemplate(itr->first))
if (!sObjectMgr.GetQuestTemplate(itr->first) && (sWorld.GetWowPatch()==WOW_PATCH_112))
sLog.outErrorDb("Table `quest_end_scripts` has not existing quest (Id: %u) as script id", itr->first);
}
}
@@ -699,7 +699,7 @@ void ScriptMgr::LoadQuestStartScripts()
// check ids
for (ScriptMapMap::const_iterator itr = sQuestStartScripts.begin(); itr != sQuestStartScripts.end(); ++itr)
{
if (!sObjectMgr.GetQuestTemplate(itr->first))
if (!sObjectMgr.GetQuestTemplate(itr->first) && (sWorld.GetWowPatch() == WOW_PATCH_112))
sLog.outErrorDb("Table `quest_start_scripts` has not existing quest (Id: %u) as script id", itr->first);
}
}