source tested is z508 should work on all though.
search that in player.java
- Quote :
- public int getCLMagic(int ItemID) {
- Quote :
- public int getCLDefence(int ItemID) {
- Quote :
- public int getCLAttack(int ItemID) {
- Quote :
- public int getCLStrength(int ItemID) {
- Quote :
- public int getCLRanged(int ItemID) {
once you have found the one your looking for you should see something like below:
- Quote :
- String itemName = Engine.items.getItemName(ItemID);
if (itemName.equals("Mystic hat"))
return 40;
the 40 is the magic required to weild this item