Put it under where it says guthan and all that
|
When ever I try to add the item requirement for my abyssal tentacle, it doesn't work I tried using these following methods under my requirement public void in my itemassistant class and they still don't work:
even tried it with break; instead of return; and still doesn't work.Code:case 12000: c.attackLevelReq = 75; return;
How can I fix this problem?Code:if (itemName.contains("tentacle")) { c.attackLevelReq = 75; }
Put it under where it says guthan and all that
In this method
Search for something like thisCode:public void getRequirements(String itemName, int itemId) {
underCode:switch(itemId) { case 8839: case 8840: case 8842: case 11663: case 11664: case 11665: c.attackLevelReq = 42; c.rangeLevelReq = 42; c.strengthLevelReq = 42; c.magicLevelReq = 42; c.defenceLevelReq = 42; return; case 10551:
put thisCode:switch(itemId) {
[SPOIL]
case 12000:
c.attackLevelReq = 75;
return;
[/SPOIL]
Are the items added into item.cfg? Not sure if that would cause a problem o.O Just curious.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |