Setup/Fixups

- also change function call talents() to talentCalc() for firstrun script
 - filter waypoint_data query for creature_addon with path_id 0 (where did this get lost...)
This commit is contained in:
Sarjuuk
2015-11-22 20:52:16 +01:00
parent 3b32ce6b1f
commit 3eace0680d
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ function firstrun()
['FileGen::generate', 'realms', null, null, null],
['FileGen::generate', 'statistics', null, null, null],
['FileGen::generate', 'simpleImg', null, null, null],
['FileGen::generate', 'talents', null, null, null],
['FileGen::generate', 'talentCalc', null, null, null],
['FileGen::generate', 'pets', null, null, null],
['FileGen::generate', 'talentIcons', null, null, null],
['FileGen::generate', 'glyphs', null, null, null],

View File

@@ -107,7 +107,7 @@ function spawns() // and waypoints
' - assembling waypoints from '.CLISetup::bold('waypoints')];
$query[5] = ['SELECT c.guid, -w.id AS "npcOrPath", w.point, c.zoneId AS areaId, c.map, w.delay AS "wait", w.position_y AS `posX`, w.position_x AS `posY` ' .
'FROM creature c JOIN creature_addon ca ON ca.guid = c.guid JOIN waypoint_data w ON w.id = ca.path_id',
'FROM creature c JOIN creature_addon ca ON ca.guid = c.guid JOIN waypoint_data w ON w.id = ca.path_id WHERE ca.path_id <> 0',
' - assembling waypoints from '.CLISetup::bold('waypoint_data')];
$queryPost = 'SELECT dm.Id, wma.areaId, IFNULL(dm.floor, 0) AS floor, ' .