mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/Creatures
* hide creatures for internal use from listviews * correct Nightelf Player faction * trying to enforce strict line endings
This commit is contained in:
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
*.php text eol=lf
|
||||||
|
*.js text eol=lf
|
||||||
|
*.css text eol=lf
|
||||||
|
|
||||||
@@ -149,6 +149,9 @@ function creature(array $ids = [])
|
|||||||
// apply cuFlag: excludeFromListview [for trigger-creatures]
|
// apply cuFlag: excludeFromListview [for trigger-creatures]
|
||||||
DB::Aowow()->query('UPDATE ?_creature SET cuFlags = cuFlags | ?d WHERE flagsExtra & ?d', CUSTOM_EXCLUDE_FOR_LISTVIEW, 0x80);
|
DB::Aowow()->query('UPDATE ?_creature SET cuFlags = cuFlags | ?d WHERE flagsExtra & ?d', CUSTOM_EXCLUDE_FOR_LISTVIEW, 0x80);
|
||||||
|
|
||||||
|
// apply cuFlag: exCludeFromListview [for nameparts indicating internal usage]
|
||||||
|
DB::Aowow()->query('UPDATE ?_creature SET cuFlags = cuFlags | ?d WHERE name_loc0 LIKE "%[%" OR name_loc0 LIKE "%(%" OR name_loc0 LIKE "%visual%" OR name_loc0 LIKE "%trigger%" OR name_loc0 LIKE "%credit%" OR name_loc0 LIKE "%marker%"', CUSTOM_EXCLUDE_FOR_LISTVIEW);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ $customData = array(
|
|||||||
['leader' => 29611, 'factionId' => 72, 'startAreaId' => 12],
|
['leader' => 29611, 'factionId' => 72, 'startAreaId' => 12],
|
||||||
['leader' => 4949, 'factionId' => 76, 'startAreaId' => 14],
|
['leader' => 4949, 'factionId' => 76, 'startAreaId' => 14],
|
||||||
['leader' => 2784, 'factionId' => 47, 'startAreaId' => 1],
|
['leader' => 2784, 'factionId' => 47, 'startAreaId' => 1],
|
||||||
['leader' => 7999, 'factionId' => 96, 'startAreaId' => 141],
|
['leader' => 7999, 'factionId' => 69, 'startAreaId' => 141],
|
||||||
['leader' => 10181, 'factionId' => 68, 'startAreaId' => 85],
|
['leader' => 10181, 'factionId' => 68, 'startAreaId' => 85],
|
||||||
['leader' => 3057, 'factionId' => 81, 'startAreaId' => 215],
|
['leader' => 3057, 'factionId' => 81, 'startAreaId' => 215],
|
||||||
['leader' => 7937, 'factionId' => 54, 'startAreaId' => 1],
|
['leader' => 7937, 'factionId' => 54, 'startAreaId' => 1],
|
||||||
|
|||||||
9
setup/updates/1488061468_01.sql
Normal file
9
setup/updates/1488061468_01.sql
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
UPDATE aowow_races SET factionId = 69 WHERE id = 4; -- was 96 *sigh*
|
||||||
|
|
||||||
|
UPDATE aowow_creature SET cuFlags = cuFlags | 0x40000000 WHERE
|
||||||
|
name_loc0 LIKE '%[%' OR
|
||||||
|
name_loc0 LIKE '%(%' OR
|
||||||
|
name_loc0 LIKE '%visual%' OR
|
||||||
|
name_loc0 LIKE '%trigger%' OR
|
||||||
|
name_loc0 LIKE '%credit%' OR
|
||||||
|
name_loc0 LIKE '%marker%';
|
||||||
Reference in New Issue
Block a user