fix: Fixes code genning armor, clothing, and BODs (#810)

* Fixes code genning clothing
* Fixes code genning armor
* Fixes code genning BODs
This commit is contained in:
Kamron Batman 2021-09-28 22:09:34 -07:00 • committed by GitHub
parent 990d151ef3
commit 8eaa859332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 122 additions and 111 deletions

View file

@ -719,7 +719,6 @@ namespace Server.Misc
public static bool VerifyProfession(int profession) =>
profession >= 0 && (profession < 4 || Core.AOS && profession < 6 || Core.SE && profession < 8);
private static CityInfo GetStartLocation(CharacterCreatedEventArgs args, bool isYoung)
{
if (Core.ML)
@ -1012,7 +1011,7 @@ namespace Server.Misc
//EquipItem(new DreadSword()); //NOT IMPLEMENTED
EquipItem(new GargishLeatherChestType1());
EquipItem(new GargishLeatherArmsType1());
EquipItem(new GargishLeatherKiltType1());
EquipItem(new GargishLeatherKiltType1());
EquipItem(new GargishLeatherLegsType1());
}
else
@ -1060,7 +1059,7 @@ namespace Server.Misc
//EquipItem(new GlassSword()); //NOT IMPLEMENTED
EquipItem(new GargishLeatherChestType1());
EquipItem(new GargishLeatherArmsType1());
EquipItem(new GargishLeatherKiltType1());
EquipItem(new GargishLeatherKiltType1());
EquipItem(new GargishLeatherLegsType1());
}
else
@ -1106,7 +1105,7 @@ namespace Server.Misc
//EquipItem(new GlassSword()); // IMPLEMENTION NEEDED
//EquipItem(new GargishStoneChestType1());
//EquipItem(new GargishStoneArmsType1());
//EquipItem(new GargishStoneKiltType1());
//EquipItem(new GargishStoneKiltType1());
//EquipItem(new GargishStoneLegsType1());
}
else
@ -1152,7 +1151,7 @@ namespace Server.Misc
//EquipItem(new GargishTalwar()); // IMPLEMENTION NEEDED
EquipItem(new GargishLeatherChestType1());
EquipItem(new GargishLeatherArmsType1());
EquipItem(new GargishLeatherKiltType1());
EquipItem(new GargishLeatherKiltType1());
EquipItem(new GargishLeatherLegsType1());
}
else
@ -1176,7 +1175,7 @@ namespace Server.Misc
case 7: // Ninja
{
addSkillItems = false;
int[] hues = { 0x1A8, 0xEC, 0x99, 0x90, 0xB5, 0x336, 0x89 };
// TODO: Verify that's ALL the hues for that above.
@ -1194,7 +1193,7 @@ namespace Server.Misc
//EquipItem(new DualPointedSpear()); //IMPLEMENTION NEEDED
EquipItem(new GargishLeatherChestType1());
EquipItem(new GargishLeatherArmsType1());
EquipItem(new GargishLeatherKiltType1());
EquipItem(new GargishLeatherKiltType1());
EquipItem(new GargishLeatherLegsType1());
}
else

View file

@ -72,7 +72,6 @@ namespace Server.Network
return;
}
e.Mobile.SendMessage("Packet 0x{0:X} throttle is currently {1}ms.", packetID, Delays[packetID]);
}
@ -95,7 +94,6 @@ namespace Server.Network
return;
}
if (delay > 5000)
{
e.Mobile.SendMessage("Invalid Command Format. Delay cannot exceed 5000 milliseconds.");