Template/Update (Part 25)

* convert dbtype 'spell'
 * point spell effects on detail page to spells filter
This commit is contained in:
Sarjuuk
2025-08-11 18:25:53 +02:00
parent 3ba0cc4ade
commit e6980ce220
14 changed files with 973 additions and 863 deletions

View File

@@ -332,9 +332,9 @@ CLISetup::registerSetup("sql", new class extends SetupScript
default:
for ($i = -count(Game::$skillLineMask); $i < 0; $i++)
{
foreach (Game::$skillLineMask[$i] as $k => $pair)
foreach (Game::$skillLineMask[$i] as $k => [, $skillLineId])
{
if (in_array($pair[1], $lines))
if (in_array($skillLineId, $lines))
{
$update['skillLine1'] = $i;
$update['skillLine2OrMask'] |= 1 << $k;