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
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue