[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>
[12512] Implement some spells for Felmyst encounter

Spell entries: 45714, 45717 and 45918. Limit targets of spell 45391
Also add stacking exception for auras 45068 and 45582
[12513] Fixup commit 12511 Thanks to Zakamurite for pointing

Also thanks to him for giving a helping hand in correcting the commit
[12514] Forward original caster GUID to script library
[12515] EventAI: Implement ACTION_T_SET_THROW_MASK (46)

This Action can be used to set which AIEvents should be thrown automatically, if you need more flexibility, you can always use the manual ACTION_TH_THROW_AI_EVENT version.

* Also clean some error-log output a bit.
[12516] EventAI: Improve code

* Drop rather pointless bool to check if the number of assigned events is empty
* Before the phase was resetted on death if and only if the npc has Events defined
* DoMeleeAttackIfReady could have been called even though combat state could have changed while processing events
[12517] Do not remove FLY auras on Evade

Also consider npcs which have SPELL_AURA_FLY as being able to fly
[12518] Enable resummoning of warlock pets

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12519] Allow player pets to swim

Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>
[12520] Allow spell effect 86 - Activate Object to use the misc value

Close cmangos/issues#220
[12521] Add stacking exception for spells 39993 and 40041
[12522] Add database changes to support more data for DB Script texts
[12523] Add const-correctness to Text related functions
[12524] Add generic DoDisplayText function and use additional data of dbscripts table

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