Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue