Core/Cmake: Allow settings to detach custom scripts
Allow to remove coupled custom scripts to regular scripts on build.
Meaning, if you change custom scripts and have this enabled, only custom scripts are rebuilt and core scripts are untouched. Disabled by default.
Original Code by @LilleCarl.

Core/Cmake: Allow settings to detach custom scripts
Allow to remove coupled custom scripts to regular scripts on build.
Meaning, if you change custom scripts and have this enabled, only custom scripts are rebuilt and core scripts are untouched. Disabled by default.
Original Code by @LilleCarl.

Core/Cmake: Allow settings to detach custom scripts
Allow to remove coupled custom scripts to regular scripts on build.
Meaning, if you change custom scripts and have this enabled, only custom scripts are rebuilt and core scripts are untouched. Disabled by default.
Original Code by @LilleCarl.
Core/LFR: Fix a theoretical error with item_level
Despite the check never happening (player->GetAverageItemLevel() < 0 is impossible), it is more efficient.
Also improves codestyle consistency. Original fix by @emsy.