This commit is contained in:
parent
cc7814db35
commit
bcdee05c6c
83 changed files with 268 additions and 146 deletions
|
|
@ -37,7 +37,6 @@ namespace Server.Mobiles
|
|||
SetSkill( SkillName.Wrestling, 25.1, 40.0 );
|
||||
|
||||
Fame = 500;
|
||||
Karma = -500;
|
||||
|
||||
VirtualArmor = 18;
|
||||
|
||||
|
|
|
|||
53
Scripts/Mobiles/Vendors/NPC/Monk.cs
Normal file
53
Scripts/Mobiles/Vendors/NPC/Monk.cs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Monk : BaseVendor
|
||||
{
|
||||
private ArrayList m_SBInfos = new ArrayList();
|
||||
protected override ArrayList SBInfos{ get { return m_SBInfos; } }
|
||||
|
||||
[Constructable]
|
||||
public Monk() : base( "the Monk" )
|
||||
{
|
||||
SetSkill( SkillName.EvalInt, 100.0 );
|
||||
SetSkill( SkillName.Tactics, 70.0, 90.0 );
|
||||
SetSkill( SkillName.Wrestling, 70.0, 90.0 );
|
||||
SetSkill( SkillName.MagicResist, 70.0, 90.0 );
|
||||
SetSkill( SkillName.Macing, 70.0, 90.0 );
|
||||
}
|
||||
|
||||
public override void InitSBInfo()
|
||||
{
|
||||
m_SBInfos.Add( new SBMonk() );
|
||||
}
|
||||
public override void InitOutfit()
|
||||
{
|
||||
AddItem( new Sandals() );
|
||||
AddItem( new MonkRobe() );
|
||||
}
|
||||
|
||||
public Monk( 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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
34
Scripts/Mobiles/Vendors/SBInfo/SBMonk.cs
Normal file
34
Scripts/Mobiles/Vendors/SBInfo/SBMonk.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMonk : SBInfo
|
||||
{
|
||||
private ArrayList m_BuyInfo = new InternalBuyInfo();
|
||||
private IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBMonk()
|
||||
{
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
|
||||
public override ArrayList BuyInfo { get { return m_BuyInfo; } }
|
||||
|
||||
public class InternalBuyInfo : ArrayList
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( MonkRobe ), 136, 20, 0x2687, 0x21E ) );
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue