UID7597
帖子
精華
主題
積分5713
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限20
註冊時間2007-8-28
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 擦汗 2022-1-29 10:04 PM |
---|
簽到天數: 752 天 連續簽到: 1 天 [LV.10]以壇為家III
|
樓主 |
發表於 2015-11-3 10:39:33
|
顯示全部樓層
本帖最後由 www12350 於 2015-11-3 10:42 AM 編輯
Residue 發表於 2015-11-3 10:30 AM
基本上這腳本沒什麼問題
你物品的script怎麼寫的?
1.腳本內開頭
function script Refining {
.
.
.
.
.
mes "[黑白照]";
mes "精煉項目:^339900"+getequipname(@part)+"^000000^2F4F4F+"+getequiprefinerycnt(@part)+"^000000 至 ^A0522D+"+(getequiprefinerycnt(@part)+1)+"^000000";
mes "是否精煉此物品?";
menu "繼續精煉",-;
successrefitem @part;
if(getarg(0) == 5) set @stone_id,29060;
if(getarg(0) == 6) set @stone_id,29061;
if(getarg(0) == 7) set @stone_id,29062;
if(getarg(0) == 8) set @stone_id,29063;
if(getarg(0) == 9) set @stone_id,29064;
if(getarg(0) == 10) set @stone_id,29065;
delitem @stone_id,1;
mes "物品精煉成功,目前精煉值為:"+getarg(0)+".";
close;
}
2. item_db.txt
29060,嘐蝶萵惜戮,安全精石+5,11,60,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "Refining",5; },{},{}
3.iteminfo.lub
[29060] = {
unidentifiedDisplayName = "",
unidentifiedResourceName = "",
unidentifiedDescriptionName = {
},
identifiedDisplayName = "安全精鍊石+5",
identifiedResourceName = "嘐蝶萵惜戮",
identifiedDescriptionName = {
"僅限於+4武器防具",
"重量 : ^77777710^000000",
"要求等級 : ^7777771^000000",
"裝備 : ^777777全職業^000000",
},
slotCount = 0,
ClassNum = 0
},
4.黑窗內顯示都正常
- |
|