From 74f68c8a6949e5ca39598d91b9bf1419a9c4b5da Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Thu, 19 Nov 2015 19:46:50 +0100 Subject: [PATCH] Setup/TalentCalc * renamed file generator function to avoid naming conflict with sql generator function --- setup/tools/fileGen.class.php | 2 +- setup/tools/filegen/{talents.func.php => talentCalc.func.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename setup/tools/filegen/{talents.func.php => talentCalc.func.php} (99%) diff --git a/setup/tools/fileGen.class.php b/setup/tools/fileGen.class.php index 01a80814..a10a5abd 100644 --- a/setup/tools/fileGen.class.php +++ b/setup/tools/fileGen.class.php @@ -40,7 +40,7 @@ class FileGen 'statistics' => [null, ['player_levelstats', 'player_classlevelstats']], 'simpleImg' => [null, null], 'complexImg' => [null, null], - 'talents' => [null, null], + 'talentCalc' => [null, null], 'pets' => [['spawns', 'creature'], null], 'talentIcons' => [null, null], 'glyphs' => [['items', 'spell'], null], diff --git a/setup/tools/filegen/talents.func.php b/setup/tools/filegen/talentCalc.func.php similarity index 99% rename from setup/tools/filegen/talents.func.php rename to setup/tools/filegen/talentCalc.func.php index 7ce062a2..960cf051 100644 --- a/setup/tools/filegen/talents.func.php +++ b/setup/tools/filegen/talentCalc.func.php @@ -28,7 +28,7 @@ if (!CLI) // this script requires the following dbc-files to be available $reqDBC = ['talenttab', 'talent', 'spell', 'creaturefamily', 'spellicon']; - function talents() + function talentCalc() { $success = true; $buildTree = function ($class) use (&$petFamIcons, &$tSpells)