[c12568] Implement spells 47958, 57082 and 57083

Used in Ormorok encounter - Nexus

(based on commit [12405] - 222b811)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12569] Fix TARGET_TOTEM_* positions

(based on commit [12406] - 153a8f0)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12570] 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: Dramacydal <PulLumBerMal@gmail.com>
[c12571] Add stacking exception for spells 50442 and 47941

(based on commit [12408] - 02adce7)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12572] Allow spell effect 77 (ScriptEffect) and aura 226 (PeriodicDummy) to be handled by script library

Close #88

(based on commit [12409] - fc443ca)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12573] Add stacking exception for spells 53456 and 53421

(based on commit [12410] - ea6da6b)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12574] Improve target selection for TARGET_BEHIND_VICTIM

Also add custom radius for spell 49376 because of missing DBC data

Close #101

(based on commit [12411] - 10662ba)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12575] Improve debug log output for learning/unlearning spells/skills. Thanks to NeatElves for pointing

(based on commit [12412] - d7fa0ee)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12576] Fix typos, Thanks to Vladimir for pointing

(based on commit 2dc73f8)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12577] 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: Dramacydal <PulLumBerMal@gmail.com>
[c12578] CMake: strip the trailing newline from ${GIT_RESULT}

(based on commit [12414] - 70c4f60)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12579] 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.

Fix cmangos/mangos-wotlk#72

(based on commit [12415] - 5c87c13)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12580] Implement spells 53035, 53036 and 53037

This will properly handle the periodic dummy auras and will also add stacking exception

Used in Azjol-Nerub for Hadronox encounter

(based on commit [12416] - 9d7d2fb)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12581] Add negative exception for spells 57508 - 57512

Close #106 because it's invalid

(based on commit [12417] - 3823c75)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12582] Fix possible crash due to [12409]

Thanks Schmoozerd for pointing

(based on commit [12418] - 35ad0ea)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12583] Implement spell 56072

Also add caster exception for spell 56505

(based on commit [12419] - 4e501cc)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12584] Add support for XP-Gain disabling

Add CONDITION_XP_USER to be able to check if a player has XP-Gain enabled or disabled
Add SCRIPT_COMMAND_XP_USER to enable/disable XP-Gain for a player

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

(based on commit [12420] - 871161f)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12585] Implement CONDITION_GENDER Thanks to crackm for testing

(based on commit [12421] - c73504e)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12586] Implement spells 68987 and 69012

They are used in the Ick & Krick encounter - Pit of Saron

(based on commit [12425] - c086787)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
[c12587] Implement spell 17009

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

(based on commit [12427] - 34578f2)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>