viewing paste กฟไกฟไ | Objective-C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
if( ( getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100) ) || getequiprefinerycnt(.@part) < 4 )
{
    mes "[Suhnbi]";
    mes "ก๊อง! ก๊อง! ก๊อง!";
    successrefitem .@part;
 
    if( getequiprefinerycnt(.@part) > 7 )
    {
    announce "อัพเกรดอุปกรณ์ : ผู้เล่น [ "+strcharinfo(0)+" ] ได้ตีบวก "+getequipname(.@part)+" ขึ้น +"+(getequiprefinerycnt(.@part)+1)+" ติด",bc_all,0x99FF00;
    }
    else if( getequiprefinerycnt(.@part) > 9 )
    {
    announce "อัพเกรดอุปกรณ์ : ผู้เล่น [ "+strcharinfo(0)+" ] ได้ตีบวก "+getequipname(.@part)+" ขึ้น +"+(getequiprefinerycnt(.@part)+1)+" ติด",bc_all,0x99FF00;
    announce "อัพเกรดอุปกรณ์ : ผู้เล่น [ "+strcharinfo(0)+" ] ได้รับไอเท็ม "+getitemname(.Itemid)+" จำนวน +"+(.Iteamount)+" รายการ",bc_all,0x99FF00;
    getitem .Itemid,.Itemamount;
    }
 
    next;
    emotion e_no1;
    mes "[Suhnbi]";
    mes "เสร็จสมบูรณ์!";
    mes "เยี่ยมมาก.. อัจฉริยะนักตีเหล็ก~";
    mes "วันนี้ได้ทำงานที่ยอดเยี่ยมอีกชิ้นหนึ่งแล้ว";
    close;
}
Viewed 815 times, submitted by Guest.