瘋天堂私服發佈網站廣告欄位!
瘋天堂私服發佈網站您最佳的選擇!
免費曝光天堂私服的方式!
害怕天堂私服倒閉嗎?快使用天堂分析師!
天堂私服抽獎扭蛋物品及機率測試器
天堂私服稱號顏色製造器
瘋天堂私服發佈網站教您註冊推文收藏私服!
天堂私服血量魔力計算器
瘋天堂私服發布網站廣告贊助及爆料私服客服
教您如何不用註冊也可以推文天堂私服!
天堂私服270怪物查詢掉落資料庫
天堂私服盟徽製造器
test0428
2005-12-27 03:31

天堂與萊拉訂契約.圖騰的金錢修改的java教學!

與萊拉訂契約.圖騰的金錢修改.

l1j\server\server\clientpackets\C_NPCAction

找到這裡..
int totem = 0;
if (pc.getInventory().checkItem(40131)) {
totem++;
}
if (pc.getInventory().checkItem(40132)) {
totem++;
}
if (pc.getInventory().checkItem(40133)) {
totem++;
}
if (pc.getInventory().checkItem(40134)) {
totem++;
}
if (pc.getInventory().checkItem(40135)) {
totem++;
}
if (totem != 0) {
materials = new int[totem];
counts = new int[totem];
createitem = new int[totem];
createcount = new int[totem];
totem = 0;
materials = new int[totem];
counts = new int[totem];
createitem = new int[totem];
createcount = new int[totem];
totem = 0;
if (pc.getInventory().checkItem(40131)) {
L1ItemInstance l1iteminstance = pc.getInventory()
.findItemId(40131);
int i1 = l1iteminstance.getCount();
materials[totem] = 40131;
counts[totem] = i1;
createitem[totem] = L1ItemId.ADENA;
createcount[totem] = i1 * 500; <=====這裡
totem++;
}
if (pc.getInventory().checkItem(40132)) {
L1ItemInstance l1iteminstance = pc.getInventory()
.findItemId(40132);
int i1 = l1iteminstance.getCount();
materials[totem] = 40132;
counts[totem] = i1;
createitem[totem] = L1ItemId.ADENA;
createcount[totem] = i1 * 1000; <=====這裡
totem++;
}
if (pc.getInventory().checkItem(40133)) {
L1ItemInstance l1iteminstance = pc.getInventory()
.findItemId(40133);
int i1 = l1iteminstance.getCount();
materials[totem] = 40133;
counts[totem] = i1;
createitem[totem] = L1ItemId.ADENA;
createcount[totem] = i1 * 500; <=====這裡
totem++;
}
if (pc.getInventory().checkItem(40134)) {
L1ItemInstance l1iteminstance = pc.getInventory()
.findItemId(40134);
int i1 = l1iteminstance.getCount();
materials[totem] = 40134;
counts[totem] = i1;
createitem[totem] = L1ItemId.ADENA;
createcount[totem] = i1 * 300; <=====這裡
totem++;
}
if (pc.getInventory().checkItem(40135)) {
L1ItemInstance l1iteminstance = pc.getInventory()
.findItemId(40135);
int i1 = l1iteminstance.getCount();
materials[totem] = 40135;
counts[totem] = i1;
createitem[totem] = L1ItemId.ADENA;
createcount[totem] = i1 * 2000; <=====這裡
totem++;
}
}



上一篇文章:天堂新增連點武防捲的java教學!
下一篇文章:天堂超酷七彩變色卡的java教學!

分享文章:分享到微博! 分享到臉書! 分享到噗浪! 分享到維特! 分享到Google+! 分享到LINE!