50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
public class SBAxeWeapon: SBInfo
|
|
{
|
|
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
|
private IShopSellInfo m_SellInfo = new InternalSellInfo();
|
|
|
|
public SBAxeWeapon()
|
|
{
|
|
}
|
|
|
|
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
|
|
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
|
|
|
|
public class InternalBuyInfo : List<GenericBuyInfo>
|
|
{
|
|
public InternalBuyInfo()
|
|
{
|
|
Add( new GenericBuyInfo( typeof( GreatAxe ), 30, 20, 0xF45, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( BattleAxe ), 26, 20, 0xF47, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( TwoHandedAxe ), 32, 20, 0x1443, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Axe ), 40, 20, 0xF49, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( DoubleAxe ), 52, 20, 0xF4B, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Pickaxe ), 22, 20, 0xE86, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( LargeBattleAxe ), 33, 20, 0x13FB, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( WarAxe ), 29, 20, 0x13B0, 0 ) );
|
|
|
|
}
|
|
}
|
|
|
|
public class InternalSellInfo : GenericSellInfo
|
|
{
|
|
public InternalSellInfo()
|
|
{
|
|
Add( typeof( BattleAxe ), 13 );
|
|
Add( typeof( DoubleAxe ), 26 );
|
|
Add( typeof( GreatAxe ), 15 );
|
|
Add( typeof( LargeBattleAxe ),16 );
|
|
Add( typeof( Pickaxe ), 11 );
|
|
Add( typeof( TwoHandedAxe ), 16 );
|
|
Add( typeof( WarAxe ), 14 );
|
|
Add( typeof( Axe ), 20 );
|
|
}
|
|
}
|
|
}
|
|
}
|