Fixes several bugs and streamlines the BOD code. (#32)
This commit is contained in:
parent
a45094f2dc
commit
114dc1a16b
21 changed files with 500 additions and 777 deletions
|
|
@ -1179,14 +1179,14 @@ namespace Server.Commands
|
|||
html.WriteLine(" </table></td></tr></table>");
|
||||
}
|
||||
|
||||
private static void DocumentTailorBOD(StreamWriter html, List<Item> items, string amt, BulkMaterialType material,
|
||||
private static void DocumentTailorBOD(StreamWriter html, List<RewardItem> items, string amt, BulkMaterialType material,
|
||||
Type type)
|
||||
{
|
||||
bool[] rewards = new bool[20];
|
||||
|
||||
for (int i = 0; i < items.Count; ++i)
|
||||
{
|
||||
Item item = items[i];
|
||||
Item item = items[i].Construct();
|
||||
|
||||
if (item is Sandals)
|
||||
{
|
||||
|
|
@ -1456,13 +1456,13 @@ namespace Server.Commands
|
|||
html.WriteLine(" </table></td></tr></table>");
|
||||
}
|
||||
|
||||
private static void DocumentSmithBOD(StreamWriter html, List<Item> items, string amt, BulkMaterialType material)
|
||||
private static void DocumentSmithBOD(StreamWriter html, List<RewardItem> items, string amt, BulkMaterialType material)
|
||||
{
|
||||
bool[] rewards = new bool[24];
|
||||
|
||||
for (int i = 0; i < items.Count; ++i)
|
||||
{
|
||||
Item item = items[i];
|
||||
Item item = items[i].Construct();
|
||||
|
||||
if (item is SturdyPickaxe || item is SturdyShovel)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue