[11646] Implement support item converting at expire

Example: items 44623->44625->44627 convertion chain

* New table `item_enchantment_template` store original->final item pairs
  Original item must have duration setup.
* Small change in GetItemConvert for consistence (now 0 returned if no convert pair instead original entry id)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
cmaranec 2011-06-18 21:11:23 +04:00 committed by VladimirMangos
parent a97370a7f0
commit 2d7768a5ab
10 changed files with 117 additions and 13 deletions

View file

@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_11620_01_characters_character_equipmentsets"
#define REVISION_DB_MANGOS "required_11613_01_mangos_spell_bonus_data"
#define REVISION_DB_MANGOS "required_11646_01_mangos_item_expire_convert"
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
#endif // __REVISION_SQL_H__