mes "[魔法師]";
mes "你想要給你身上的";
mes "^0000FF+"+getequiprefinerycnt(2)+" "+getequipname(2)+"^000000";
mes "施加魔法嗎?";
mes "那麼你確定要進行附魔嗎?";
mes "還需要"+$@fumozeny+"Zeny喔";
for ( set .@i,0; .@itemst != 16; set .@i,.@i+1 )
set .@itemst,""+getinventoryinfo(.@i,2);
set .@i,.@i-1;
set .@restst1," "+getinventoryinfo(.@i,0);
set .@restst2," "+getinventoryinfo(.@i,1);
set .@restst3," "+getinventoryinfo(.@i,3);
set .@restst4," "+getinventoryinfo(.@i,6);
set .@restst5," "+getinventoryinfo(.@i,9);
mes "[魔法師]";
mes "那我們開始吧";
pcblockmove getcharid(3),1;
progressbar "ffff00",3;
pcblockmove getcharid(3),0;
delinventory .@i,1;
set .@fumorefi,rand(1,100);
misceffect 305;
set .@fumorand,rand(1,$@fumomax);
mes "[魔法師]";
mes "成功了!! 非常漂亮!";
getitem2 .@restst1,1,1,.@restst3,0,.@restst4,0,0,callfunc("F_RandMes",6,4709,4719,4729,4739,4749,4759,4761,4763,4765,4767,4808,4812,4816,4837,4842)+.@fumorand;
close;