mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* hide creatures for internal use from listviews * correct Nightelf Player faction * trying to enforce strict line endings
29 lines
502 B
PHP
29 lines
502 B
PHP
<?php
|
|
|
|
if (!defined('AOWOW_REVISION'))
|
|
die('illegal access');
|
|
|
|
if (!CLI)
|
|
die('not in cli mode');
|
|
|
|
|
|
$customData = array(
|
|
);
|
|
$reqDBC = ['spellicon', 'itemdisplayinfo'];
|
|
|
|
function icons()
|
|
{
|
|
$baseQuery = '
|
|
REPLACE INTO
|
|
?_icons
|
|
SELECT Id, LOWER(SUBSTRING_INDEX(iconPath, "\\\\", -1)) FROM dbc_spellicon
|
|
UNION
|
|
SELECT -Id, LOWER(inventoryIcon1) FROM dbc_itemdisplayinfo';
|
|
|
|
DB::Aowow()->query($baseQuery);
|
|
|
|
return true;
|
|
}
|
|
|
|
?>
|