#W# Finsihed up Lord British giving the VitureTome quest.
This commit is contained in:
parent
897f9006a4
commit
aed6cda934
3 changed files with 193 additions and 16 deletions
|
|
@ -98,6 +98,7 @@ namespace Server.Mobiles
|
|||
private int m_QuestLevel;
|
||||
private string m_MapMarkers;
|
||||
private int m_VirtuePoints;
|
||||
private bool m_VirtueTomeCompleted;
|
||||
|
||||
#region Getters & Setters
|
||||
|
||||
|
|
@ -286,6 +287,13 @@ namespace Server.Mobiles
|
|||
set { m_VirtuePoints = value; }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool VirtueTomeCompleted
|
||||
{
|
||||
get { return m_VirtueTomeCompleted; }
|
||||
set { m_VirtueTomeCompleted = value; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Auto Arrow Recovery
|
||||
|
|
@ -1834,6 +1842,11 @@ namespace Server.Mobiles
|
|||
|
||||
switch ( version )
|
||||
{
|
||||
case 2:
|
||||
{
|
||||
m_VirtueTomeCompleted = reader.ReadBool();
|
||||
goto case 1;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
m_VirtuePoints = reader.ReadInt();
|
||||
|
|
@ -1932,9 +1945,12 @@ namespace Server.Mobiles
|
|||
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
writer.Write( (int) 2 ); // version
|
||||
//Version 2 Additions
|
||||
writer.Write( (bool) m_VirtueTomeCompleted );
|
||||
//Version 1 Additions
|
||||
writer.Write( (int) m_VirtuePoints );
|
||||
|
||||
//Vesion 0 (Original Data)
|
||||
writer.Write( (DateTime) m_PeacedUntil );
|
||||
writer.Write( (DateTime) m_AnkhNextUse );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue