Changed PlayerVendor stats to 100/100/25 so they can wear armor.
This commit is contained in:
parent
422b6b0388
commit
48e08198fe
1 changed files with 6 additions and 2 deletions
|
|
@ -316,7 +316,7 @@ namespace Server.Mobiles
|
|||
if ( !Core.AOS )
|
||||
NameHue = 0x35;
|
||||
|
||||
InitStats( 75, 75, 75 );
|
||||
InitStats( 100, 100, 25 );
|
||||
InitBody();
|
||||
InitOutfit();
|
||||
|
||||
|
|
@ -336,7 +336,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
writer.Write( (int) 2 ); // version
|
||||
|
||||
writer.Write( (bool) BaseHouse.NewVendorSystem );
|
||||
writer.Write( (string) m_ShopName );
|
||||
|
|
@ -368,6 +368,7 @@ namespace Server.Mobiles
|
|||
|
||||
switch ( version )
|
||||
{
|
||||
case 2:
|
||||
case 1:
|
||||
{
|
||||
newVendorSystem = reader.ReadBool();
|
||||
|
|
@ -431,6 +432,9 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
if ( version < 2 && RawStr == 75 && RawDex == 75 && RawInt == 75 )
|
||||
InitStats( 100, 100, 25 );
|
||||
|
||||
TimeSpan delay = m_NextPayTime - DateTime.Now;
|
||||
|
||||
m_PayTimer = new PayTimer( this, delay > TimeSpan.Zero ? delay : TimeSpan.Zero );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue