Adding godsword smithing!
Phailscape :: Tutorials :: Servers
Page 1 of 1
Adding godsword smithing!
Open client.java and search for "if ((itemUsed ==" until you see something like this,
Save compile and your done!
NOTE: you still need to add the god parts to monster drops etc.
after the last bracket addif ((itemUsed == #### ) && (useWith == ####)) {
deleteItem(15331, getItemSlot(15331), 1);
deleteItem(15339, getItemSlot(15339), 1);
addItem(15335, 1);
addSkillXP(50000, 13);
}
if ((itemUsed == #### ) && (useWith == ####)) {
deleteItem(2366, getItemSlot(2366), 1);
deleteItem(2368, getItemSlot(2368), 1);
addItem(1187, 1);
addSkillXP(5000, 13);
}
if ((itemUsed == 15341 ) && (useWith == 15342)) {
deleteItem(15341, getItemSlot(15341), 1);
deleteItem(15342, getItemSlot(15342), 1);
addItem(15330, 1);
addSkillXP(50000, 13);
}
if ((itemUsed == 15343 ) && (useWith == 15330)) {
deleteItem(15343, getItemSlot(15343), 1);
deleteItem(15330, getItemSlot(15330), 1);
addItem(15331, 1);
addSkillXP(50000, 13);
}
if ((itemUsed == 15331 ) && (useWith == 15340)) {
deleteItem(15331, getItemSlot(15331), 1);
deleteItem(15340, getItemSlot(15340), 1);
addItem(15336, 1);
addSkillXP(50000, 13);
}
if ((itemUsed == 15331 ) && (useWith == 15337)) {
deleteItem(15331, getItemSlot(15331), 1);
deleteItem(15337, getItemSlot(15337), 1);
addItem(15333, 1);
addSkillXP(50000, 13);
}
if ((itemUsed == 15331 ) && (useWith == 15338)) {
deleteItem(15331, getItemSlot(15331), 1);
deleteItem(15338, getItemSlot(15338), 1);
addItem(15334, 1);
addSkillXP(50000, 13);
}
if ((itemUsed == 15331 ) && (useWith == 15339)) {
deleteItem(15331, getItemSlot(15331), 1);
deleteItem(15339, getItemSlot(15339), 1);
addItem(15335, 1);
addSkillXP(50000, 13);
}
Save compile and your done!
NOTE: you still need to add the god parts to monster drops etc.
Mysticpkz- Forum Moderator
- Posts : 137
Join date : 2008-03-13
Age : 30
Location : Netherlands!
Similar topics
» Adding Objects
» Adding shops =D
» Adding requirements to wield something!
» Adding stats to items!
» Adding full brimhaven dungeon! TOOK A LONG TIME!
» Adding shops =D
» Adding requirements to wield something!
» Adding stats to items!
» Adding full brimhaven dungeon! TOOK A LONG TIME!
Phailscape :: Tutorials :: Servers
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum