UID187396
帖子
精華
主題
積分374
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限5
註冊時間2009-8-15
在線時間 小時
最後登錄1970-1-1
該用戶從未簽到
|
我的npc不知道為什麼用不了,說不了話...
腳本:
aldebaran.gat,148,128,4 script 人頭換物品 734,{
mes "[人頭換取員]";
mes "你需要用人頭換什麼物品嗎?";
next;
menu "卡片",L1,"裝備",L2,"取消",L3;
L1:
mes "[人頭換取員]";
mes "我隨機抽一張卡片給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $card,rand(4001,4441);
getitem $card,1;
close;
}
L2:
mes "[人頭換取員]";
mes "你需要哪一種裝備??";
next;
meun "劍",k1,"短劍",k2,"拳刃",k3,"斧",k4,"矛",k5,"錘",k6,"書",k7,"杖",k8,"弓",k9,"拳套",k10,"琴",k11,"鞭",k12,"盾",k13,"取消",L3;
k1:
mes "[人頭換取員]";
mes "我隨機抽一把劍給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $sword,rand(1101,1185);
getitem $sword,1;
close;
}
k2:
mes "[人頭換取員]";
mes "我隨機抽一把短劍給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $knife,rand(1201,1249);
getitem $knife,1;
close;
}
k3:
mes "[人頭換取員]";
mes "我隨機抽一把拳刃給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $jur,rand(1250,1280);
getitem $jur,1;
close;
}
k4:
mes "[人頭換取員]";
mes "我隨機抽一把斧頭給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $axe,rand(1301,1381);
getitem $axe,1;
close;
}
k5:
mes "[人頭換取員]";
mes "我隨機抽一把矛給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $spear,rand(1401,1482);
getitem $spear,1;
close;
}
k6:
mes "[人頭換取員]";
mes "我隨機抽一把錘給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $mace,rand(1501,1543);
getitem $mace,1;
close;
}
k7:
mes "[人頭換取員]";
mes "我隨機抽一本書給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $book,rand(1550,1575);
getitem $book,1;
close;
}
k8:
mes "[人頭換取員]";
mes "我隨機抽一把杖給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $staff,rand(1601,1636);
getitem $staff,1;
close;
}
k9:
mes "[人頭換取員]";
mes "我隨機抽一把弓給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $bow,rand(1701,1739);
getitem $bow,1;
close;
}
k10:
mes "[人頭換取員]";
mes "我隨機抽一對拳套給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $kunckle,rand(1801,1824);
getitem $kunckle,1;
close;
}
k11:
mes "[人頭換取員]";
mes "我隨機抽一把琴給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $Instrument,rand(1901,1924);
getitem $Instrument,1;
close;
}
k12:
mes "[人頭換取員]";
mes "我隨機抽一條鞭給你";
mes "先收取你5個人頭";
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $whip,rand(1950,1978);
getitem $whip,1;
close;
}
k13:
mes "[人頭換取員]";
mes "我隨機抽一個盾給你";
mes "先收取你5個人頭";
next;
if((countitem(7420) < 5) goto noitem;
delitem 7420,5; //Skull_
set $shield,rand(2101,2132);
getitem $shield,1;
close;
}
noitem:
mes "[人頭換取員]";
mes "你的人頭不夠哦!!";
close;
}
L3:
mes "[人頭換取員]";
mes "歡迎下次再來";
close;
} |
|