Modernization Fixes & Updates to Default Values (#3)

This commit is contained in:
Kamron Batman 2018-10-28 00:33:16 -07:00 • committed by GitHub
parent 445eddff68
commit dcf64091b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
768 changed files with 10507 additions and 14196 deletions

View file

@ -68,7 +68,7 @@ namespace Server.Mobiles
{
if (from is PlayerMobile pm && pm.NextSmithBulkOrder == TimeSpan.Zero && (fromContextMenu || 0.2 > Utility.RandomDouble()))
{
double theirSkill = pm.Skills[SkillName.Blacksmith].Base;
double theirSkill = pm.Skills.Blacksmith.Base;
if (theirSkill >= 70.1)
pm.NextSmithBulkOrder = TimeSpan.FromHours(6.0);
@ -93,7 +93,7 @@ namespace Server.Mobiles
public override bool SupportsBulkOrders(Mobile from)
{
return from is PlayerMobile && Core.AOS && from.Skills[SkillName.Blacksmith].Base > 0;
return from is PlayerMobile && Core.AOS && from.Skills.Blacksmith.Base > 0;
}
public override TimeSpan GetNextBulkOrder(Mobile from)