원클릭제련
npc위치는 수정해서 사용 하세요
출처:엠펠리움
--------------------------------------------------------
refinery,53,72,3 script 디트리히 84,{
if(countitem(757)>=5) goto aaa;
if(countitem(756)>=5) goto bbb;
npctalk strcharinfo(0) + "님, 정제할 원석이 부족합니다.";
end;
aaa: delitem 757,5;
getitem 985,1;
goto aaa2;
aaa2:
if(countitem(757)>=5) goto aaa;
npctalk strcharinfo(0) + "님, 가지고 있는 원석을 모두 정제 완료했습니다.";
end;
bbb:
delitem 756,5;
getitem 984,1;
goto bbb2;
bbb2:
if(countitem(756)>=5) goto bbb;
npctalk strcharinfo(0) + "님, 가지고 있는 원석을 모두 정제 완료했습니다.";
end;
OnInit:
waitingroom "에르늄&오리정제",0;
end;
}
refinery,53,51,1 script 투구 제련 84,{
if (new!=1) goto aaa;
if (getequipisequiped(EQI_HEAD_TOP)) goto start;
npctalk strcharinfo(0) + "님, 제련하려면 먼저 제련하고자 하는 투구를 착용해주세요.";
end;
start:
if (getequiprefinerycnt(EQI_HEAD_TOP)==50) goto aaaaa;
if ((countitem(985) < 1) || (Zeny < 20000)) goto aaaaa;
goto L_REFINE_5;
aaa:
npctalk"클릭한번만으로 제련이 됩니다. 안전제련 이상 아이템도 한번에 제련되니 조심해 주세요";
set new,1;
end;
L_REFINE_5:
if (getequippercentrefinery(EQI_HEAD_TOP)<=rand(100)) goto L_REFINE_6;
successrefitem EQI_HEAD_TOP;
emotion 21;
goto gg;
L_REFINE_6:
failedrefitem EQI_HEAD_TOP;
emotion 23;
goto gg;
aaaaa:
npctalk strcharinfo(0) + "님이 착용중인 투구는 최대 제련에 도달해 더 이상 제련할 수 없습니다.";
end;
gg:
delitem 985,1;
set Zeny, Zeny-10000;
end;
OnInit:
waitingroom "투구 제련",0;
end;
}
refinery,38,43,7 script 갑옷 제련 84,{
if (new!=1) goto aaa;
if (getequipisequiped(EQI_ARMOR)) goto start;
npctalk strcharinfo(0) + "님, 제련하려면 먼저 제련하고자 하는 갑옷을 착용해주세요.";
end;
start:
if (getequiprefinerycnt(EQI_ARMOR)==50) goto aaaaa;
if ((countitem(985) < 1) || (Zeny < 20000)) goto aaaaa;
goto L_REFINE_5;
aaa:
npctalk"클릭한번만으로 제련이 됩니다. 안전제련 이상 아이템도 한번에 제련되니 조심해 주세요";
set new,1;
end;
L_REFINE_5:
if (getequippercentrefinery(EQI_ARMOR)<=rand(100)) goto L_REFINE_6;
successrefitem EQI_ARMOR;
emotion 21;
goto gg;
L_REFINE_6:
failedrefitem EQI_ARMOR;
emotion 23;
goto gg;
aaaaa:
npctalk strcharinfo(0) + "님이 착용중인 갑옷은 최대 제련에 도달해 더 이상 제련할 수 없습니다.";
end;
gg:
delitem 985,1;
set Zeny, Zeny-10000;
end;
OnInit:
waitingroom "갑옷 제련",0;
end;
}
refinery,41,94,5 script 왼손(방패)무기 제련 84,{
if (new!=1) goto aaa;
if (getequipisequiped(EQI_HAND_L)) goto start;
npctalk strcharinfo(0) + "님, 제련하려면 먼저 제련하고자 하는 왼손(방패)무기를 착용해주세요.";
end;
start:
if (getequiprefinerycnt(EQI_HAND_L)==50) goto aaaaa;
if (getequipweaponlv(EQI_HAND_L)==1) goto lv1;
if (getequipweaponlv(EQI_HAND_L)==2) goto lv2;
if (getequipweaponlv(EQI_HAND_L)==3) goto lv34;
if (getequipweaponlv(EQI_HAND_L)==4) goto lv34;
lv1:
if ((countitem(1010) < 1) || (Zeny < 100)) goto aaaaa;
delitem 1010,1;
set Zeny, Zeny-100;
goto refine;
lv2:
if ((countitem(1011) < 1) || (Zeny < 300)) goto aaaaa;
delitem 1011,1;
set Zeny, Zeny-300;
goto refine;
lv34:
if ((countitem(984) < 1) || (Zeny < 1000)) goto aaaaa;
delitem 984,1;
set Zeny, Zeny-1000;
goto refine;
aaa:
npctalk"클릭한번만으로 제련이 됩니다. 안전제련 이상 아이템도 한번에 제련되니 조심해 주세요";
set new,1;
end;
aaaaa:
npctalk strcharinfo(0) + "님이 착용중인 왼손(방패)무기는 최대 제련에 도달해 더 이상 제련할 수 없습니다.";
end;
refine:
if (getequippercentrefinery(EQI_HAND_L)<=rand(100)) goto Fail;
successrefitem EQI_HAND_L;
emotion 21;
end;
Fail:
failedrefitem EQI_HAND_L;
emotion 23;
end;
OnInit:
waitingroom "왼손(방패)무기제련",0;
end;
}
refinery,54,94,3 script 오른손무기 제련 84,{
if (new!=1) goto aaa;
if (getequipisequiped(EQI_HAND_R)) goto start;
npctalk strcharinfo(0) + "님, 제련하려면 먼저 제련하고자 하는 오른손무기를 착용해주세요.";
end;
start:
if (getequiprefinerycnt(EQI_HAND_R)==50) goto aaaaa;
if (getequipweaponlv(EQI_HAND_R)==1) goto lv1;
if (getequipweaponlv(EQI_HAND_R)==2) goto lv2;
if (getequipweaponlv(EQI_HAND_R)==3) goto lv34;
if (getequipweaponlv(EQI_HAND_R)==4) goto lv34;
lv1:
if ((countitem(1010) < 1) || (Zeny < 100)) goto aaaaa;
delitem 1010,1;
set Zeny, Zeny-100;
goto refine;
lv2:
if ((countitem(1011) < 1) || (Zeny < 300)) goto aaaaa;
delitem 1011,1;
set Zeny, Zeny-300;
goto refine;
lv34:
if ((countitem(984) < 1) || (Zeny < 1000)) goto aaaaa;
delitem 984,1;
set Zeny, Zeny-1000;
goto refine;
aaa:
npctalk"클릭한번만으로 제련이 됩니다. 안전제련 이상 아이템도 한번에 제련되니 조심해 주세요";
set new,1;
end;
aaaaa:
npctalk strcharinfo(0) + "님이 착용중인 오른손무기는 최대 제련에 도달해 더 이상 제련할 수 없습니다.";
end;
refine:
if (getequippercentrefinery(EQI_HAND_R)<=rand(100)) goto Fail;
successrefitem EQI_HAND_R;
emotion 21;
end;
Fail:
failedrefitem EQI_HAND_R;
emotion 23;
end;
OnInit:
waitingroom "오른손무기 제련",0;
end;
}
refinery,58,83,3 script 걸칠것 제련 84,{
if (new!=1) goto aaa;
if (getequipisequiped(EQI_GARMENT)) goto start;
npctalk strcharinfo(0) + "님, 제련하려면 먼저 제련하고자 하는 걸칠것을 착용해주세요.";
end;
start:
if (getequiprefinerycnt(EQI_GARMENT)==50) goto aaaaa;
if ((countitem(985) < 1) || (Zeny < 20000)) goto aaaaa;
goto L_REFINE_5;
aaa:
npctalk"클릭한번만으로 제련이 됩니다. 안전제련 이상 아이템도 한번에 제련되니 조심해 주세요";
set new,1;
end;
L_REFINE_5:
if (getequippercentrefinery(EQI_GARMENT)<=rand(100)) goto L_REFINE_6;
successrefitem EQI_GARMENT;
emotion 21;
goto gg;
L_REFINE_6:
failedrefitem EQI_GARMENT;
emotion 23;
goto gg;
aaaaa:
npctalk strcharinfo(0) + "님이 착용중인 걸칠것은 최대 제련에 도달해 더 이상 제련할 수 없습니다.";
end;
gg:
delitem 985,1;
set Zeny, Zeny-10000;
end;
OnInit:
waitingroom "걸칠것 제련",0;
end;
}
refinery,47,43,1 script 신발 제련 84,{
if (new!=1) goto aaa;
if (getequipisequiped(EQI_SHOES)) goto start;
npctalk strcharinfo(0) + "님, 제련하려면 먼저 제련하고자 하는 신발을 착용해주세요.";
end;
start:
if (getequiprefinerycnt(EQI_SHOES)==50) goto aaaaa;
if ((countitem(985) < 1) || (Zeny < 20000)) goto aaaaa;
goto L_REFINE_5;
aaa:
npctalk"클릭한번만으로 제련이 됩니다. 안전제련 이상 아이템도 한번에 제련되니 조심해 주세요";
set new,1;
end;
L_REFINE_5:
if (getequippercentrefinery(EQI_SHOES)<=rand(100)) goto L_REFINE_6;
successrefitem EQI_SHOES;
emotion 21;
goto gg;
L_REFINE_6:
failedrefitem EQI_SHOES;
emotion 23;
goto gg;
aaaaa:
npctalk strcharinfo(0) + "님이 착용중인 신발은 최대 제련에 도달해 더 이상 제련할 수 없습니다.";
end;
gg:
delitem 985,1;
set Zeny, Zeny-10000;
end;
OnInit:
waitingroom "신발 제련",0;
end;
}

루비아이 님의 최근 댓글
괌솨홥뉘돠 2021 02.06 압축암호에 탈자가 있네요 수정하려고 했지만 게시물신고로 수정및 삭제 불가... 암호 54 12입니다. 2018 01.09 SB요 ㅜㅜ 2018 01.08 봐서 반응이 좋으면 다른버전으로 하나더 올리고 아니면...뭐... 2018 01.04 받아가요 2018 01.04