Fix Abyss, Fix selling for tokkull (#186)

* Fix local Parabot instructions

* Add kick command, and force logout function

* fixup abyss

* fixup tokkull selling
This commit is contained in:
Danial
2019-11-17 14:50:13 +13:00
committed by Daniel Ginovker
parent 165f156814
commit b13fa89de2
5 changed files with 15 additions and 22 deletions
@@ -372,9 +372,9 @@ public class ShopAssistant {
String itemName = ItemAssistant.getItemName(itemID).toLowerCase();
int TotPrice2 = 0;
if (player.myShopId == 138 || player.myShopId == 58 || player.myShopId == 139) {
TotPrice2 = (int) (getTokkulValue(itemID) * .85);
TotPrice2 = (int) Math.floor(getTokkulValue(itemID) * .85) * amount;
} else {
TotPrice2 = (int) Math.floor(getItemShopValue(itemID, amount, true) * amount); //Something about total price of item?
TotPrice2 = (int) Math.floor(getItemShopValue(itemID, amount, true) * amount); //Something about total price of item?
}
if (player.getItemAssistant().freeSlots() > 0 || player.getItemAssistant().playerHasItem(995) || player.getItemAssistant().playerHasItem(6529)) { //Checks to see if player has room for coins.
if (!ItemDefinitions.getDef()[itemID].isNoteable) { //Check to see if its notable.