Basic support for mysticism spells, scrolls, inscription craftables, mystic reagents, 6 new spells

This commit is contained in:
Pedro Pardal 2017-03-21 17:31:08 +01:00
parent 1e03efc24c
commit 7df658cd00
33 changed files with 2118 additions and 162 deletions

View file

@ -81,6 +81,17 @@ namespace Server.Engines.Craft
m_Recipe = new Recipe( id, system, this );
}
public static int LabelNumber( Type type ) {
int number = ItemIDOf( type );
if ( number >= 0x4000 )
number += 1078872;
else
number += 1020000;
return number;
}
private static Dictionary<Type, int> _itemIds = new Dictionary<Type, int>();
public static int ItemIDOf( Type type ) {