#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
59
Scripts/Mobiles/Vendors/SBInfo/Weapons/SBRangedWeapon.cs
Normal file
59
Scripts/Mobiles/Vendors/SBInfo/Weapons/SBRangedWeapon.cs
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBRangedWeapon: SBInfo
|
||||
{
|
||||
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBRangedWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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( Crossbow ), 55, 20, 0xF50, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( HeavyCrossbow ), 55, 20, 0x13FD, 0 ) );
|
||||
if( Core.AOS )
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( RepeatingCrossbow ), 46, 20, 0x26C3, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( CompositeBow ), 45, 20, 0x26C2, 0 ) );
|
||||
}
|
||||
Add( new GenericBuyInfo( typeof( Bolt ), 2, Utility.Random( 30, 60 ), 0x1BFB, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Bow ), 40, 20, 0x13B2, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Arrow ), 2, Utility.Random( 30, 60 ), 0xF3F, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Feather ), 2, Utility.Random( 30, 60 ), 0x1BD1, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Shaft ), 3, Utility.Random( 30, 60 ), 0x1BD4, 0 ) );
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add( typeof( Bolt ), 1 );
|
||||
Add( typeof( Arrow ), 1 );
|
||||
Add( typeof( Shaft ), 1 );
|
||||
Add( typeof( Feather ), 1 );
|
||||
|
||||
Add( typeof( HeavyCrossbow ), 27 );
|
||||
Add( typeof( Bow ), 17 );
|
||||
Add( typeof( Crossbow ), 25 );
|
||||
|
||||
if( Core.AOS )
|
||||
{
|
||||
Add( typeof( CompositeBow ), 23 );
|
||||
Add( typeof( RepeatingCrossbow ), 22 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue