Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -1,25 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBWeaponSmith: SBInfo
|
||||
{
|
||||
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBWeaponSmith: SBInfo
|
||||
{
|
||||
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBWeaponSmith()
|
||||
{
|
||||
}
|
||||
public SBWeaponSmith()
|
||||
{
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
|
||||
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
|
||||
public override IShopSellInfo SellInfo => m_SellInfo;
|
||||
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( BlackStaff ), 22, 20, 0xDF1, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Club ), 16, 20, 0x13B4, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( GnarledStaff ), 16, 20, 0x13F8, 0 ) );
|
||||
|
|
@ -43,8 +43,8 @@ namespace Server.Mobiles
|
|||
Add( new GenericBuyInfo( typeof( Hatchet ), 27, 20, 0xF43, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( WarFork ), 32, 20, 0x1405, 0 ) );
|
||||
|
||||
switch ( Utility.Random( 3 ))
|
||||
{
|
||||
switch ( Utility.Random( 3 ))
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( ExecutionersAxe ), 30, 20, 0xF45, 0 ) );
|
||||
|
|
@ -102,14 +102,14 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add( typeof( BattleAxe ), 13 );
|
||||
Add( typeof( DoubleAxe ), 26 );
|
||||
Add( typeof( ExecutionersAxe ), 15 );
|
||||
|
|
@ -136,7 +136,7 @@ namespace Server.Mobiles
|
|||
|
||||
Add( typeof( HeavyCrossbow ), 27 );
|
||||
Add( typeof( Bow ), 17 );
|
||||
Add( typeof( Crossbow ), 23 );
|
||||
Add( typeof( Crossbow ), 23 );
|
||||
|
||||
if( Core.AOS )
|
||||
{
|
||||
|
|
@ -176,7 +176,7 @@ namespace Server.Mobiles
|
|||
|
||||
Add( typeof( Hatchet ), 13 );
|
||||
Add( typeof( WarFork ), 16 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue