[z2311] Refactor custom maxTargets and Radius into own function

(based on commit [12394] - aba0847)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1925] - 991a8a2)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2312] Fix client side InCombat state bug

(based on commit [12303] - a956123)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1928] - 38baf28)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2313] DBScripts - Add Map/Zone wide sound support to COMMAND_PLAY_SOUND

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12397] - a42abdb)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1929] - 50e54d1)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
Escape some file names in the cleanupStyle helper script

(based on commit ab2cea1)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit cfc192d)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2314] Cleanup Style

(based on commit [12400] - 0472823)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1931] - edea162)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2315] Fix a Typo

Note: You find a typo, be sure you find all similar typos :)

(based on commit [12402] - ef2de67)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1933] - 5221dd0)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2316] Fix TARGET_TOTEM_* positions

(based on commit [12406] - 153a8f0)

(based on commit [s1934] - 41a5621)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2317] minor CMake cleanup

- execute the CMake version check as the first thing in CMakeLists.txt
- simplify check for out of source build
- removed some unused and commented code

(based on commit [12407] - b775c74)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1935] - 50b6dc4)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2318] Correct a little typo in mangos.conf about MapsLoading log filter.

(based on commit [12404] - 9cd2a00)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1936] - c9d5afe)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2319] Allow spell effect 77 (ScriptEffect) and aura 226 (PeriodicDummy) to be handled by script library

(based on commit [12409] - fc443ca)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1937] - 9a25c36)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2320] Fix possible crash due to [z2294]

Thanks Schmoozerd for pointing

(based on commit [12418] - 35ad0ea)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1938] - 0c285cb)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2321] Improve debug log output for learning/unlearning spells/skills. Thanks to NeatElves for pointing

(based on commit [12412] - d7fa0ee)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1940] - 86773d8)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2322] CMake cleanup

* remove unused code
* add TODOs
* move all options to one place
* add all options to the information output
* mark most output as STATUS

(based on commit [12413] - a3fb8b3)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1941] - 682910e)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2323] CMake: strip the trailing newline from ${GIT_RESULT}

(based on commit [12414] - 70c4f60)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1942] - d8a1a4f)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2324] Avoid creature not respawning when not looted.

This occurs when corpse decay time is bigger than respawn time.
This is not blizzlike, to permit a creature respawn when its corpse still exist we need a complete rewrite of creature pool system.

(based on commit [12415] - 5c87c13)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1943] - cc27189)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2325] Add support for XP-Gain disabling

This will maintain compatibility with master, nothing more

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit [12420] - 871161f)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1944] - 6d9a171)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2326] Implement CONDITION_GENDER Thanks to crackm for testing

(based on commit [12421] - c73504e)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>

(based on commit [s1945] - 0644eb7)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
Merge pull request #4 from mangoszero/master