prontera.dwm,146,96,5 script 完美精炼铁匠 735,{
lockitem 1;
mes "[完美精炼铁匠]";
mes "你好,我可以为你安全精练各种装备.";
mes "告诉我你需要精练哪个装备.";
next;
equipmenu @POSITION,@WEAPONLEVEL,@REFINELEVEL;
check @POSITION == 0,L_LOOT_6,-;
check @WEAPONLEVEL == 99,-,L_START_1;
check @POSITION == 1,-,L_LOOT_1;
mes "[完美精炼铁匠]";
mes "你想我把你的脑袋给精炼了?#=#";
goto L_EXIT;
L_LOOT_1:
check @POSITION == 2,-,L_LOOT_2;
mes "[完美精炼铁匠]";
mes "要我把你的身体拿去回回炉?##";
goto L_EXIT;
L_LOOT_2:
check @POSITION == 3,-,L_LOOT_3;
mes "[完美精炼铁匠]";
mes "我不能把你的左手当武器来炼!";
goto L_EXIT;
L_LOOT_3:
check @POSITION == 4,-,L_LOOT_4;
mes "[完美精炼铁匠]";
mes "我不能把你的右手当武器来炼!";
goto L_EXIT;
L_LOOT_4:
check @POSITION == 5,-,L_LOOT_5;
mes "[完美精炼铁匠]";
mes "你没穿披肩或斗篷吧?";
goto L_EXIT;
L_LOOT_5:
check @POSITION <= 6,-,L_LOOT_6;
mes "[完美精炼铁匠]";
mes "你怎么打赤脚?@@!";
中国网管论坛bbs.bitsCN.com
goto L_EXIT;
L_LOOT_6:
mes "[完美精炼铁匠]";
mes "这个物品不能精炼!";
goto L_EXIT;
L_START_1:
check @POSITION >= 7,L_LOOT_6,-;
check @REFINELEVEL == 99,-,L_START_2;
mes "[完美精炼铁匠]";
mes "这个物品不能精炼!";
goto L_EXIT;
L_START_2:
check @REFINELEVEL == 10,-,L_START_3;
mes "[完美精炼铁匠]";
mes "已经+10了,我没能力继续精炼了!";
goto L_EXIT;
L_START_3:
check @WEAPONLEVEL == 0,-,L_START_4;
mes "[完美精炼铁匠]";
mes "要精炼它, 我需要一块";
mes "^ff9999铝^000000 和";
mes "2Z";
mes "你是否愿意?";
next;
menu "是",-,"否",L_MENU_3_1;
set @REF_SUCCESS = 99;
check @REFINELEVEL >= 4,-,L_SUB_3_1;
check @REFINELEVEL == 4,-,L_LOOT_3_1;
set @REF_SUCCESS = 99;
goto L_SUB_3_0;
L_LOOT_3_1:
check @REFINELEVEL <= 6,-,L_LOOT_3_2;
set @REF_SUCCESS = 99;
goto L_SUB_3_0;
L_LOOT_3_2:
check @REFINELEVEL <= 8,-,L_LOOT_3_3;
set @REF_SUCCESS = 99;
goto L_SUB_3_0;
L_LOOT_3_3:
set @REF_SUCCESS = 99;
L_SUB_3_0:
中国网管联盟bitsCN.com
mes "[完美精炼铁匠]";
mes "你要继续精炼吗?";
next;
menu "是",L_SUB_3_1,"否",-;
mes "[完美精炼铁匠]";
mes "欢迎下次再来!";
goto L_EXIT;
L_SUB_3_1:
checkitem 985,1,-,L_SUB_3_2;
check Zeny >= 20000,-,L_SUB_3_2;
delitem 985,1;
set Zeny -= 20000,0;
goto L_START_8;
L_SUB_3_2:
mes "[完美精炼铁匠]";
mes "不好意思,你的钱或者材料不够了,";
mes "你要知道,我不可能免费为你服务!";
goto L_EXIT;
L_MENU_3_1:
mes "[完美精炼铁匠]";
mes "If you don't want to, that's fine ...";
goto L_EXIT;
L_START_4:
check @WEAPONLEVEL == 1,-,L_START_5;
mes "[完美精炼铁匠]";
mes "你要精炼这件1级武器吗?";
mes "精炼它, 我需要一块 ^ff9999一级强化金属^000000";
mes "和5Z";
mes "你是否愿意?";
next;
menu "是",-,"否",L_MENU_3_1;
set @REF_SUCCESS = 99;
check @REFINELEVEL >= 7,-,L_SUB_4_1;
check @REFINELEVEL == 7,-,L_LOOT_4_1;
set @REF_SUCCESS = 99;
goto L_SUB_4_0;
L_LOOT_4_1:
check @REFINELEVEL == 8,-,L_LOOT_4_2;
set @REF_SUCCESS = 99;
网管bitscn_com
goto L_SUB_4_0;
L_LOOT_4_2:
set @REF_SUCCESS = 99;
L_SUB_4_0:
mes "[完美精炼铁匠]";
mes "你要继续精炼吗?";
next;
menu "是",L_SUB_4_1,"否",-;
mes "[完美精炼铁匠]";
mes "欢迎下次再来!";
goto L_EXIT;
L_SUB_4_1:
checkitem 1010,1,-,L_SUB_3_2;
check Zeny >= 500,-,L_SUB_3_2;
delitem 1010,1;
set Zeny -= 500,0;
goto L_START_8;
L_START_5:
check @WEAPONLEVEL == 2,-,L_START_6;
mes "[完美精炼铁匠]";
mes "你要精炼这件2级武器吗?";
mes "精炼它, 我需要一块 ^ff9999二级强化金属^000000";
mes "和2 z.";
mes "你是否愿意?";
next;
menu "是",-,"否",L_MENU_3_1;
set @REF_SUCCESS = 99;
check @REFINELEVEL >= 6,-,L_SUB_5_1;
check @REFINELEVEL == 6,-,L_LOOT_5_1;
set @REF_SUCCESS = 99;
goto L_SUB_5_0;
L_LOOT_5_1:
check @REFINELEVEL == 7,-,L_LOOT_5_2;
set @REF_SUCCESS = 99;
goto L_SUB_5_0;
L_LOOT_5_2:
set @REF_SUCCESS = 99;
L_SUB_5_0:
mes "[完美精炼铁匠]";
mes "你要继续精炼吗?";
中国网管联盟bitsCN.com
next;
menu "是",L_SUB_5_1,"否",-;
mes "[完美精炼铁匠]";
mes "欢迎下次再来!";
goto L_EXIT;
L_SUB_5_1:
checkitem 1011,1,-,L_SUB_3_2;
check Zeny >= 2000,-,L_SUB_3_2;
delitem 1011,1;
set Zeny -= 2000,0;
goto L_START_8;
L_START_6:
check @WEAPONLEVEL == 3,-,L_START_7;
mes "[完美精炼铁匠]";
mes "你要精炼这件3级武器吗?";
mes "精炼它, 我需要一块 ^ff9999神之金属^000000";
mes "和 2z.";
mes "你是否愿意?";
next;
menu "Yes",-,"No",L_MENU_3_1;
set @REF_SUCCESS = 99;
check @REFINELEVEL >= 5,-,L_SUB_6_1;
check @REFINELEVEL == 5,-,L_LOOT_6_1;
set @REF_SUCCESS = 99;
goto L_SUB_6_0;
L_LOOT_6_1:
check @REFINELEVEL == 6,-,L_LOOT_6_2;
set @REF_SUCCESS = 99;
goto L_SUB_6_0;
L_LOOT_6_2:
set @REF_SUCCESS = 99;
L_SUB_6_0:
mes "[完美精炼铁匠]";
mes "你要继续精炼吗?";
next;
menu "是",L_SUB_6_1,"否",-;
mes "[完美精炼铁匠]";
mes "欢迎下次再来!";
goto L_EXIT;
L_SUB_6_1:
checkitem 984,1,-,L_SUB_3_2;
check Zeny >= 25000,-,L_SUB_3_2;
网管u家u.bitscn@com
delitem 984,1;
set Zeny -= 25000,0;
goto L_START_8;
L_START_7:
mes "[完美精炼铁匠]";
mes "你要精炼这件4级武器吗??";
mes "精炼它, 我需要一块 ^ff9999神之金属^000000";
mes "和5 z.";
mes "你是否愿意?";
next;
menu "是",-,"否",L_MENU_3_1;
set @REF_SUCCESS = 100;
check @REFINELEVEL >= 4,-,L_SUB_7_1;
check @REFINELEVEL == 4,-,L_LOOT_7_1;
set @REF_SUCCESS = 99;
goto L_SUB_7_0;
L_LOOT_7_1:
check @REFINELEVEL <= 6,-,L_LOOT_7_2;
set @REF_SUCCESS = 99;
goto L_SUB_7_0;
L_LOOT_7_2:
check @REFINELEVEL <= 8,-,L_LOOT_7_3;
set @REF_SUCCESS = 99;
goto L_SUB_7_0;
L_LOOT_7_3:
set @REF_SUCCESS = 99;
L_SUB_7_0:
mes "[完美精炼铁匠]";
mes "你要继续精炼吗?";
next;
menu "是",L_SUB_6_1,"否",-;
mes "[完美精炼铁匠]";
mes "欢迎下次再来!";
goto L_EXIT;
L_SUB_7_1:
checkitem 984,1,-,L_SUB_3_2;
check Zeny >= 50000,-,L_SUB_3_2;
delitem 984,1;
set Zeny -= 50000,0;
L_START_8:
mes "[完美精炼铁匠]";
mes "铿锵! 铿锵! 铿锵!!";
网管网www_bitscn_com
next;
random @REF_RAND,100;
check @REF_RAND < @REF_SUCCESS,-,L_START_9;
set @REFINELEVEL += 1;
refinery @POSITION,0,@REFINELEVEL;
mes "[完美精炼铁匠]";
mes "完成了!";
mes "成功精炼到你要求的等级!";
mes "现在你的装备比以前强多了,你很高兴吧?";
goto L_EXIT;
L_START_9:
refinery @POSITION,1,0;
mes "[完美精炼铁匠]";
mes "Oh noooooo......";
next;
mes "[完美精炼铁匠]";
mes "对不起,";
mes "你的装备在精炼过程中损坏了,";
L_EXIT:
lockitem 0;
close;
}
网管联盟bitsCN@com
网管网www.bitscn.com
建一个记事本把这些内容放到里面 网管网www_bitscn_com
然后把记事本放在服务端的script目录的NPC文件下 网管bitscn_com
进入游戏,在首都孙MM旁边就多了一个完美精炼匠
网管下载dl.bitscn.com
以上是针对wiess服务器的 网管联盟bitsCN_com
如果是Athena服务器的 网管下载dl.bitscn.com
就放在conf目录下,然后改conf目录下的conf_Athena_conf(用记事本打开) 网管网www_bitscn_com
添加NPC 网管下载dl.bitscn.com
网管bitscn_com