[s1516] fix compile, correct path in Detour project
[s1517] Fix Pet behaviour for environmental damage

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1518] Remove some obsolete defines

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1519] Implement spell 37125 periodic trigger code.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1520] Show Combat log entries for heals from NPCs
[s1521] Fix spell of Orb of Translocation, spells 25140 29128

Signed-off-by: Klark20 <klark20@online.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1522] Check display Id for .modify morph command

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1523] Add git_id (*nix version) to .gitignore

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1524] Fix possible crash when trying to add playerto group who is not in world

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1525] Replace use of HashMapFolder.Find<Player> with ObjectAccessor::FindPlayer wrapper

Signed-off-by: Nighoo <nighoo@gmail.com>
[s1526] Make binary_extracting scripts compatible to bourne shell. Thanks to nighoo for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1527] Add a bunch of unMaxTargets spell target limits from  R2-fork.

Authors for these fixes: mns, michalpolko, PSZ, fallenangelX, rsa, mosst, przemratajczak, reamer
And hopefully no forgotten!

Signed-off-by: Nighoo <nighoo@gmail.com>
[s1528] Rewrite and cleanup DB Script Engine

* Moved actual script processing code to ScriptMgr
* Unifed and improved log output. Now table-name is passed to each script execution
* Added the "buddy concept" to all commands (except the outdated direct field change commands):
Now all commands support to search a creature (or go for some commands) in a radius, with which to do some stuff.
See doc/script_commands.txt for more details and information

Attention DB Devs:
Current DB-Scripts are converted automatically as far as possible, but some old target selecting mechanics were not reasonable to do automated.
For such cases the command is marked with data_flags & 0x10 (==16), which will throw DB-Errors to track them down faster

Thanks to NeatElves and especially Grz3s for testing!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1529] Implement effects for spells 27687, 27695

also fix another type in extractor-binary script (thanks again nighoo)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>
[s1530] Add option to NearestCreatureEntryWithLiveState.. GridSearcher to be able to also search for both alive and corpse creatures

(based on commit 703a676)
[s1531] Fix non-pch compile, thanks to NeatElves for pointing

Signed-off-by: Nighoo <nighoo@gmail.com>
[s1532] Some whitespace cleanup in SpellAuras (around Shape-Shifting)

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

(based on commit 574a4c4)
[s1533] Improve SCRIPT_COMMAND_MOVE_TO

This changes the handling of SCRIPT_COMMAND_MOVE_TO, to not expect some travel-time, but directly provide the speed for the movement (*100).

Attention to DB-Devs, please check your MOVE_TO scripts.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
[s1534] delete wrong backported sql file
[s1535] Check group id of group loot timer when timer is started. Close pull request #39

Also fix a small possible bug with loot shared to players at similar position on a different map

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