Adds assemblies config, fixes crash bugs. (#134)

This commit is contained in:
Kamron Batman 2020-05-09 12:55:56 -07:00 • committed by GitHub
parent 0140eb73b4
commit 8ec166bcd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3223 changed files with 191 additions and 191 deletions

View file

@ -1,38 +0,0 @@
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBMaceWeapon : SBInfo
{
public override IShopSellInfo SellInfo { get; } = new InternalSellInfo();
public override List<GenericBuyInfo> BuyInfo { get; } = new InternalBuyInfo();
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add(new GenericBuyInfo(typeof(HammerPick), 26, 20, 0x143D, 0));
Add(new GenericBuyInfo(typeof(Club), 16, 20, 0x13B4, 0));
Add(new GenericBuyInfo(typeof(Mace), 28, 20, 0xF5C, 0));
Add(new GenericBuyInfo(typeof(Maul), 21, 20, 0x143B, 0));
Add(new GenericBuyInfo(typeof(WarHammer), 25, 20, 0x1439, 0));
Add(new GenericBuyInfo(typeof(WarMace), 31, 20, 0x1407, 0));
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add(typeof(Club), 8);
Add(typeof(HammerPick), 13);
Add(typeof(Mace), 14);
Add(typeof(Maul), 10);
Add(typeof(WarHammer), 12);
Add(typeof(WarMace), 15);
}
}
}
}