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

@ -0,0 +1,45 @@
using System;
namespace Server.Items
{
public class MysticSpellbook : Spellbook
{
public override SpellbookType SpellbookType { get { return SpellbookType.Mystic; } }
public override int BookOffset { get { return 677; } }
public override int BookCount { get { return 16; } }
[Constructable]
public MysticSpellbook()
: this( (ulong) 0 )
{
}
[Constructable]
public MysticSpellbook( ulong content )
: base( content, 0x2D9D )
{
Layer = Layer.OneHanded;
}
public MysticSpellbook( Serial serial )
: base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
/*int version = */
reader.ReadInt();
}
}
}