[7990] Trigering "on hit" combat spell only at related to current hit weapon.
commit992cc3df280df8ecd2a4b16f5d9b3cc2a2e0c406
authornos4r2zod <nos4r2zod@getmangos.com>
Wed, 10 Jun 2009 21:24:25 +0000 (11 01:24 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Wed, 10 Jun 2009 21:29:33 +0000 (11 01:29 +0400)
treef877455425641eb0aa7a9e04aefd0174e43b256e
parent1ef2ee52465eaa0808426a877c2e4ae5e003f5a0
[7990] Trigering "on hit" combat spell only at related to current hit weapon.

Also check at loading that only weapon item templates have "on hit" spell triggers.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
src/game/ObjectMgr.cpp
src/game/Player.cpp
src/game/Player.h
src/game/Unit.cpp
src/shared/revision_nr.h