Setup/Source:

* fixup
This commit is contained in:
Sarjuuk
2015-08-29 13:42:27 +02:00
parent cb1916c484
commit 645894fdbf
2 changed files with 1 additions and 1 deletions

BIN
README.md

Binary file not shown.

View File

@@ -1156,7 +1156,7 @@ function source(array $ids = [])
*/
$pcis = DB::World()->selectCol('SELECT DISTINCT skill FROM playercreateinfo_skills');
$subSkills = DB::Aowow()->subquery('SELECT ?d, spellId, 1, NULL AS m, NULL AS mt FROM dbc_skilllineability WHERE {(skillLineId IN (?a) AND acquireMethod = 2) OR} (acquireMethod = 1 AND (reqSkillLevel = 1 OR skillLineId = 129)) GROUP BY spellId', $pcis ?: DBSIMPLE_SKIP, TYPE_SPELL);
$subSkills = DB::Aowow()->subquery('SELECT ?d, spellId, 1, NULL AS m, NULL AS mt FROM dbc_skilllineability WHERE {(skillLineId IN (?a) AND acquireMethod = 2) OR} (acquireMethod = 1 AND (reqSkillLevel = 1 OR skillLineId = 129)) GROUP BY spellId', TYPE_SPELL, $pcis ?: DBSIMPLE_SKIP);
DB::Aowow()->query($insSub, 10, $subSkills, 10, 10);