라그나로크 환생 스크립트
prontera.gat,144,165,4 script 환생원샷 934,{
if (RBcount < 1) goto byebye;
mes "[환생축하한방]";
mes "";
mes "환생을 하신 분들께만 드리는 운영자님의 특별한 선물입니다.";
mes "제련을 기본 5에 환생횟수를 더하게 됩니다..";
mes "환생횟수를 포함하여 최대 +15까지 제련이 되는 것입니다.!!";
next;
mes "[환생축하한방]";
mes "";
mes "과다 제련으로 인해서 방어력이 '0'이 될 수 있습니다..";
mes "반듯이 방어구는 착용을 해제하시기 바랍니다.";
mes "이상현상에 대한 문제는 운영자가 책임지지 않습니다.!!";
mes "무기만 제련할 것을 권합니다..!!";
next;
menu "장비품을 모두 제련한다.",Lref1,"취소",Lcancel;
Lref1:
mes "[환생축하한방]";
mes "장비품들을 모두 제련하겠습니다.";
next;
set @rf, RBcount+5;
set @part,1;
goto L_START_0;
L_START_0:
if (getequipisequiped(@part)) goto L_START_1;
goto Lcheckenableref;
L_START_1:
if (getequipisenableref(@part)) goto L_START_2;
goto Lcheckenableref;
L_START_2:
if (getequipisidentify(@part)) goto L_START_3;
goto Lcheckenableref;
L_START_3:
if (getequiprefinerycnt(@part) < @rf) goto L_REFINE_ON;
goto Lcheckenableref;
L_REFINE_ON:
successrefitem @part;
goto L_START_3;
Lcheckenableref:
if (@part > @rf) goto L_STOP_REF;
set @part,@part+1;
goto L_START_0;
L_STOP_REF:
mes"[환생축하한방]";
mes "제련이 끝났습니다.";
emotion 23;
goto Lcancel;
Lcancel:
mes "[환생축하한방]";
mes "나중에 또 온네이~";
close;
byebye:
mes "[환생축하한방]";
mes "볼일이 없을듯한데...";
close;
}

로이로이1 님의 최근 댓글