Ron.alone
26-07-11, 10:48 AM
share các bn vài script nhận đồ mình việt hoá từ sv này nèh :P
++script NPC gần dã tẩu (mình đã add full skill 9x trong script tại k biết làm script luyện skill :) )
Vào thư mục Server\script\两湖区\巴陵县\npc mở script 爱玩使者.lua = notepad rồi copy code này
Include("\\script\\两湖区\\巴陵县\\npc\\技能.lua");
Include("\\script\\刷装备.lua");
function main(sel)
Say("Ho tro tan thu",6,"Tang 1 cap/gmshengji1","Hoc max ky nang 90/dejineng","Sach tay diem/shuashu","Hoc full ky nang mon phai/jineng","Lay trang bi/ssss","Thoi/no");
--Say("村外的世界很精彩!",1,"不关我事/no");
end;
function dejineng()
Say("Xin chon phai",11,"Thien Vuong/tianwang","Thieu Lam/shaolin","Duong Mon/tangmeng","Ngu Doc/wudu","Nga Mi/emei","Thuy Yen/cuiyan","Thien Nhan/tianren","Cai Bang/gangbang","Con Lon/kunlun","Vo Dang/wudang","Thoi/no");
end
function tianwang()
player_Faction = GetFaction()
if (player_Faction == "天王帮") or (GetTask(130) == 2) then
AddMagic(55, 20) --破天斩
AddMagic(57, 20) --追星逐月
AddMagic(59, 20) --追风诀
else
Talk(1,"","Nhan duoc ky nang 90 Thien Vuong")
end
end
function shaolin()
player_Faction = GetFaction()
if (player_Faction == "少林派") or (GetTask(130) == 1) then
AddMagic(20, 20) --达摩渡江
AddMagic(22, 20) --横扫千军
AddMagic(24, 20) --无相斩
else
Talk(1,"","Nhan duoc ky nang 90 Thieu Lam")
end
end
function tangmeng()
player_Faction = GetFaction()
if (player_Faction == "唐门") or (GetTask(130) == 3) then
AddMagic(88, 20) --慑魂月影
AddMagic(91, 20) --暴雨梨花
AddMagic(94, 20) --九宫飞星
else
Talk(1,"","Nhan duoc ky nang 90 Duong Mon ")
end
end
function wudu()
player_Faction = GetFaction()
if (player_Faction == "五毒教") or (GetTask(130) == 4) then
AddMagic(118, 20) --阴风蚀骨
AddMagic(120, 20) --玄阴斩
else
Talk(1,"","Nhan duoc ky nang 90 Ngu Doc")
end
end
function emei()
player_Faction = GetFaction()
if (player_Faction == "峨嵋派") or (GetTask(130) == 5) then
AddMagic(149, 20) --风霜碎影
AddMagic(151, 20) --普渡众生
AddMagic(323, 20) --三峨霁雪
else
Talk(1,"","Nhan duoc ky nang 90 Nga Mi")
end
end
function cuiyan()
player_Faction = GetFaction()
if (player_Faction == "翠烟门") or (GetTask(130) == 6) then
AddMagic(169, 20) --冰踪无影
AddMagic(172, 20) --冰心仙子
else
Talk(1,"","Nhan duoc ky nang 90 Thuy Yen")
end
end
function tianren()
player_Faction = GetFaction()
if (player_Faction == "天忍教") or (GetTask(130) == 8) then
AddMagic(214, 20) --云龙击
AddMagic(216, 20) --天外流星
AddMagic(218, 20) --慑魂乱心
else
Talk(1,"","Nhan duoc ky nang 90 Thien Nhan")
end
end
function gangbang()
player_Faction = GetFaction()
if (player_Faction == "丐帮") or (GetTask(130) == 7) then
AddMagic(325, 20) --飞龙在天
AddMagic(328, 20) --天下无狗
else
Talk(1,"","Nhan duoc ky nang 90 Cai Bang")
end
end
function kunlun()
player_Faction = GetFaction()
if (player_Faction == "昆仑派") or (GetTask(130) == 10) then
AddMagic(269, 20) --傲雪啸风
AddMagic(272, 20) --雷动九天
AddMagic(274, 20) --醉仙错骨
else
Talk(1,"","Nhan duoc ky nang 90 Con Lon")
end
end
function wudang()
player_Faction = GetFaction()
if (player_Faction == "武当派") or (GetTask(130) == 9) then
AddMagic(236, 20) --天地无极
AddMagic(239, 20) --人剑合一
else
Talk(1,"","Nhan duoc ky nang 90 Vo Dang")
end
end
function gmshengji1()
if (GetLevel() <= 99) then
AddOwnExp(400000000)
else
Talk(1,"","不能再升级了")
end
end;
function shuashu()
AddEventItem("武林秘籍(残缺的)")
AddEventItem("洗髓经(残缺的)")
AddEventItem("般若心经")
end
function jineng() --给技能
xuejineng()
KickOutSelf()
end;
function baiming()
if (GetLevel() < 60) then
SetCurCamp(0)
Msg2Player("你成为新手状态,下线可还原!");
elseif (GetLevel() < 71 and GetTongName() == "") then
SetCurCamp(0)
Msg2Player("你成为新手状态,下线可还原!");
else
Say("你已不是新手,或已是帮会成员!",0,"");
end
end
function xftm()
player_Faction = GetFaction()
if (GetTask(130) == 3) and (HaveMagic(349)<1 ) then
AddMagic(349) --淬毒术
end
if (GetTask(130) == 3) and (HaveMagic(350)<1 ) then
AddMagic(350) --冰魄
end
if (player_Faction == "唐门") and (GetTask(120) > 3) and (HaveMagic(350)<1 ) then
AddMagic(350) --冰魄
end
if (player_Faction == "唐门") and (GetTask(120) > 4) and (HaveMagic(349)<1 ) then
AddMagic(349) --淬毒术
end
end
function no()
end
Các bạn mở tiếp file theo đường dẫn include \\script\\刷装备.lua và copy code vào
Include("\\script\\missions\\野叟对话.lua");
Include("\\script\\lib\\mem.lua");
Include("\\Script\\lib\\string.lua");
function zhuangbei_param(n)
local campdata ="DataFiles/zhuangbei.txt" ----读第N行数据----第二行为装备五行----第三行为多少件----第四行为明一属性等级
bhjl = openfile(campdata, "r");
local s = read(bhjl,"*all")
local bhjianl = split(s,"\n")
--local n= getn(bhjianl)-1
closefile(bhjl);
return tonumber(bhjianl[n])
end
function ssss()
a=random(10,10)
b=random(10,10)
c=random(10,10)
d=random(10,10)
e=random(10,10)
f=random(10,10)
Say("Chon trang bi can lay:", 16,"Vu khi/zhuangbei1","Am khi/zhuangbei2","Y phuc/zhuangbei3","Nhan/zhuangbei4","Ho than phu/zhuangbei5","Giay/zhuangbei6","Dai/zhuangbei7","Non/zhuangbei8","Ho thu/zhuangbei9","Ngoc boi/zhuangbei10","Nhan vat pham/renwupin","200v/qian100","100d danh vong/shengwang100","100d phuc duyen/fuyuan100","500d tich luy Tong Kim/sjjf500","Khong can/no");
end
function zhuangbei001()
n=zhuangbei_param(1)
wuxing=zhuangbei_param(2)
m=zhuangbei_param(3)
xuyun=zhuangbei_param(4)
lan1=zhuangbei_param(5)
lan2=zhuangbei_param(6)
lan3=zhuangbei_param(7)
lan4=zhuangbei_param(8)
lan5=zhuangbei_param(9)
lan6=zhuangbei_param(10)
for i=1,m do
AddItem(zhuangbei[n][2],zhuangbei[n][3], zhuangbei[n][4], zhuangbei[n][6], wuxing,xuyun,lan1,lan2,lan3,lan4,lan5,lan6) ---n为第几行装备,wuxing装备五行
end
end
function renwupin()
Say("Chon vat pham:", 11,"BUG/jinshu","10c banh trung thu/yuebing0","10b tien thao lo/xiancao0","10 thiet la han/luohan10","Vo lam mat tich/wulinmiji","Tay tuy kinh/xisuijing","Lenh bai goi BOSS/bbzh","Tho dia phu vo han/wuxianhuic","GM thao tac lenh/ggmm","Tam tam tuong anh phu/xxxy","Khong can/no");
end
function jinshu()
for i=242,272 do
AddEventItem(i)
end
for j=230,235 do
AddEventItem(j)
end
end;
function ggmm()
for i=1,1 do
AddEventItem("GM操作令")
end
end;
function xxxy()
for i=1,1 do
AddEventItem("心心相映符")
end
end;
function xiancao0()
for i=1,10 do
AddEventItem("仙草露")
end
end;
function yuebing0()
for i=1,10 do
AddEventItem("中秋月饼")
end
end;
function luohan10()
for i=1,10 do
AddEventItem("铁罗汉")
end
end;
function wulinmiji()
for i=1,1 do
AddEventItem("武林秘籍")
AddEventItem("武林秘籍(残缺的)")
AddEventItem("洗髓经(残缺的)")
end
end;
function xisuijing()
for i=1,1 do
AddEventItem("洗髓经")
end
end;
function bbzh()
for i=1,1 do
AddEventItem("BOSS召唤令")
end
end;
function wuxianhuic()
for i=1,1 do
AddEventItem("回城符(无限使用)")
end
end;
function fuyuan100()
AddLucks(100)
end
function shengwang100()
AddRepute(100);
end
function sjjf500()
pkrs = GetTask(192);
SetTask(192, pkrs+500);
end
function qian100()
Earn(2000000)
end;
function no()
end
function zhuangbei1()
Say("Chon ngu hanh:", 6,"Kim/jin1","Moc/mu1","Thuy/shui1","Hoa/huo1","Tho/tu1","Thoi/no");
end
function jin1()
for m=1,5 do
l=random(0,4)
AddItem(0,0,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu1()
for m=1,5 do
l=random(0,4)
AddItem(0,0,1,10,1,1000,a,b,c,d,f,0)
end
end
function shui1()
for m=1,5 do
l=random(0,4)
AddItem(0,0,3,10,2,1000,a,b,c,d,f,0)
end
end
function huo1()
for m=1,5 do
l=random(0,5)
AddItem(0,0,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu1()
for m=1,5 do
l=random(0,5)
AddItem(0,0,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei2()
Say("Chon ngu hanh:", 6,"Kim/jin2","Moc/mu2","Thuy/shui2","Hoa/huo2","Tho/tu2","Thoi/no");
end
function jin2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei3()
Say("Chon ngu hanh:", 6,"Kim/jin3","Moc/mu3","Thuy/shui3","Hoa/huo3","Tho/tu3","Thoi/no");
end
function jin3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,0,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,1,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,2,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,3,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,4,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei4()
Say("Chon ngu hanh:", 6,"Kim/jin4","Moc/mu4","Thuy/shui4","Hoa/huo4","Tho/tu4","Thoi/no");
end
function jin4()
for m=1,5 do
l=random(0,2)
AddItem(0,3,0,10,0,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,0,1000,a,b,c,d,f,0)
end
end
function mu4()
for m=1,5 do
l=random(0,1)
AddItem(0,3,0,10,1,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,1,1000,a,b,c,d,f,0)
end
end
function shui4()
for m=1,5 do
l=random(0,1)
AddItem(0,3,0,10,2,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,2,1000,a,b,c,d,f,0)
end
end
function huo4()
for m=1,5 do
l=random(0,1)
AddItem(0,3,0,10,3,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,3,1000,a,b,c,d,f,0)
end
end
function tu4()
for m=1,5 do
l=random(0,1)
AddItem(0,3,0,10,4,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei5()
Say("Chon ngu hanh:", 6,"Kim/jin5","Moc/mu5","Thuy/shui5","Hoa/huo5","Tho/tu5","Thoi/no");
end
function jin5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei6()
Say("Chon ngu hanh:", 6,"Kim/jin6","Moc/mu6","Thuy/shui6","Hoa/huo6","Tho/tu6","Thoi/no");
end
function jin6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,0,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,1,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,2,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,3,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,4,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei7()
Say("Chon ngu hanh:", 6,"Kim/jin7","Moc/mu7","Thuy/shui7","Hoa/huo7","Tho/tu7","Thoi/no");
end
function jin7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei8()
Say("Chon ngu hanh:", 6,"Kim/jin8","Moc/mu8","Thuy/shui8","Hoa/huo8","Tho/tu8","Thoi/no");
end
function jin8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,0,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,1,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,2,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,3,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,4,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei9()
Say("Chon ngu hanh:", 6,"Kim/jin9","Moc/mu9","Thuy/shui9","Hoa/huo9","Tho/tu9","Thoi/no");
end
function jin9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei10()
Say("Chon ngu hanh:", 6,"Kim/jin10","Moc/mu10","Thuy/shui10","Hoa/huo10","Tho/tu10","Thoi/no");
end
function jin10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,4,1000,a,b,c,d,f,0)
end
end
++script nhận đồ tại A Phương (mình đã add thêm ngọc bội để full set AB)
Server\script\两湖区\巴陵县\npc mở script 巴陵县_路人9阿芳对话.lua copy code
function main(sel)
Say("Tieu Ngu:Xin chao GM, moi thuc hien thao tac!", 5, "Lay trang bi/boss","Lay dai le bao/dalibao1","Lay kim nguyen bao/yuanbao1","Khong can nua/no","Nhan 5000v kinh nghiem/giveExp");
end;
----------------------------------物品道具--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function boss()
Say("<color=yellow>GM01<color>:<color=pink>NPC ho tro GM!GM,co the lay tat ca vat pham!!!!<color>", 6,"Vu khi Bach Kim mon phai/getGold","Trang bi Hoang Kim mon phai/menpai","Trang bi kich hoat full opt/taozhuang","Lay nhan GM/shuangm","Ky nang that truyen/huanguang1","Thoi,ta chua can/no")
end;
function getGold()
Say("<color=yellow>GM01<color>:<color=pink>GM da chon vu khi Bach Kim mon phai, moi xem qua!<color>",11,"Thieu Lam/shaolin12","Thien Vuong/tianwang12","Duong Mon/tangmen12","Ngu Doc/wudu12","Nga Mi/emei12","Thuy Yen/cuiyan12","Thien Nhan/tianren12","Cai Bang/gaibang12","Vo Dang/wudang12","Con Lon/kunlun12","Quay ve/main")
end;
function shaolin12()
i=random(0,4)
AddItem(0,0,23,10,i,99,10);
AddItem(0,0,24,10,i,99,10);
Msg2Player("Chuc mung GM,thao tac thanh cong!!!")
end;
function tianwang12()
i=random(0,4)
AddItem(0,0,20,10,i,99,10);
AddItem(0,0,21,10,i,99,10);
AddItem(0,0,22,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function tangmen12()
i=random(0,4)
AddItem(0,1,6,10,i,99,10);
AddItem(0,1,7,10,i,99,10);
AddItem(0,1,8,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function wudu12()
i=random(0,4)
AddItem(0,0,28,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function emei12()
i=random(0,4)
AddItem(0,0,25,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function cuiyan12()
i=random(0,4)
AddItem(0,0,26,10,i,99,10);
AddItem(0,0,27,10,0,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function tianren12()
i=random(0,4)
AddItem(0,0,30,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function gaibang12()
i=random(0,4)
AddItem(0,0,29,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function wudang12()
i=random(0,4)
AddItem(0,0,31,10,i,99,10);
AddItem(0,0,32,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function kunlun12()
i=random(0,4)
AddItem(0,0,33,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function menpai()
Say("<color=yellow>GM01<color>:<color=pink>Moi chon mon phai?<color>",12,"Thieu Lam/shaolin","Thien Vuong/tianwang","Duong Mon/tangmen","Ngu Doc/wudu","Nga Mi/emei","Thuy Yen/cuiyan","Thien Nhan/tianren","Cai Bang/gaibang","Vo Dang/wudang","Con Lon/kunlun","Quay ve/main","Thoi/no")
end;
function shaolin()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Thieu Lam!!!/shaolin1","Thoi/no")
end;
function shaolin1()
i=random(0,4)
AddItem(0,5,9,10,i,99,10); --梦龙之达魔僧鞋
AddItem(0,2,29,10,i,99,10); --梦龙之金丝正红袈裟
AddItem(0,8,5,10,i,99,10); --四空之软皮护腕
AddItem(0,5,10,10,i,99,10); --伏魔之普渡僧鞋
AddItem(0,2,30,10,i,99,10); --伏魔之玄黄袈裟
AddItem(0,2,31,10,i,99,10); --四空之紫金袈裟
AddItem(0,6,5,10,i,99,10); --梦龙之玄丝法带
AddItem(0,6,6,10,i,99,10); --伏魔之乌金软绦
AddItem(0,6,7,10,i,99,10); --四空之护法腰带
AddItem(0,7,29,10,i,99,10); --梦龙之正黄僧帽
AddItem(0,3,5,10,i,99,10); --四空之戒律法戒
AddItem(0,9,3,10,i,99,10); --梦龙之佛法玄佩
AddItem(0,9,4,10,i,99,10); --伏魔之佛心软扣
Msg2Player("Nhan duoc set Hoang Kim mon phai Thieu Lam!!!")
end;
function tianwang()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Thien Vuong!!!/tianwang1","Thoi/no")
end;
function tianwang1()
i=random(0,4)
AddItem(0,2,33,10,i,99,10); --继业之玄武黄金铠
AddItem(0,8,7,10,i,99,10); --继业之火云麒麟手
AddItem(0,3,6,10,i,99,10); --御龙之绝命指环
AddItem(0,5,12,10,i,99,10); --继业之朱雀凌云鞋
AddItem(0,4,3,10,i,99,10); --御龙之战神挂坠
AddItem(0,2,32,10,i,99,10); --撼天之武神镶金甲
AddItem(0,6,9,10,i,99,10); --继业之白虎无双扣
AddItem(0,6,8,10,i,99,10); --撼天之威武束腰环
AddItem(0,6,10,10,i,99,10); --御龙之天门束腰环
AddItem(0,5,11,10,i,99,10); --撼天之乘龙战靴
AddItem(0,8,6,10,i,99,10); --撼天之虎头紧束腕
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Thien Vuong!!!")
end;
function tangmen()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Duong Mon!!!/tangmen1","Thoi/no")
end;
function tangmen1()
i=random(0,4)
AddItem(0,2,39,10,i,99,10); --冰寒之玄衣束甲
AddItem(0,5,18,10,i,99,10); --天光之地行千里靴
AddItem(0,6,15,10,i,99,10); --冰寒之心箭腰扣
AddItem(0,6,16,10,i,99,10); --天光之森罗束腰
AddItem(0,6,17,10,i,99,10); --森荒之之魂咬腰束
AddItem(0,2,40,10,i,99,10); --森寒之金钱连环甲
AddItem(0,5,16,10,i,99,10); --冰寒之月影靴
AddItem(0,7,34,10,i,99,10); --地魄之五行连环冠
AddItem(0,5,17,10,i,99,10); --森荒之星陨飞履
AddItem(0,8,13,10,i,99,10); --天光之风暴寒铁镯
AddItem(0,9,8,10,i,99,10); --冰寒之玄天冰火佩
AddItem(0,9,9,10,i,99,10); --森荒之玄铁镶玉佩
AddItem(0,4,7,10,i,99,10); --天光之定心凝神符
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Duong Mon!!!")
end;
function wudu()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Ngu Doc!!!/wudu1","Thoi/no")
end;
function wudu1()
i=random(0,4)
AddItem(0,2,38,10,i,99,10); --冥幻之幽蛊暗衣
AddItem(0,8,10,10,i,99,10); --幽胧之银蟾护手
AddItem(0,5,15,10,i,99,10); --冥幻之双环蛇鞋
AddItem(0,5,14,10,i,99,10); --幽胧之墨蛛软履
AddItem(0,2,37,10,i,99,10); --幽胧之赤蝎秘装
AddItem(0,6,14,10,i,99,10); --幽胧之青蜈缠腰
AddItem(0,8,12,10,i,99,10); --咒缚之穿心毒腕
AddItem(0,8,11,10,i,99,10); --冥幻之腐骨护腕
AddItem(0,7,32,10,i,99,10); --幽胧之金蛇发带
AddItem(0,7,33,10,i,99,10); --咒缚之破甲头环
AddItem(0,3,13,10,i,99,10); --冥幻之毒蝎指环
AddItem(0,3,14,10,i,99,10); --咒缚之幽幻指环
AddItem(0,4,6,10,i,99,10); --咒缚之灭雷颈符
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Ngu Doc!!!")
end;
function emei()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Nga Mi!!!/emei1","Thoi/no")
end;
function emei1()
i=random(0,4)
AddItem(0,2,35,10,i,99,10); --无魇之紫襟袈裟
AddItem(0,8,8,10,i,99,10); --无间之琴韵护腕
AddItem(0,7,30,10,i,99,10); --无魇之摩尼冠
AddItem(0,7,31,10,i,99,10); --无尘之玉女素心冠
AddItem(0,5,13,10,i,99,10); --无魇之红缁软禢鞋
AddItem(0,3,7,10,i,99,10); --无间之白玉般指
AddItem(0,9,5,10,i,99,10); --无魇之洗象玉扣
AddItem(0,2,34,10,i,99,10); --无间清风缁衣
AddItem(0,6,11,10,i,99,10); --无间拂云丝带
AddItem(0,3,8,10,i,99,10); --无魇之冰晶指环
AddItem(0,3,9,10,i,99,10); --无尘之慈悲玉般指
AddItem(0,3,10,10,i,99,10); --无尘之佛光指环
AddItem(0,9,6,10,i,99,10); --无尘之佛心慈佑腰佩
AddItem(0,4,4,10,i,99,10); --无尘之清心向善珠
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Nga Mi!!!")
end;
function cuiyan()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Thuy Yen!!!/cuiyan1","Thoi/no")
end;
function cuiyan1()
i=random(0,4)
AddItem(0,2,36,10,i,99,10); --栖凰之慧心轻纱衣
AddItem(0,8,9,10,i,99,10); --栖凰之冰踪锦腕
AddItem(0,6,12,10,i,99,10); --栖凰之雪白云束带
AddItem(0,6,13,10,i,99,10); --碧海之红铃金丝带
AddItem(0,3,12,10,i,99,10); --碧海之纤细指环
AddItem(0,3,11,10,i,99,10); --栖凰之翠玉指环
AddItem(0,9,7,10,i,99,10); --碧海之红铃波
AddItem(0,4,5,10,i,99,10); --碧海之环珠雨链
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Thuy Yen!!!")
end;
function tianren()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Thien Nhan!!!/tianren1","Thoi/no")
end;
function tianren1()
i=random(0,4)
AddItem(0,2,43,10,i,99,10); --魔煞之残阳映血甲
AddItem(0,8,16,10,i,99,10); --魔煞之举火燎天腕
AddItem(0,4,8,10,i,99,10); --魔煌之按出虎项圈
AddItem(0,5,20,10,i,99,10); --魔嗜之山海飞鸿履
AddItem(0,6,20,10,i,99,10); --魔煞之赤骥锁腰扣
AddItem(0,6,21,10,i,99,10); --魔煌之溪谷束腰扣
AddItem(0,8,17,10,i,99,10); --魔煌之血衣兽镯
AddItem(0,7,35,10,i,99,10); --魔嗜之烈焰冠冕
AddItem(0,3,17,10,i,99,10); --魔煞之云龙吐珠戒
AddItem(0,3,18,10,i,99,10); --魔嗜之业火幽冥戒
AddItem(0,9,10,10,i,99,10); --魔嗜之血玉七杀佩
AddItem(0,4,9,10,i,99,10); --魔嗜之厉魔噬心链
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Thien Nhan")
end;
function gaibang()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Cai Bang!!!/gaibang1","Thoi/no")
end;
function gaibang1()
i=random(0,4)
AddItem(0,2,41,10,i,99,10); --同仇之降龙丐衣
AddItem(0,6,18,10,i,99,10); --同仇之仇之潜龙腰带
AddItem(0,6,19,10,i,99,10); --敌忾之忾之缠莽腰带
AddItem(0,8,14,10,i,99,10); --同仇之亢龙护手
AddItem(0,2,42,10,i,99,10); --敌忾之九袋丐衣
AddItem(0,8,15,10,i,99,10); --敌忾之狗脊皮护腕
AddItem(0,3,15,10,i,99,10); --同仇之见龙扳指
AddItem(0,3,16,10,i,99,10); --敌忾之草间石戒
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Cai Bang!!!")
end;
function wudang()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Vo Dang!!!/wudang1","Thoi/no")
end;
function wudang1()
i=random(0,4)
AddItem(0,3,19,10,i,99,10); --凌岳之怒雷法戒
AddItem(0,3,21,10,i,99,10); --及丰之清松法戒
AddItem(0,3,20,10,i,99,10); --凌岳之天地玄黄戒
AddItem(0,6,22,10,i,99,10); --及丰之玄丝三段锦
AddItem(0,4,10,10,i,99,10); --及丰之三清符
AddItem(0,9,12,10,i,99,10); --及丰之翠玉玄黄佩
AddItem(0,2,44,10,i,99,10); --凌岳之无我道袍
AddItem(0,9,11,10,i,99,10); --凌岳之无极玄玉佩
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Vo Dang!!!")
end;
function kunlun()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Con Lon/kunlun1","Thoi/no")
end;
function kunlun1()
i=random(0,4)
AddItem(0,2,45,10,i,99,10); --霜晶之傲霜道袍
AddItem(0,7,36,10,i,99,10); --雷穹之寒松冰柏冠
AddItem(0,8,18,10,i,99,10); --霜晶之天清冰晶手
AddItem(0,4,11,10,i,99,10); --雷穹之天地护符
AddItem(0,5,21,10,i,99,10); --雾幻之松风雪影靴
AddItem(0,3,22,10,i,99,10); --霜晶之风暴指环
AddItem(0,3,23,10,i,99,10); --雷穹之九天引雷戒
AddItem(0,6,23,10,i,99,10); --霜晶之清风缕带
AddItem(0,6,24,10,i,99,10); --雷穹之风雷青锦带
AddItem(0,7,37,10,i,99,10); --雾幻之北冥道冠
AddItem(0,3,24,10,i,99,10); --雾幻之束心指环
AddItem(0,9,13,10,i,99,10); --雷穹之灵玉蕴雷
AddItem(0,9,14,10,i,99,10); --雾幻之清影玄玉佩
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Con Lon!!!")
end;
function taozhuang()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",4,"set Dinh Quoc/taozhuang1","set An Bang/taozhuang2","cap nhan Vo Danh/taozhuang23","Thoi/no")
end;
function taozhuang1()
i=random(0,4)
AddItem(0,2,28,10,i,99,10); --定国之青纱长衫
AddItem(0,7,28,10,i,99,10); --定国之钨砂发冠
AddItem(0,5,8,10,i,99,10); --定国之赤绢软靴
AddItem(0,8,4,10,i,99,10); --定国之紫藤护腕
AddItem(0,6,4,10,i,99,10); --定国之银蚕腰带
Msg2Player("Chuc mung nhan duoc trang bi!!!")
end;
function taozhuang2()
i=random(0,4)
AddItem(0,3,1,10,i,99,10); --安邦之菊花石指环
AddItem(0,3,2,10,i,99,10); --安邦之鸡血石戒指
AddItem(0,4,2,10,i,99,10); --安邦之冰晶石项链
AddItem(0,9,2,10,i,99,10); --安邦之田黄石玉佩
Msg2Player("Chuc mung nhan duoc trang bi!!!")
end;
function taozhuang23()
i=random(0,4)
AddItem(0,3,3,10,i,99,10); --雅典之魂
AddItem(0,3,4,10,i,99,10); --北京之梦
Msg2Player("Chuc mung nhan duoc trang bi!!!")
end;
function shuangm()
i=random(0,4)
AddItem(0,3,26,10,i,99,10); --九阳绝对攻击指环
AddItem(0,3,25,10,i,99,10); --九阴绝对防御戒指
Msg2Player("Chuc mung nhan duoc trang bi!!!")
end;
function huanguang1()
AddMagic(348)
AddMagic(358)
AddMagic(359)
AddMagic(360)
AddMagic(361)
AddMagic(362)
AddMagic(363)
AddMagic(364)
AddMagic(365)
AddMagic(366)
AddMagic(367)
AddMagic(368)
Talk(1,"","GM:Thao tac thanh cong!he thong da them ky nang vao bang skill。")
end;
---------------------------------------------刷大礼包
function dalibao1()
Say("<color=yellow>GM<color>:Moi chon le vat。(<color=red>Chu y,chi GM duoc quyen chon,neu khong phai GM moi thoat ra!!!<color>)", 7, "Than bi dai le bao/shualibao1", "Cuong hoang dai le bao/shualibao2", "Than ma phu van dai le bao/shualibao3", "Chuong mon dai le bao/shualibao4", "Vo Lam Minh Chu dai le bao/shualibao5", "Hoang Kim bi pho/shualibao6", "Thoi/no");
end;
function shualibao1()
AddEventItem("神秘大礼包")
end;
function shualibao2()
AddEventItem("节日狂欢大礼包")
end;
function shualibao3()
AddEventItem("神马浮云大礼包")
end;
function shualibao4()
AddEventItem("掌门人大礼包")
end;
function shualibao5()
AddEventItem("武林盟主大礼包")
end;
function shualibao6()
AddEventItem("黄金兵器谱")
end;
function yuanbao1()
Say("<color=yellow>GM<color>:Moi chon le vat。(<color=red>Chu y,chi GM duoc quyen chon,khong phai GM xin moi thoat ra!!!<color>)", 2, "Kim Nguyen Bao/jinyuanbao1", "Khong can/no");
end;
function jinyuanbao1()
AddEventItem("金元宝")
end;
--------测试地图转送脚本结束----------------------------------------------
function no()
end;
function giveExp()
for i=1,300 do AddOwnExp(50000000) end
Msg2Player("Chuc mung!ban nhan duoc 5000v kinh nghiem!")
end;
++script nhận đồ tại Cổ Lão Thái:
Vào thư mục Server\script\两湖区\巴陵县\npc mở script 巴陵县_路人2古老太对话.lua và copy code
function main(sel)
Say("Su gia Awjx:Hoan nghenh tham gia Ai Ngoan Kiem Hiep, ban co the nhan vu khi Hoang Kim(Khong yeu cau nang diem),Moi chon:",12,"Vu khi Hoang Kim Mon Phai/huangjingwq","Thieu Lam/sl110","Thien Vuong/tw110","Duong Mon/tm110","Ngu Doc/wdd110","Nga Mi/em110","Thuy Yen/cy110","Cai Bang/gb110","Thien Nhan/tr110","Vo Dang/wd110","Con Lon/kl110","Khong can/no")
end;
function huangjing9()
end;
function no()
end;
---------------------------------------------------------天王
function tw110()
s=random(0,4)
AddItem(0,2,32,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,17,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,5,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------少林
function sl110()
s=random(0,4)
AddItem(0,2,31,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,4,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,4,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,16,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,4,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,4,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------唐门
function tm110()
s=random(0,4)
AddItem(0,2,33,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,18,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,6,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------五毒
function wdd110()
s=random(0,4)
AddItem(0,2,34,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,19,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,7,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------娥眉
function em110()
s=random(0,4)
AddItem(0,2,35,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,20,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,8,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------翠烟
function cy110()
s=random(0,4)
AddItem(0,2,36,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,21,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,9,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------天忍
function tr110()
s=random(0,4)
AddItem(0,2,38,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,23,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,11,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------丐帮
function gb110()
s=random(0,4)
AddItem(0,2,37,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,22,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,10,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------武当
function wd110()
s=random(0,4)
AddItem(0,2,39,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,14,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,24,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,12,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------昆仑
function kl110()
s=random(0,4)
AddItem(0,2,40,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,14,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,14,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,15,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,25,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,13,9,s,1000,10,10,10,10,10,10)
end;
function huangjingwq()
Say("Chon loai vu khi:O day co tat ca cac loai vu khi+9 tram yeu tru ma(Khong yeu cau nang diem),Moi chon:",9,"Vu khi trang 1/newjian","Vu khi trang 2/newddao","Vu khi trang 3/newgunzi","Vu khi trang 4/newqiang","Vu khi trang 5/newchuizi","Vu khi trang 6/newsdao","Vu khi trang 7/newaqi","Quay ve/main","Thoi/no")
end;
function newjian()
Say("Su gia:Chon vu khi phu hop:",6,"Ham Thien Dai Nhan Than Chuy/newjian1","Te Hoang Phung Nghi Dao/newjian2","Lang Nhac Thai Cuc Kiem/newjian3","BUG/newjian4","Quay ve/main","Thoi/no")
end;
function newddao()
Say("Su gia:Chon vu khi phu hop:",7,"Ke Nghiep Bon Loi Toan Long Thuong/newddao1","Bich Hai Uyen Uong Lien Hoan Dao/newddao2","Suong Tinh Thien Nien Han Thiet/newddao3","BUG/newddao4","Ma Sat Quy Coc U Minh Thuong/newddao5","Quay ve/main","Khong can/no")
end;
function newgunzi()
Say("Su gia:Chon vu khi phu hop:",5,"Ngu Long Luong Ngan Bao Dao/newgunzi1","Minh Ao Ta Sat Doc Nhan/newgunzi2","BUG/newgunzi3","Quay ve/main","Khong can/no")
end;
function newqiang()
Say("Su gia:Chon vu khi phu hop:",5,"Phuc Ma Tu Kim Con/newqiang1","Dinh Khai Luc Ngoc Truong/newqiang2","BUG/newqiang3","Quay ve/main","Khong can/no")
end;
function newchuizi()
Say("Su gia:Chon vu khi phu hop:",3,"Tu Khong Giang Ma Gioi Dao/newchuizi1","Quay ve/main","Khong can/no")
end;
function newsdao()
Say("Su gia:Chon vu khi phu hop:",5,"Vo Gian Y Thien Kiem/newsdao1","Cap Phong Chan Vu Kiem/newsdao2","BUG/newsdao3","Quay ve/main","Khong can/no")
end;
function newaqi()
Say("Su gia:Chon vu khi phu hop:",5,"Sam Hoang Phi Tinh Doat Hon/newaqi1","Bang Han Don Chi Phi Dao/newaqi2","Thien Quang Hoa Vu Man Thien/newaqi3","Quay ve/main","Khong can/no")
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newjian1()
j=random(0,4)
AddItem(0,0,0,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newjian2()
j=random(0,4)
AddItem(0,0,0,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newjian3()
j=random(0,4)
AddItem(0,0,0,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newjian4()
j=random(0,4)
AddItem(0,0,0,249,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao1()
j=random(0,4)
AddItem(0,0,1,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao2()
j=random(0,4)
AddItem(0,0,1,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao3()
j=random(0,4)
AddItem(0,0,1,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao4()
j=random(0,4)
AddItem(0,0,1,249,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao5()
j=random(0,4)
AddItem(0,0,4,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newgunzi1()
j=random(0,4)
AddItem(0,0,2,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newgunzi2()
j=random(0,4)
AddItem(0,0,2,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newgunzi3()
j=random(0,4)
AddItem(0,0,2,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newqiang1()
j=random(0,4)
AddItem(0,0,3,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newqiang2()
j=random(0,4)
AddItem(0,0,3,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newqiang3()
j=random(0,4)
AddItem(0,0,3,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newchuizi1()
j=random(0,4)
AddItem(0,0,4,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newsdao1()
j=random(0,4)
AddItem(0,0,5,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newsdao2()
j=random(0,4)
AddItem(0,0,5,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newsdao3()
j=random(0,4)
AddItem(0,0,5,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newaqi1()
j=random(0,4)
AddItem(0,1,0,39,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newaqi2()
j=random(0,4)
AddItem(0,1,1,39,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newaqi3()
j=random(0,4)
AddItem(0,1,2,39,j,1000,10,10,10,10,10,10)
end;
Đường dẫn đến script NPC Ba Lăng Huyện đây:Server\script\两湖区\巴陵县\ bạn nào thích có thể việt hoá tiếp :)
ĐÂy là bộ Item việt hoá k dấu ai cần thì lấy xài (chưa vh questkey.txt và magicattrib.txt)
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Muốn hiển thị tên item rớt dưới đất chỉ cần copy thư mục item đã việt hoá qua server là được
Mấy thứ này chỉ dành cho newbie pro nào biết rồi đừng chém mình nha :)
++script NPC gần dã tẩu (mình đã add full skill 9x trong script tại k biết làm script luyện skill :) )
Vào thư mục Server\script\两湖区\巴陵县\npc mở script 爱玩使者.lua = notepad rồi copy code này
Include("\\script\\两湖区\\巴陵县\\npc\\技能.lua");
Include("\\script\\刷装备.lua");
function main(sel)
Say("Ho tro tan thu",6,"Tang 1 cap/gmshengji1","Hoc max ky nang 90/dejineng","Sach tay diem/shuashu","Hoc full ky nang mon phai/jineng","Lay trang bi/ssss","Thoi/no");
--Say("村外的世界很精彩!",1,"不关我事/no");
end;
function dejineng()
Say("Xin chon phai",11,"Thien Vuong/tianwang","Thieu Lam/shaolin","Duong Mon/tangmeng","Ngu Doc/wudu","Nga Mi/emei","Thuy Yen/cuiyan","Thien Nhan/tianren","Cai Bang/gangbang","Con Lon/kunlun","Vo Dang/wudang","Thoi/no");
end
function tianwang()
player_Faction = GetFaction()
if (player_Faction == "天王帮") or (GetTask(130) == 2) then
AddMagic(55, 20) --破天斩
AddMagic(57, 20) --追星逐月
AddMagic(59, 20) --追风诀
else
Talk(1,"","Nhan duoc ky nang 90 Thien Vuong")
end
end
function shaolin()
player_Faction = GetFaction()
if (player_Faction == "少林派") or (GetTask(130) == 1) then
AddMagic(20, 20) --达摩渡江
AddMagic(22, 20) --横扫千军
AddMagic(24, 20) --无相斩
else
Talk(1,"","Nhan duoc ky nang 90 Thieu Lam")
end
end
function tangmeng()
player_Faction = GetFaction()
if (player_Faction == "唐门") or (GetTask(130) == 3) then
AddMagic(88, 20) --慑魂月影
AddMagic(91, 20) --暴雨梨花
AddMagic(94, 20) --九宫飞星
else
Talk(1,"","Nhan duoc ky nang 90 Duong Mon ")
end
end
function wudu()
player_Faction = GetFaction()
if (player_Faction == "五毒教") or (GetTask(130) == 4) then
AddMagic(118, 20) --阴风蚀骨
AddMagic(120, 20) --玄阴斩
else
Talk(1,"","Nhan duoc ky nang 90 Ngu Doc")
end
end
function emei()
player_Faction = GetFaction()
if (player_Faction == "峨嵋派") or (GetTask(130) == 5) then
AddMagic(149, 20) --风霜碎影
AddMagic(151, 20) --普渡众生
AddMagic(323, 20) --三峨霁雪
else
Talk(1,"","Nhan duoc ky nang 90 Nga Mi")
end
end
function cuiyan()
player_Faction = GetFaction()
if (player_Faction == "翠烟门") or (GetTask(130) == 6) then
AddMagic(169, 20) --冰踪无影
AddMagic(172, 20) --冰心仙子
else
Talk(1,"","Nhan duoc ky nang 90 Thuy Yen")
end
end
function tianren()
player_Faction = GetFaction()
if (player_Faction == "天忍教") or (GetTask(130) == 8) then
AddMagic(214, 20) --云龙击
AddMagic(216, 20) --天外流星
AddMagic(218, 20) --慑魂乱心
else
Talk(1,"","Nhan duoc ky nang 90 Thien Nhan")
end
end
function gangbang()
player_Faction = GetFaction()
if (player_Faction == "丐帮") or (GetTask(130) == 7) then
AddMagic(325, 20) --飞龙在天
AddMagic(328, 20) --天下无狗
else
Talk(1,"","Nhan duoc ky nang 90 Cai Bang")
end
end
function kunlun()
player_Faction = GetFaction()
if (player_Faction == "昆仑派") or (GetTask(130) == 10) then
AddMagic(269, 20) --傲雪啸风
AddMagic(272, 20) --雷动九天
AddMagic(274, 20) --醉仙错骨
else
Talk(1,"","Nhan duoc ky nang 90 Con Lon")
end
end
function wudang()
player_Faction = GetFaction()
if (player_Faction == "武当派") or (GetTask(130) == 9) then
AddMagic(236, 20) --天地无极
AddMagic(239, 20) --人剑合一
else
Talk(1,"","Nhan duoc ky nang 90 Vo Dang")
end
end
function gmshengji1()
if (GetLevel() <= 99) then
AddOwnExp(400000000)
else
Talk(1,"","不能再升级了")
end
end;
function shuashu()
AddEventItem("武林秘籍(残缺的)")
AddEventItem("洗髓经(残缺的)")
AddEventItem("般若心经")
end
function jineng() --给技能
xuejineng()
KickOutSelf()
end;
function baiming()
if (GetLevel() < 60) then
SetCurCamp(0)
Msg2Player("你成为新手状态,下线可还原!");
elseif (GetLevel() < 71 and GetTongName() == "") then
SetCurCamp(0)
Msg2Player("你成为新手状态,下线可还原!");
else
Say("你已不是新手,或已是帮会成员!",0,"");
end
end
function xftm()
player_Faction = GetFaction()
if (GetTask(130) == 3) and (HaveMagic(349)<1 ) then
AddMagic(349) --淬毒术
end
if (GetTask(130) == 3) and (HaveMagic(350)<1 ) then
AddMagic(350) --冰魄
end
if (player_Faction == "唐门") and (GetTask(120) > 3) and (HaveMagic(350)<1 ) then
AddMagic(350) --冰魄
end
if (player_Faction == "唐门") and (GetTask(120) > 4) and (HaveMagic(349)<1 ) then
AddMagic(349) --淬毒术
end
end
function no()
end
Các bạn mở tiếp file theo đường dẫn include \\script\\刷装备.lua và copy code vào
Include("\\script\\missions\\野叟对话.lua");
Include("\\script\\lib\\mem.lua");
Include("\\Script\\lib\\string.lua");
function zhuangbei_param(n)
local campdata ="DataFiles/zhuangbei.txt" ----读第N行数据----第二行为装备五行----第三行为多少件----第四行为明一属性等级
bhjl = openfile(campdata, "r");
local s = read(bhjl,"*all")
local bhjianl = split(s,"\n")
--local n= getn(bhjianl)-1
closefile(bhjl);
return tonumber(bhjianl[n])
end
function ssss()
a=random(10,10)
b=random(10,10)
c=random(10,10)
d=random(10,10)
e=random(10,10)
f=random(10,10)
Say("Chon trang bi can lay:", 16,"Vu khi/zhuangbei1","Am khi/zhuangbei2","Y phuc/zhuangbei3","Nhan/zhuangbei4","Ho than phu/zhuangbei5","Giay/zhuangbei6","Dai/zhuangbei7","Non/zhuangbei8","Ho thu/zhuangbei9","Ngoc boi/zhuangbei10","Nhan vat pham/renwupin","200v/qian100","100d danh vong/shengwang100","100d phuc duyen/fuyuan100","500d tich luy Tong Kim/sjjf500","Khong can/no");
end
function zhuangbei001()
n=zhuangbei_param(1)
wuxing=zhuangbei_param(2)
m=zhuangbei_param(3)
xuyun=zhuangbei_param(4)
lan1=zhuangbei_param(5)
lan2=zhuangbei_param(6)
lan3=zhuangbei_param(7)
lan4=zhuangbei_param(8)
lan5=zhuangbei_param(9)
lan6=zhuangbei_param(10)
for i=1,m do
AddItem(zhuangbei[n][2],zhuangbei[n][3], zhuangbei[n][4], zhuangbei[n][6], wuxing,xuyun,lan1,lan2,lan3,lan4,lan5,lan6) ---n为第几行装备,wuxing装备五行
end
end
function renwupin()
Say("Chon vat pham:", 11,"BUG/jinshu","10c banh trung thu/yuebing0","10b tien thao lo/xiancao0","10 thiet la han/luohan10","Vo lam mat tich/wulinmiji","Tay tuy kinh/xisuijing","Lenh bai goi BOSS/bbzh","Tho dia phu vo han/wuxianhuic","GM thao tac lenh/ggmm","Tam tam tuong anh phu/xxxy","Khong can/no");
end
function jinshu()
for i=242,272 do
AddEventItem(i)
end
for j=230,235 do
AddEventItem(j)
end
end;
function ggmm()
for i=1,1 do
AddEventItem("GM操作令")
end
end;
function xxxy()
for i=1,1 do
AddEventItem("心心相映符")
end
end;
function xiancao0()
for i=1,10 do
AddEventItem("仙草露")
end
end;
function yuebing0()
for i=1,10 do
AddEventItem("中秋月饼")
end
end;
function luohan10()
for i=1,10 do
AddEventItem("铁罗汉")
end
end;
function wulinmiji()
for i=1,1 do
AddEventItem("武林秘籍")
AddEventItem("武林秘籍(残缺的)")
AddEventItem("洗髓经(残缺的)")
end
end;
function xisuijing()
for i=1,1 do
AddEventItem("洗髓经")
end
end;
function bbzh()
for i=1,1 do
AddEventItem("BOSS召唤令")
end
end;
function wuxianhuic()
for i=1,1 do
AddEventItem("回城符(无限使用)")
end
end;
function fuyuan100()
AddLucks(100)
end
function shengwang100()
AddRepute(100);
end
function sjjf500()
pkrs = GetTask(192);
SetTask(192, pkrs+500);
end
function qian100()
Earn(2000000)
end;
function no()
end
function zhuangbei1()
Say("Chon ngu hanh:", 6,"Kim/jin1","Moc/mu1","Thuy/shui1","Hoa/huo1","Tho/tu1","Thoi/no");
end
function jin1()
for m=1,5 do
l=random(0,4)
AddItem(0,0,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu1()
for m=1,5 do
l=random(0,4)
AddItem(0,0,1,10,1,1000,a,b,c,d,f,0)
end
end
function shui1()
for m=1,5 do
l=random(0,4)
AddItem(0,0,3,10,2,1000,a,b,c,d,f,0)
end
end
function huo1()
for m=1,5 do
l=random(0,5)
AddItem(0,0,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu1()
for m=1,5 do
l=random(0,5)
AddItem(0,0,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei2()
Say("Chon ngu hanh:", 6,"Kim/jin2","Moc/mu2","Thuy/shui2","Hoa/huo2","Tho/tu2","Thoi/no");
end
function jin2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu2()
for m=1,5 do
l=random(0,2)
AddItem(0,1,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei3()
Say("Chon ngu hanh:", 6,"Kim/jin3","Moc/mu3","Thuy/shui3","Hoa/huo3","Tho/tu3","Thoi/no");
end
function jin3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,0,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,1,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,2,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,3,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu3()
for m=1,5 do
l=random(0,6)
AddItem(0,2,l,10,4,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,2,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei4()
Say("Chon ngu hanh:", 6,"Kim/jin4","Moc/mu4","Thuy/shui4","Hoa/huo4","Tho/tu4","Thoi/no");
end
function jin4()
for m=1,5 do
l=random(0,2)
AddItem(0,3,0,10,0,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,0,1000,a,b,c,d,f,0)
end
end
function mu4()
for m=1,5 do
l=random(0,1)
AddItem(0,3,0,10,1,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,1,1000,a,b,c,d,f,0)
end
end
function shui4()
for m=1,5 do
l=random(0,1)
AddItem(0,3,0,10,2,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,2,1000,a,b,c,d,f,0)
end
end
function huo4()
for m=1,5 do
l=random(0,1)
AddItem(0,3,0,10,3,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,3,1000,a,b,c,d,f,0)
end
end
function tu4()
for m=1,5 do
l=random(0,1)
AddItem(0,3,0,10,4,1000,a,b,c,d,f,0)
AddItem(0,3,0,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei5()
Say("Chon ngu hanh:", 6,"Kim/jin5","Moc/mu5","Thuy/shui5","Hoa/huo5","Tho/tu5","Thoi/no");
end
function jin5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu5()
for m=1,5 do
l=random(0,1)
AddItem(0,4,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei6()
Say("Chon ngu hanh:", 6,"Kim/jin6","Moc/mu6","Thuy/shui6","Hoa/huo6","Tho/tu6","Thoi/no");
end
function jin6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,0,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,1,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,2,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,3,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu6()
for m=1,5 do
l=random(0,3)
AddItem(0,5,l,10,4,1000,a,b,c,d,f,0)
AddItem(0,5,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei7()
Say("Chon ngu hanh:", 6,"Kim/jin7","Moc/mu7","Thuy/shui7","Hoa/huo7","Tho/tu7","Thoi/no");
end
function jin7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu7()
for m=1,5 do
l=random(0,1)
AddItem(0,6,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei8()
Say("Chon ngu hanh:", 6,"Kim/jin8","Moc/mu8","Thuy/shui8","Hoa/huo8","Tho/tu8","Thoi/no");
end
function jin8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,0,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,1,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,2,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,3,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu8()
for m=1,5 do
l=random(0,6)
AddItem(0,7,l,10,4,1000,a,b,c,d,f,0)
l=random(7,13)
AddItem(0,7,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei9()
Say("Chon ngu hanh:", 6,"Kim/jin9","Moc/mu9","Thuy/shui9","Hoa/huo9","Tho/tu9","Thoi/no");
end
function jin9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu9()
for m=1,5 do
l=random(0,1)
AddItem(0,8,l,10,4,1000,a,b,c,d,f,0)
end
end
function zhuangbei10()
Say("Chon ngu hanh:", 6,"Kim/jin10","Moc/mu10","Thuy/shui10","Hoa/huo10","Tho/tu10","Thoi/no");
end
function jin10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,0,1000,a,b,c,d,f,0)
end
end
function mu10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,1,1000,a,b,c,d,f,0)
end
end
function shui10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,2,1000,a,b,c,d,f,0)
end
end
function huo10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,3,1000,a,b,c,d,f,0)
end
end
function tu10()
for m=1,5 do
l=random(0,1)
AddItem(0,9,l,10,4,1000,a,b,c,d,f,0)
end
end
++script nhận đồ tại A Phương (mình đã add thêm ngọc bội để full set AB)
Server\script\两湖区\巴陵县\npc mở script 巴陵县_路人9阿芳对话.lua copy code
function main(sel)
Say("Tieu Ngu:Xin chao GM, moi thuc hien thao tac!", 5, "Lay trang bi/boss","Lay dai le bao/dalibao1","Lay kim nguyen bao/yuanbao1","Khong can nua/no","Nhan 5000v kinh nghiem/giveExp");
end;
----------------------------------物品道具--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function boss()
Say("<color=yellow>GM01<color>:<color=pink>NPC ho tro GM!GM,co the lay tat ca vat pham!!!!<color>", 6,"Vu khi Bach Kim mon phai/getGold","Trang bi Hoang Kim mon phai/menpai","Trang bi kich hoat full opt/taozhuang","Lay nhan GM/shuangm","Ky nang that truyen/huanguang1","Thoi,ta chua can/no")
end;
function getGold()
Say("<color=yellow>GM01<color>:<color=pink>GM da chon vu khi Bach Kim mon phai, moi xem qua!<color>",11,"Thieu Lam/shaolin12","Thien Vuong/tianwang12","Duong Mon/tangmen12","Ngu Doc/wudu12","Nga Mi/emei12","Thuy Yen/cuiyan12","Thien Nhan/tianren12","Cai Bang/gaibang12","Vo Dang/wudang12","Con Lon/kunlun12","Quay ve/main")
end;
function shaolin12()
i=random(0,4)
AddItem(0,0,23,10,i,99,10);
AddItem(0,0,24,10,i,99,10);
Msg2Player("Chuc mung GM,thao tac thanh cong!!!")
end;
function tianwang12()
i=random(0,4)
AddItem(0,0,20,10,i,99,10);
AddItem(0,0,21,10,i,99,10);
AddItem(0,0,22,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function tangmen12()
i=random(0,4)
AddItem(0,1,6,10,i,99,10);
AddItem(0,1,7,10,i,99,10);
AddItem(0,1,8,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function wudu12()
i=random(0,4)
AddItem(0,0,28,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function emei12()
i=random(0,4)
AddItem(0,0,25,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function cuiyan12()
i=random(0,4)
AddItem(0,0,26,10,i,99,10);
AddItem(0,0,27,10,0,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function tianren12()
i=random(0,4)
AddItem(0,0,30,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function gaibang12()
i=random(0,4)
AddItem(0,0,29,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function wudang12()
i=random(0,4)
AddItem(0,0,31,10,i,99,10);
AddItem(0,0,32,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function kunlun12()
i=random(0,4)
AddItem(0,0,33,10,i,99,10);
Msg2Player("Chuc mung GM, thao tac thanh cong!!!")
end;
function menpai()
Say("<color=yellow>GM01<color>:<color=pink>Moi chon mon phai?<color>",12,"Thieu Lam/shaolin","Thien Vuong/tianwang","Duong Mon/tangmen","Ngu Doc/wudu","Nga Mi/emei","Thuy Yen/cuiyan","Thien Nhan/tianren","Cai Bang/gaibang","Vo Dang/wudang","Con Lon/kunlun","Quay ve/main","Thoi/no")
end;
function shaolin()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Thieu Lam!!!/shaolin1","Thoi/no")
end;
function shaolin1()
i=random(0,4)
AddItem(0,5,9,10,i,99,10); --梦龙之达魔僧鞋
AddItem(0,2,29,10,i,99,10); --梦龙之金丝正红袈裟
AddItem(0,8,5,10,i,99,10); --四空之软皮护腕
AddItem(0,5,10,10,i,99,10); --伏魔之普渡僧鞋
AddItem(0,2,30,10,i,99,10); --伏魔之玄黄袈裟
AddItem(0,2,31,10,i,99,10); --四空之紫金袈裟
AddItem(0,6,5,10,i,99,10); --梦龙之玄丝法带
AddItem(0,6,6,10,i,99,10); --伏魔之乌金软绦
AddItem(0,6,7,10,i,99,10); --四空之护法腰带
AddItem(0,7,29,10,i,99,10); --梦龙之正黄僧帽
AddItem(0,3,5,10,i,99,10); --四空之戒律法戒
AddItem(0,9,3,10,i,99,10); --梦龙之佛法玄佩
AddItem(0,9,4,10,i,99,10); --伏魔之佛心软扣
Msg2Player("Nhan duoc set Hoang Kim mon phai Thieu Lam!!!")
end;
function tianwang()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Thien Vuong!!!/tianwang1","Thoi/no")
end;
function tianwang1()
i=random(0,4)
AddItem(0,2,33,10,i,99,10); --继业之玄武黄金铠
AddItem(0,8,7,10,i,99,10); --继业之火云麒麟手
AddItem(0,3,6,10,i,99,10); --御龙之绝命指环
AddItem(0,5,12,10,i,99,10); --继业之朱雀凌云鞋
AddItem(0,4,3,10,i,99,10); --御龙之战神挂坠
AddItem(0,2,32,10,i,99,10); --撼天之武神镶金甲
AddItem(0,6,9,10,i,99,10); --继业之白虎无双扣
AddItem(0,6,8,10,i,99,10); --撼天之威武束腰环
AddItem(0,6,10,10,i,99,10); --御龙之天门束腰环
AddItem(0,5,11,10,i,99,10); --撼天之乘龙战靴
AddItem(0,8,6,10,i,99,10); --撼天之虎头紧束腕
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Thien Vuong!!!")
end;
function tangmen()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Duong Mon!!!/tangmen1","Thoi/no")
end;
function tangmen1()
i=random(0,4)
AddItem(0,2,39,10,i,99,10); --冰寒之玄衣束甲
AddItem(0,5,18,10,i,99,10); --天光之地行千里靴
AddItem(0,6,15,10,i,99,10); --冰寒之心箭腰扣
AddItem(0,6,16,10,i,99,10); --天光之森罗束腰
AddItem(0,6,17,10,i,99,10); --森荒之之魂咬腰束
AddItem(0,2,40,10,i,99,10); --森寒之金钱连环甲
AddItem(0,5,16,10,i,99,10); --冰寒之月影靴
AddItem(0,7,34,10,i,99,10); --地魄之五行连环冠
AddItem(0,5,17,10,i,99,10); --森荒之星陨飞履
AddItem(0,8,13,10,i,99,10); --天光之风暴寒铁镯
AddItem(0,9,8,10,i,99,10); --冰寒之玄天冰火佩
AddItem(0,9,9,10,i,99,10); --森荒之玄铁镶玉佩
AddItem(0,4,7,10,i,99,10); --天光之定心凝神符
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Duong Mon!!!")
end;
function wudu()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Ngu Doc!!!/wudu1","Thoi/no")
end;
function wudu1()
i=random(0,4)
AddItem(0,2,38,10,i,99,10); --冥幻之幽蛊暗衣
AddItem(0,8,10,10,i,99,10); --幽胧之银蟾护手
AddItem(0,5,15,10,i,99,10); --冥幻之双环蛇鞋
AddItem(0,5,14,10,i,99,10); --幽胧之墨蛛软履
AddItem(0,2,37,10,i,99,10); --幽胧之赤蝎秘装
AddItem(0,6,14,10,i,99,10); --幽胧之青蜈缠腰
AddItem(0,8,12,10,i,99,10); --咒缚之穿心毒腕
AddItem(0,8,11,10,i,99,10); --冥幻之腐骨护腕
AddItem(0,7,32,10,i,99,10); --幽胧之金蛇发带
AddItem(0,7,33,10,i,99,10); --咒缚之破甲头环
AddItem(0,3,13,10,i,99,10); --冥幻之毒蝎指环
AddItem(0,3,14,10,i,99,10); --咒缚之幽幻指环
AddItem(0,4,6,10,i,99,10); --咒缚之灭雷颈符
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Ngu Doc!!!")
end;
function emei()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Nga Mi!!!/emei1","Thoi/no")
end;
function emei1()
i=random(0,4)
AddItem(0,2,35,10,i,99,10); --无魇之紫襟袈裟
AddItem(0,8,8,10,i,99,10); --无间之琴韵护腕
AddItem(0,7,30,10,i,99,10); --无魇之摩尼冠
AddItem(0,7,31,10,i,99,10); --无尘之玉女素心冠
AddItem(0,5,13,10,i,99,10); --无魇之红缁软禢鞋
AddItem(0,3,7,10,i,99,10); --无间之白玉般指
AddItem(0,9,5,10,i,99,10); --无魇之洗象玉扣
AddItem(0,2,34,10,i,99,10); --无间清风缁衣
AddItem(0,6,11,10,i,99,10); --无间拂云丝带
AddItem(0,3,8,10,i,99,10); --无魇之冰晶指环
AddItem(0,3,9,10,i,99,10); --无尘之慈悲玉般指
AddItem(0,3,10,10,i,99,10); --无尘之佛光指环
AddItem(0,9,6,10,i,99,10); --无尘之佛心慈佑腰佩
AddItem(0,4,4,10,i,99,10); --无尘之清心向善珠
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Nga Mi!!!")
end;
function cuiyan()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Thuy Yen!!!/cuiyan1","Thoi/no")
end;
function cuiyan1()
i=random(0,4)
AddItem(0,2,36,10,i,99,10); --栖凰之慧心轻纱衣
AddItem(0,8,9,10,i,99,10); --栖凰之冰踪锦腕
AddItem(0,6,12,10,i,99,10); --栖凰之雪白云束带
AddItem(0,6,13,10,i,99,10); --碧海之红铃金丝带
AddItem(0,3,12,10,i,99,10); --碧海之纤细指环
AddItem(0,3,11,10,i,99,10); --栖凰之翠玉指环
AddItem(0,9,7,10,i,99,10); --碧海之红铃波
AddItem(0,4,5,10,i,99,10); --碧海之环珠雨链
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Thuy Yen!!!")
end;
function tianren()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Thien Nhan!!!/tianren1","Thoi/no")
end;
function tianren1()
i=random(0,4)
AddItem(0,2,43,10,i,99,10); --魔煞之残阳映血甲
AddItem(0,8,16,10,i,99,10); --魔煞之举火燎天腕
AddItem(0,4,8,10,i,99,10); --魔煌之按出虎项圈
AddItem(0,5,20,10,i,99,10); --魔嗜之山海飞鸿履
AddItem(0,6,20,10,i,99,10); --魔煞之赤骥锁腰扣
AddItem(0,6,21,10,i,99,10); --魔煌之溪谷束腰扣
AddItem(0,8,17,10,i,99,10); --魔煌之血衣兽镯
AddItem(0,7,35,10,i,99,10); --魔嗜之烈焰冠冕
AddItem(0,3,17,10,i,99,10); --魔煞之云龙吐珠戒
AddItem(0,3,18,10,i,99,10); --魔嗜之业火幽冥戒
AddItem(0,9,10,10,i,99,10); --魔嗜之血玉七杀佩
AddItem(0,4,9,10,i,99,10); --魔嗜之厉魔噬心链
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Thien Nhan")
end;
function gaibang()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Cai Bang!!!/gaibang1","Thoi/no")
end;
function gaibang1()
i=random(0,4)
AddItem(0,2,41,10,i,99,10); --同仇之降龙丐衣
AddItem(0,6,18,10,i,99,10); --同仇之仇之潜龙腰带
AddItem(0,6,19,10,i,99,10); --敌忾之忾之缠莽腰带
AddItem(0,8,14,10,i,99,10); --同仇之亢龙护手
AddItem(0,2,42,10,i,99,10); --敌忾之九袋丐衣
AddItem(0,8,15,10,i,99,10); --敌忾之狗脊皮护腕
AddItem(0,3,15,10,i,99,10); --同仇之见龙扳指
AddItem(0,3,16,10,i,99,10); --敌忾之草间石戒
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Cai Bang!!!")
end;
function wudang()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Vo Dang!!!/wudang1","Thoi/no")
end;
function wudang1()
i=random(0,4)
AddItem(0,3,19,10,i,99,10); --凌岳之怒雷法戒
AddItem(0,3,21,10,i,99,10); --及丰之清松法戒
AddItem(0,3,20,10,i,99,10); --凌岳之天地玄黄戒
AddItem(0,6,22,10,i,99,10); --及丰之玄丝三段锦
AddItem(0,4,10,10,i,99,10); --及丰之三清符
AddItem(0,9,12,10,i,99,10); --及丰之翠玉玄黄佩
AddItem(0,2,44,10,i,99,10); --凌岳之无我道袍
AddItem(0,9,11,10,i,99,10); --凌岳之无极玄玉佩
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Vo Dang!!!")
end;
function kunlun()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",2,"Nhan set Con Lon/kunlun1","Thoi/no")
end;
function kunlun1()
i=random(0,4)
AddItem(0,2,45,10,i,99,10); --霜晶之傲霜道袍
AddItem(0,7,36,10,i,99,10); --雷穹之寒松冰柏冠
AddItem(0,8,18,10,i,99,10); --霜晶之天清冰晶手
AddItem(0,4,11,10,i,99,10); --雷穹之天地护符
AddItem(0,5,21,10,i,99,10); --雾幻之松风雪影靴
AddItem(0,3,22,10,i,99,10); --霜晶之风暴指环
AddItem(0,3,23,10,i,99,10); --雷穹之九天引雷戒
AddItem(0,6,23,10,i,99,10); --霜晶之清风缕带
AddItem(0,6,24,10,i,99,10); --雷穹之风雷青锦带
AddItem(0,7,37,10,i,99,10); --雾幻之北冥道冠
AddItem(0,3,24,10,i,99,10); --雾幻之束心指环
AddItem(0,9,13,10,i,99,10); --雷穹之灵玉蕴雷
AddItem(0,9,14,10,i,99,10); --雾幻之清影玄玉佩
Msg2Player("Chuc mung nhan duoc set Hoang Kim mon phai Con Lon!!!")
end;
function taozhuang()
Say("<color=yellow>GM01<color>:<color=pink>Thao tac da duoc thuc hien!!!<color>",4,"set Dinh Quoc/taozhuang1","set An Bang/taozhuang2","cap nhan Vo Danh/taozhuang23","Thoi/no")
end;
function taozhuang1()
i=random(0,4)
AddItem(0,2,28,10,i,99,10); --定国之青纱长衫
AddItem(0,7,28,10,i,99,10); --定国之钨砂发冠
AddItem(0,5,8,10,i,99,10); --定国之赤绢软靴
AddItem(0,8,4,10,i,99,10); --定国之紫藤护腕
AddItem(0,6,4,10,i,99,10); --定国之银蚕腰带
Msg2Player("Chuc mung nhan duoc trang bi!!!")
end;
function taozhuang2()
i=random(0,4)
AddItem(0,3,1,10,i,99,10); --安邦之菊花石指环
AddItem(0,3,2,10,i,99,10); --安邦之鸡血石戒指
AddItem(0,4,2,10,i,99,10); --安邦之冰晶石项链
AddItem(0,9,2,10,i,99,10); --安邦之田黄石玉佩
Msg2Player("Chuc mung nhan duoc trang bi!!!")
end;
function taozhuang23()
i=random(0,4)
AddItem(0,3,3,10,i,99,10); --雅典之魂
AddItem(0,3,4,10,i,99,10); --北京之梦
Msg2Player("Chuc mung nhan duoc trang bi!!!")
end;
function shuangm()
i=random(0,4)
AddItem(0,3,26,10,i,99,10); --九阳绝对攻击指环
AddItem(0,3,25,10,i,99,10); --九阴绝对防御戒指
Msg2Player("Chuc mung nhan duoc trang bi!!!")
end;
function huanguang1()
AddMagic(348)
AddMagic(358)
AddMagic(359)
AddMagic(360)
AddMagic(361)
AddMagic(362)
AddMagic(363)
AddMagic(364)
AddMagic(365)
AddMagic(366)
AddMagic(367)
AddMagic(368)
Talk(1,"","GM:Thao tac thanh cong!he thong da them ky nang vao bang skill。")
end;
---------------------------------------------刷大礼包
function dalibao1()
Say("<color=yellow>GM<color>:Moi chon le vat。(<color=red>Chu y,chi GM duoc quyen chon,neu khong phai GM moi thoat ra!!!<color>)", 7, "Than bi dai le bao/shualibao1", "Cuong hoang dai le bao/shualibao2", "Than ma phu van dai le bao/shualibao3", "Chuong mon dai le bao/shualibao4", "Vo Lam Minh Chu dai le bao/shualibao5", "Hoang Kim bi pho/shualibao6", "Thoi/no");
end;
function shualibao1()
AddEventItem("神秘大礼包")
end;
function shualibao2()
AddEventItem("节日狂欢大礼包")
end;
function shualibao3()
AddEventItem("神马浮云大礼包")
end;
function shualibao4()
AddEventItem("掌门人大礼包")
end;
function shualibao5()
AddEventItem("武林盟主大礼包")
end;
function shualibao6()
AddEventItem("黄金兵器谱")
end;
function yuanbao1()
Say("<color=yellow>GM<color>:Moi chon le vat。(<color=red>Chu y,chi GM duoc quyen chon,khong phai GM xin moi thoat ra!!!<color>)", 2, "Kim Nguyen Bao/jinyuanbao1", "Khong can/no");
end;
function jinyuanbao1()
AddEventItem("金元宝")
end;
--------测试地图转送脚本结束----------------------------------------------
function no()
end;
function giveExp()
for i=1,300 do AddOwnExp(50000000) end
Msg2Player("Chuc mung!ban nhan duoc 5000v kinh nghiem!")
end;
++script nhận đồ tại Cổ Lão Thái:
Vào thư mục Server\script\两湖区\巴陵县\npc mở script 巴陵县_路人2古老太对话.lua và copy code
function main(sel)
Say("Su gia Awjx:Hoan nghenh tham gia Ai Ngoan Kiem Hiep, ban co the nhan vu khi Hoang Kim(Khong yeu cau nang diem),Moi chon:",12,"Vu khi Hoang Kim Mon Phai/huangjingwq","Thieu Lam/sl110","Thien Vuong/tw110","Duong Mon/tm110","Ngu Doc/wdd110","Nga Mi/em110","Thuy Yen/cy110","Cai Bang/gb110","Thien Nhan/tr110","Vo Dang/wd110","Con Lon/kl110","Khong can/no")
end;
function huangjing9()
end;
function no()
end;
---------------------------------------------------------天王
function tw110()
s=random(0,4)
AddItem(0,2,32,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,17,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,5,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------少林
function sl110()
s=random(0,4)
AddItem(0,2,31,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,5,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,4,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,4,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,16,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,4,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,4,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------唐门
function tm110()
s=random(0,4)
AddItem(0,2,33,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,18,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,6,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,6,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------五毒
function wdd110()
s=random(0,4)
AddItem(0,2,34,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,19,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,7,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,7,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------娥眉
function em110()
s=random(0,4)
AddItem(0,2,35,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,20,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,8,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,8,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------翠烟
function cy110()
s=random(0,4)
AddItem(0,2,36,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,21,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,9,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,9,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------天忍
function tr110()
s=random(0,4)
AddItem(0,2,38,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,23,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,11,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------丐帮
function gb110()
s=random(0,4)
AddItem(0,2,37,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,11,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,22,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,10,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,10,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------武当
function wd110()
s=random(0,4)
AddItem(0,2,39,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,14,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,24,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,12,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,12,9,s,1000,10,10,10,10,10,10)
end;
---------------------------------------------------------昆仑
function kl110()
s=random(0,4)
AddItem(0,2,40,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,14,9,s,1000,10,10,10,10,10,10)
AddItem(0,3,14,9,s,1000,10,10,10,10,10,10)
AddItem(0,4,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,5,15,9,s,1000,10,10,10,10,10,10)
AddItem(0,6,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,7,25,9,s,1000,10,10,10,10,10,10)
AddItem(0,8,13,9,s,1000,10,10,10,10,10,10)
AddItem(0,9,13,9,s,1000,10,10,10,10,10,10)
end;
function huangjingwq()
Say("Chon loai vu khi:O day co tat ca cac loai vu khi+9 tram yeu tru ma(Khong yeu cau nang diem),Moi chon:",9,"Vu khi trang 1/newjian","Vu khi trang 2/newddao","Vu khi trang 3/newgunzi","Vu khi trang 4/newqiang","Vu khi trang 5/newchuizi","Vu khi trang 6/newsdao","Vu khi trang 7/newaqi","Quay ve/main","Thoi/no")
end;
function newjian()
Say("Su gia:Chon vu khi phu hop:",6,"Ham Thien Dai Nhan Than Chuy/newjian1","Te Hoang Phung Nghi Dao/newjian2","Lang Nhac Thai Cuc Kiem/newjian3","BUG/newjian4","Quay ve/main","Thoi/no")
end;
function newddao()
Say("Su gia:Chon vu khi phu hop:",7,"Ke Nghiep Bon Loi Toan Long Thuong/newddao1","Bich Hai Uyen Uong Lien Hoan Dao/newddao2","Suong Tinh Thien Nien Han Thiet/newddao3","BUG/newddao4","Ma Sat Quy Coc U Minh Thuong/newddao5","Quay ve/main","Khong can/no")
end;
function newgunzi()
Say("Su gia:Chon vu khi phu hop:",5,"Ngu Long Luong Ngan Bao Dao/newgunzi1","Minh Ao Ta Sat Doc Nhan/newgunzi2","BUG/newgunzi3","Quay ve/main","Khong can/no")
end;
function newqiang()
Say("Su gia:Chon vu khi phu hop:",5,"Phuc Ma Tu Kim Con/newqiang1","Dinh Khai Luc Ngoc Truong/newqiang2","BUG/newqiang3","Quay ve/main","Khong can/no")
end;
function newchuizi()
Say("Su gia:Chon vu khi phu hop:",3,"Tu Khong Giang Ma Gioi Dao/newchuizi1","Quay ve/main","Khong can/no")
end;
function newsdao()
Say("Su gia:Chon vu khi phu hop:",5,"Vo Gian Y Thien Kiem/newsdao1","Cap Phong Chan Vu Kiem/newsdao2","BUG/newsdao3","Quay ve/main","Khong can/no")
end;
function newaqi()
Say("Su gia:Chon vu khi phu hop:",5,"Sam Hoang Phi Tinh Doat Hon/newaqi1","Bang Han Don Chi Phi Dao/newaqi2","Thien Quang Hoa Vu Man Thien/newaqi3","Quay ve/main","Khong can/no")
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newjian1()
j=random(0,4)
AddItem(0,0,0,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newjian2()
j=random(0,4)
AddItem(0,0,0,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newjian3()
j=random(0,4)
AddItem(0,0,0,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newjian4()
j=random(0,4)
AddItem(0,0,0,249,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao1()
j=random(0,4)
AddItem(0,0,1,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao2()
j=random(0,4)
AddItem(0,0,1,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao3()
j=random(0,4)
AddItem(0,0,1,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao4()
j=random(0,4)
AddItem(0,0,1,249,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newddao5()
j=random(0,4)
AddItem(0,0,4,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newgunzi1()
j=random(0,4)
AddItem(0,0,2,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newgunzi2()
j=random(0,4)
AddItem(0,0,2,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newgunzi3()
j=random(0,4)
AddItem(0,0,2,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newqiang1()
j=random(0,4)
AddItem(0,0,3,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newqiang2()
j=random(0,4)
AddItem(0,0,3,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newqiang3()
j=random(0,4)
AddItem(0,0,3,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newchuizi1()
j=random(0,4)
AddItem(0,0,4,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newsdao1()
j=random(0,4)
AddItem(0,0,5,69,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newsdao2()
j=random(0,4)
AddItem(0,0,5,129,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newsdao3()
j=random(0,4)
AddItem(0,0,5,189,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newaqi1()
j=random(0,4)
AddItem(0,1,0,39,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newaqi2()
j=random(0,4)
AddItem(0,1,1,39,j,1000,10,10,10,10,10,10)
end;
------------------------------------------------------------------------------------------------------------------------------------------------------
function newaqi3()
j=random(0,4)
AddItem(0,1,2,39,j,1000,10,10,10,10,10,10)
end;
Đường dẫn đến script NPC Ba Lăng Huyện đây:Server\script\两湖区\巴陵县\ bạn nào thích có thể việt hoá tiếp :)
ĐÂy là bộ Item việt hoá k dấu ai cần thì lấy xài (chưa vh questkey.txt và magicattrib.txt)
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Muốn hiển thị tên item rớt dưới đất chỉ cần copy thư mục item đã việt hoá qua server là được
Mấy thứ này chỉ dành cho newbie pro nào biết rồi đừng chém mình nha :)