Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
58
Scripts/Items/Equipment/Spellbooks/BookOfNinjitsu.cs
Normal file
58
Scripts/Items/Equipment/Spellbooks/BookOfNinjitsu.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BookOfNinjitsu : Spellbook
|
||||
{
|
||||
[Constructable]
|
||||
public BookOfNinjitsu()
|
||||
: this((ulong)0xFF)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public BookOfNinjitsu(ulong content)
|
||||
: base(content, 0x23A0)
|
||||
{
|
||||
Layer = (Core.ML ? Layer.OneHanded : Layer.Invalid);
|
||||
}
|
||||
|
||||
public BookOfNinjitsu(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override SpellbookType SpellbookType
|
||||
{
|
||||
get
|
||||
{
|
||||
return SpellbookType.Ninja;
|
||||
}
|
||||
}
|
||||
public override int BookOffset
|
||||
{
|
||||
get
|
||||
{
|
||||
return 500;
|
||||
}
|
||||
}
|
||||
public override int BookCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return 8;
|
||||
}
|
||||
}
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)1); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user