72 lines
2.3 KiB
C#
72 lines
2.3 KiB
C#
using System.Collections.Generic;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
public class SBSwordWeapon: SBInfo
|
|
{
|
|
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
|
private IShopSellInfo m_SellInfo = new InternalSellInfo();
|
|
|
|
public SBSwordWeapon()
|
|
{
|
|
}
|
|
|
|
public override IShopSellInfo SellInfo => m_SellInfo;
|
|
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
|
|
|
|
public class InternalBuyInfo : List<GenericBuyInfo>
|
|
{
|
|
public InternalBuyInfo()
|
|
{
|
|
Add( new GenericBuyInfo( typeof( Cutlass ), 24, 20, 0x1441, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Katana ), 33, 20, 0x13FF, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Kryss ), 32, 20, 0x1401, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Broadsword ), 35, 20, 0xF5E, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Longsword ), 55, 20, 0xF61, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( ThinLongsword ), 27, 20, 0x13B8, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( VikingSword ), 55, 20, 0x13B9, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Scimitar ), 36, 20, 0x13B6, 0 ) );
|
|
|
|
if ( Core.AOS )
|
|
{
|
|
Add( new GenericBuyInfo( typeof( BoneHarvester ), 35, 20, 0x26BB, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( CrescentBlade ), 37, 20, 0x26C1, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( DoubleBladedStaff ), 35, 20, 0x26BF, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Lance ), 34, 20, 0x26C0, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Pike ), 39, 20, 0x26BE, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Scythe ), 39, 20, 0x26BA, 0 ) );
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|
|
public class InternalSellInfo : GenericSellInfo
|
|
{
|
|
public InternalSellInfo()
|
|
{
|
|
Add( typeof( Broadsword ), 17 );
|
|
Add( typeof( Cutlass ), 12 );
|
|
Add( typeof( Katana ), 16 );
|
|
Add( typeof( Kryss ), 16 );
|
|
Add( typeof( Longsword ), 27 );
|
|
Add( typeof( Scimitar ), 18 );
|
|
Add( typeof( ThinLongsword ), 13 );
|
|
Add( typeof( VikingSword ), 27 );
|
|
|
|
if ( Core.AOS )
|
|
{
|
|
Add( typeof( Scythe ), 19 );
|
|
Add( typeof( BoneHarvester ), 17 );
|
|
Add( typeof( Scepter ), 18 );
|
|
Add( typeof( BladedStaff ), 16 );
|
|
Add( typeof( Pike ), 19 );
|
|
Add( typeof( DoubleBladedStaff ), 17 );
|
|
Add( typeof( Lance ), 17 );
|
|
Add( typeof( CrescentBlade ), 18 );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|