From 645894fdbf340fac79f2e70c2bf85e6776cfb548 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Sat, 29 Aug 2015 13:42:27 +0200 Subject: [PATCH] Setup/Source: * fixup --- README.md | Bin 9330 -> 9282 bytes setup/tools/sqlgen/source.func.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 95b789945b95a42b1c38724472eac7b594dedd45..d553041c09719f8c89a45f10a6bb6db7fe969fc2 100644 GIT binary patch delta 68 zcmez5amZtWm}xOX2}2?fXEG!+=mW`IATOOEm7y5O%VEd|vh%_03?Q8g6xU-YV91;7 L$SA&X(gS4xODhnz delta 116 zcmX@)@yTO?SZW4C2@n=ASTX1WVL2EYG8i)G0mU*Ik{NUvN`b5#hJ1!Zh7_P^3PUPT yoe_gMkZr(V1|$s`Oo1Y$KoJWdG-Ie>Fk#35>a}F31kxaL@+J#1if>GMpbP*~78W=F diff --git a/setup/tools/sqlgen/source.func.php b/setup/tools/sqlgen/source.func.php index ae439cc8..36726f12 100644 --- a/setup/tools/sqlgen/source.func.php +++ b/setup/tools/sqlgen/source.func.php @@ -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);