[7980] Implement item use target requirements store and check (new table item_required_target).

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

* Also implement this table reload
* Static Spell::SendCastResult function for call not from spell code.
  Can be also used in scripts where need send explicitly spell cast error to client.
This commit is contained in:
NoFantasy 2009-06-09 00:22:51 +04:00 committed by VladimirMangos
parent 6d8867d0fc
commit 6a1b4e5729
18 changed files with 279 additions and 36 deletions

View file

@ -211,6 +211,7 @@ pkgdata_DATA = \
7932_01_characters_character_pet.sql \
7938_01_realmd_account.sql \
7945_01_mangos_quest_template.sql \
7980_01_mangos_item_required_target.sql \
README
## Additional files to include when running 'make dist'
@ -402,4 +403,5 @@ EXTRA_DIST = \
7932_01_characters_character_pet.sql \
7938_01_realmd_account.sql \
7945_01_mangos_quest_template.sql \
7980_01_mangos_item_required_target.sql \
README