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

@ -35,7 +35,7 @@ namespace Server.Items
public int GetChargesFor(Mobile m)
{
int v = (int)(m.Skills[SkillName.Tailoring].Value / 5);
int v = (int)(m.Skills.Tailoring.Value / 5);
if (v < 16)
return 16;
@ -104,7 +104,7 @@ namespace Server.Items
else Amount--;
}
}
else if (from.Skills[SkillName.Tailoring].Value >= 80.0)
else if (from.Skills.Tailoring.Value >= 80.0)
{
bool isExceptional = clothing?.Quality == ClothingQuality.Exceptional ||
armor?.Quality == ArmorQuality.Exceptional ||