shopassistant think the methods called getSpecialItemValue under switch (id) { add
case ####: //itemid
return #; //amount of pts
|
Here is my Shops.CFG
shop = 48 Slayer Point Store 2 2 13263 1 19335 1 15492 1 14484 1 19748 1
How do I set prices and set other items in the shop? and the price
shopassistant think the methods called getSpecialItemValue under switch (id) { add
case ####: //itemid
return #; //amount of pts
I can't find it in there are you sure that's the right spot?
Does anyone know really where to chagne the price and add items to the slayer shop?
oh my bad read too fast. ok go to your shopassistant.java and find something like this.
the cases are the ids of the items and the returns are the pricespublic int getSpecialItemValue(int id) {
switch (id) {
case 6889:
case 6914:
case 15604:
case 15606:
case 15600:
case 15610:
case 15612:
case 15616:
case 15622:
case 15618:
case 6526:
case 6525:
case 6524:
case 6523:
case 6538:
return 100;
case 6916:
case 6918:
case 6920:
case 6922:
case 6924:
case 7462:
return 50;
case 11235:
return 850;
case 11663:
case 11664:
case 11665:
case 8842:
return 30;
case 8839:
case 8840:
case 15602:
case 15608:
case 15614:
case 15620:
getSpecialItemValue.
Then make the method in ShopAssistant.java to buy the item from
the shop ect.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |