Merge pull request #5738 from MagicfTail/clueexamine

Add support for examine price to clue scroll reward
This commit is contained in:
Tomas Slusny
2018-10-03 10:41:03 +02:00
committed by GitHub
3 changed files with 12 additions and 0 deletions

View File

@@ -258,6 +258,16 @@ public class ExaminePlugin extends Plugin
itemId = widgetItem.getItemId();
}
}
else if (WidgetInfo.CLUE_SCROLL_REWARD_ITEM_CONTAINER.getGroupId() == widgetGroup)
{
Widget[] children = widget.getDynamicChildren();
if (pendingExamine.getActionParam() < children.length)
{
Widget widgetItem = children[pendingExamine.getActionParam()];
quantity = widgetItem.getItemQuantity();
itemId = widgetItem.getItemId();
}
}
}
if (itemId == -1)