[12492] Fix spell 61254

* Also rearrange code for Aura::HandleAuraModIncreaseHealth
* Fix some behaviour with SetHealth/SetPower if set to max health/power
[12493] Fix (at least) two false positive startup errors

* Fix startup-error related to quest 10162
* Fix startup-error for spell 53821
[12494] Fix SMSG_BINDPOINTUPDATE and SMSG_PLAYERBOUND sent data

also improve DebugLog output
[12495] Implement some spells for Ahune encounter

Spell entries: 46371, 46372 and 46430
[12496] Add some doxygen documentation

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12497] Convert some files to markdown

[ci skip]
[12498] Fix a typo for spell 37096

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12499] Add some safety to some preprocessor defines
[12500] Remove a few empty lines
[12501] DBScripts Engine: Support buddy search by guid

* Add new `data_flags` flag SCRIPT_FLAG_BUDDY_BY_GUID (0x10)
If this flag is set, the content of `search_distance` is interpreted as db-guid of the requested buddy

* Also switch most error log output to DB-error log output (though this will include false positives)
[12502] DBScripts Engine: Allow pets as buddy

Add new flag SCRIPT_FLAG_BUDDY_IS_PET (0x20) that will search not for a normal npc with buddy-search, but also for pets
[12503] DBScripts Engine: Change behaviour to search for a different npc when using buddy-search

With this an npc buddy will be interpreted as "another npc with entry"

Also toggle command 31 - TERMINATE_SCRIPT to also look only for other npcs of entry
[12504] EventAI: Improve TargetSelection related ErrorLog output
[12505] Add and implement server-side spell 23770
[12506] Improve proc of spell 50421

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12507] Implement proc effect of spells 67712, 67758

related to items 47316, 47477.

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12508] Fix SpellDamage modifier of SPELL_AURA_MOD_DAMAGE_DONE_CREATURE

This aura modifies a flat value, not a percent value.

Related cmangos/cmangos-classic#26

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12509] Check cast spell 51690

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12510] Fix take ammo for most ranged spells

Fix spells like Arcane Shot not taking ammo while they should

Close cmangos/mangos-tbc#19

Signed-off-by: cala <calaftp@free.fr>
Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12511] Fix invisible spirit healers & such on death near them

This fixes an issue that occurs if you die close to a spirit healer/guide.
Close cmangos/mangos-tbc#18

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