Kết quả 1 đến 10 của 10
-
13-10-12, 08:25 AM #1
- Ngày tham gia
- Oct 2012
- Bài viết
- 28
- Thanks
- 13
- Thanked 1 Time in 1 Post
Cần xin script chuyển phái [có hướng dẫn trong topic này]
bác nào có scrip chuyển phái thì share giúp mình nhé ( kèm theo hướng dẫn thì càng tốt ))
Khách viếng thăm hãy cùng lamnguyenson87 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
13-10-12, 08:29 AM #2
Ðề: Cần xin scrip chuyển phái
chuyển phái thì được. nhưng mà chuyển xong ko mang được đồ hoàng kim.
Sao? Như nào? Nói luôn.
-
13-10-12, 08:57 PM #3
- Ngày tham gia
- Oct 2012
- Bài viết
- 28
- Thanks
- 13
- Thanked 1 Time in 1 Post
Ðề: Cần xin scrip chuyển phái
Khách viếng thăm hãy cùng lamnguyenson87 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
13-10-12, 08:59 PM #4
Ðề: Cần xin script chuyển phái
chắc không được đâu bạn. mình cũng thử nhiều rồi
Sao? Như nào? Nói luôn.
-
13-10-12, 09:09 PM #5
- Ngày tham gia
- Oct 2012
- Bài viết
- 28
- Thanks
- 13
- Thanked 1 Time in 1 Post
Ðề: Cần xin script chuyển phái
Khách viếng thăm hãy cùng lamnguyenson87 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
13-10-12, 09:21 PM #6
-
13-10-12, 09:41 PM #7
Ðề: Cần xin script chuyển phái
nền awjx
CodeCode:--Author:Ohishu ----BIG BANG SCRIPT TAY TUY CHUYEN PHAI ! Include("\\script\\source\\sourcejx49.lua") Include("\\script\\GetFaction.lua") Include("\\dulieu\\chuyensinhdata.lua") TT1 = 28 TT2 = 29 TT3 = 30 THBT = 31 function main() SayEx({"<color=cyan>Cuong Tang Tuy Tuy:<color> Duoi Level 90 Se Duoc Tay Tuy Mien Phi !", "Tay Ky Nang [3 TT]/taykinang", "Tay Tiem Nang [6 THBT]/taytiemnang", "Chuyen Doi Mon Phai/chuyenmonphai", "Thoat/Exit"}) end function chuyenmonphai() SayEx({"<color=cyan>Cuong Tang Tay Tuy:<color> Sau Day La Dieu Kien\n<color=yellow>Phai Hoc Day Du Skill Mon Phai\nMax Tat Ca Skill: 90 - 120 - That Truyen\nLevel Tren 150\n3 Vien Thuy Tinh Khac Loai\nChi Phi: Mien Phi 100% !", "He Kim/chuyenhe", "He Moc/chuyenhe", "He Thuy/chuyenhe", "He Hoa/chuyenhe", "He Tho/chuyenhe", "Thoat/Exit"}) end function chuyenhe(sel) if GetTask(42) == 0 then if GetTask(1) == 0 and GetTask(2) == 0 and GetTask(3) == 0 and GetTask(4) == 0 and GetTask(5) == 0 and GetTask(6) == 0 and GetTask(7) == 0 and GetTask(8) == 0 and GetTask(9) == 0 and GetTask(10) == 0 and GetCamp() == 4 then id = sel + 1 if id == 1 then SayEx({"<color=cyan>Cuong Tang Tay Tuy:<color> Hay Chon Mon Phai Muon Chuyen !", "Thieu Lam/retl", "Thien Vuong/retv", "Thoat/Exit"}) elseif id == 2 then SayEx({"<color=cyan>Cuong Tang Tay Tuy:<color> Hay Chon Mon Phai Muon Chuyen !", "Duong Mon/redm", "Ngu Doc/rend", "Thoat/Exit"}) elseif id == 3 then SayEx({"<color=cyan>Cuong Tang Tay Tuy:<color> Hay Chon Mon Phai Muon Chuyen !", "Nga My/renm", "Thuy Yen/rety", "Thoat/Exit"}) elseif id == 4 then SayEx({"<color=cyan>Cuong Tang Tay Tuy:<color> Hay Chon Mon Phai Muon Chuyen !", "Cai Bang/recb", "Thien Nhan/retn", "Thoat/Exit"}) elseif id == 5 then SayEx({"<color=cyan>Cuong Tang Tay Tuy:<color> Hay Chon Mon Phai Muon Chuyen !", "Vo Dang/revd", "Con Lon/recl", "Thoat/Exit"}) end else Msg2Player("Ban Can Xuat Su Truoc Khi Chuyen Phai !") end else Msg2Player("Ban Can Roi Khoi Lanh Dia Truoc Khi Chuyen Phai !") end end function dkcp() if kiemtraft() == 1 then if HaveMagic(353) >= 20 and HaveMagic(350) >= 20 and HaveMagic(351) >= 20 and (HaveMagic(414) >= 20 or HaveMagic(412) >= 20) and HaveMagic(289) >= 20 and HaveMagic(295) >= 20 and HaveMagic(454) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 2 then if HaveMagic(310) >= 20 and HaveMagic(342) >= 20 and HaveMagic(347) >= 20 and HaveMagic(345) >= 20 and HaveMagic(293) >= 20 and (HaveMagic(414) >= 20 or HaveMagic(412) >= 20) and HaveMagic(455) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 3 then if HaveMagic(302) >= 20 and HaveMagic(355) >= 20 and HaveMagic(358) >= 20 and HaveMagic(416) >= 20 and HaveMagic(288) >= 20 and HaveMagic(286) >= 20 and HaveMagic(299) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 4 then if HaveMagic(359) >= 20 and HaveMagic(361) >= 20 and HaveMagic(418) >= 20 and HaveMagic(297) >= 20 and HaveMagic(446) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 5 then if HaveMagic(448) >= 20 and HaveMagic(374) >= 20 and HaveMagic(370) >= 20 and HaveMagic(420) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 6 then if HaveMagic(377) >= 20 and HaveMagic(378) >= 20 and HaveMagic(448) >= 20 and HaveMagic(422) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 7 then if HaveMagic(362) >= 20 and HaveMagic(389) >= 20 and HaveMagic(424) >= 20 and HaveMagic(445) >= 20 and HaveMagic(300) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 8 then if HaveMagic(365) >= 20 and HaveMagic(367) >= 20 and HaveMagic(426) >= 20 and HaveMagic(443) >= 20 and HaveMagic(285) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 9 then if HaveMagic(380) >= 20 and HaveMagic(382) >= 20 and HaveMagic(428) >= 20 and HaveMagic(442) >= 20 then return "Du Dieu Kien Skill" end elseif kiemtraft() == 10 then if HaveMagic(430) >= 20 and HaveMagic(385) >= 20 and HaveMagic(384) >= 20 and HaveMagic(439) >= 20 then return "Du Dieu Kien Skill" end end end function retl() if GetLevel() >= 150 then if kiemtraft() ~= 1 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(0) SetFaction("ÉÙÁÖÅÉ") taykinang() SetCamp(1) SetCurCamp(1) SetRank(1) SetTask(1,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Thieu Lam Phai") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Thieu Lam Phai Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function retv() if GetLevel() >= 150 then if kiemtraft() ~= 2 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(0) SetFaction("ÌìÍõ°ï") taykinang() SetCamp(3) SetCurCamp(3) SetRank(2) SetTask(2,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Thien Vuong Bang") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Thien Vuong Bang Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function redm() if GetLevel() >= 150 then if kiemtraft() ~= 3 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(1) SetFaction("ÌÆÃÅ") taykinang() SetCamp(3) SetCurCamp(3) SetRank(3) SetTask(3,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Duong Mon") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Duong Mon Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function rend() if GetLevel() >= 150 then if kiemtraft() ~= 4 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(1) SetFaction("Î嶾½Ì") taykinang() SetCamp(2) SetCurCamp(2) SetRank(4) SetTask(4,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Ngu Doc Giao") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Ngu Doc Giao Phai Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function renm() if GetLevel() >= 150 then if kiemtraft() ~= 5 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(2) SetFaction("¶ëáÒÅÉ") taykinang() SetCamp(1) SetCurCamp(1) SetRank(5) SetTask(5,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Nga My Phai") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Nga My Phai Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function rety() if GetLevel() >= 150 then if kiemtraft() ~= 6 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(2) SetFaction("´äÑÌÃÅ") taykinang() SetCamp(3) SetCurCamp(3) SetRank(6) SetTask(6,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Thuy Yen Mon") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Thuy Yen Mon Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function recb() if GetLevel() >= 150 then if kiemtraft() ~= 7 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(3) SetFaction("ؤ°ï") taykinang() SetCamp(1) SetCurCamp(1) SetRank(7) SetTask(7,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Cai Bang Phai") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Cai Bang Phai Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function retn() if GetLevel() >= 150 then if kiemtraft() ~= 8 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(3) SetFaction("ÌìÈ̽Ì") taykinang() SetCamp(2) SetCurCamp(2) SetRank(8) SetTask(8,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Thien Nhan Giao") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Thien Nhan Giao Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function revd() if GetLevel() >= 150 then if kiemtraft() ~= 9 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(4) SetFaction("Îäµ±ÅÉ") taykinang() SetCamp(1) SetCurCamp(1) SetRank(9) SetTask(9,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Vo Dang Phai") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Vo Dang Phai Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function recl() if GetLevel() >= 150 then if kiemtraft() ~= 10 then if dkcp() == "Du Dieu Kien Skill" then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(4) SetFaction("À¥ÂØÅÉ") taykinang() SetCamp(3) SetCurCamp(3) SetRank(10) SetTask(10,1) backupskillcp() KickOutSelf() AddGlobalNews("Chuc Mung <color=red>"..GetName().."<color> Chuyen Sang Con Lon Phai") else Msg2Player("Khong Tim Thay 3 Vien Lam - Tu - Luc Thuy Tinh Trong Nguoi !") end else Msg2Player("Ban Chua Max Het Skill 90 - 120 - That Truyen !") end else Msg2Player("Hien Tai Ban Thuoc Con Lon Phai Khong Can Chuyen !") end else Msg2Player("Dang Cap Chua Dat Den 150 !") end end function taykinang() if GetLevel() < 90 then --if GetTask(197) < 1 then --kncs = 0 --elseif GetTask(197) >= 1 then --kncs = CSTABLE[GetTask(197)][5] --end vlmt = GetTask(16) knlv = GetLevel() - 1 notrollback() AddMagicPoint(-GetMagicPoint()) --diemkinang = kncs + vlmt + knlv diemkinang = vlmt + knlv AddMagicPoint(diemkinang) if (HaveMagic(344)>=0 ) then --khinh cong AddMagic(344,1) end elseif GetLevel() >= 90 then if GetItemCount(TT1) >= 1 and GetItemCount(TT2) >= 1 and GetItemCount(TT3) >=1 then DelItem(TT1) DelItem(TT3) DelItem(TT2) --if GetTask(197) < 1 then --kncs = 0 --elseif GetTask(197) >= 1 then --kncs = CSTABLE[GetTask(197)][5] --end vlmt = GetTask(16) knlv = GetLevel() - 1 notrollback() AddMagicPoint(-GetMagicPoint()) --diemkinang = kncs + vlmt + knlv diemkinang = vlmt + knlv AddMagicPoint(diemkinang) if (HaveMagic(344)>=0 ) then --khinh cong AddMagic(344,1) end Talk(1,"KickOutSelf","Ban Co The Nang Lai <color=red>Diem Ky Nang<color> Theo Y Muon !") else Talk(1,"","Nguoi Khong Co Tu Thuy Tinh, Luc Thuy Tinh, Lam Thuy Tinh !") end end end as={ {35,25,25,15}, -- kim {20,35,20,25}, -- moc {25,25,25,25}, -- thuy {30,20,30,20}, -- hoa {20,15,25,40}, -- tho } function ResetAP() player_series = GetSeries() + 1; SetBasePoint(as[player_series][1],as[player_series][2],as[player_series][3],as[player_series][4]); --tiem nang mac dinh end; function taytiemnang() if GetLevel() < 90 then tnlevel = (GetLevel() - 1) * 5 --if GetTask(197) >= 1 then --tncs = CSTABLE[GetTask(197)][4] --else --tncs = 0 --end ttk = GetTask(15) * 5 --AddProp(- GetProp()) ResetAP() --sum = tnlevel+ttk+tncs sum = tnlevel+ttk --AddProp(sum) Talk(1,"KickOutSelf","Xin Chuc Mung Ban Da Co The Nang Lai <color=cyan>Diem Tiem Nang<color> Theo Y Muon !") elseif GetLevel() >= 90 then if GetItemCount(THBT) >= 6 then for i=1,6 do DelItem(THBT) end tnlevel = (GetLevel() - 1) * 5 --if GetTask(197) >= 1 then --tncs = CSTABLE[GetTask(197)][4] --else --tncs = 0 --end ttk = GetTask(15) * 5 --AddProp(- GetProp()) ResetAP() --sum = tnlevel+ttk+tncs sum = tnlevel+ttk --AddProp(sum) Talk(1,"KickOutSelf","Xin Chuc Mung Ban Da Co The Nang Lai <color=cyan>Diem Tiem Nang<color> Theo Y Muon !") else Talk(1,"","Nguoi Khong Co 6 THBT Trong Nguoi !") end end end function notrollback() cailao = GetTask(198)*2 if kiemtraft() == 1 then a = HaveMagic(353) b = HaveMagic(350) c = HaveMagic(351) d = HaveMagic(414) w = HaveMagic(289) p = HaveMagic(295) e = HaveMagic(454) elseif kiemtraft() == 2 then a = HaveMagic(342) b = HaveMagic(347) c = HaveMagic(345) d = HaveMagic(412) w = HaveMagic(455) p = HaveMagic(293) e = HaveMagic(310) elseif kiemtraft() == 3 then a = HaveMagic(302) b = HaveMagic(355) c = HaveMagic(358) d = HaveMagic(416) w = HaveMagic(286) p = HaveMagic(288) e = HaveMagic(299) elseif kiemtraft() == 4 then a = HaveMagic(359) b = HaveMagic(361) c = 0 d = HaveMagic(418) w = HaveMagic(446) p = HaveMagic(297) e = 0 elseif kiemtraft() == 5 then a = HaveMagic(374) b = HaveMagic(370) c = 0 d = HaveMagic(420) w = HaveMagic(448) p = 0 e = 0 elseif kiemtraft() == 6 then a = HaveMagic(377) b = HaveMagic(378) c = 0 d = HaveMagic(422) w = HaveMagic(448) p = 0 e = 0 elseif kiemtraft() == 7 then a = HaveMagic(362) b = HaveMagic(389) c = 0 d = HaveMagic(424) w = HaveMagic(445) p = HaveMagic(300) e = 0 elseif kiemtraft() == 8 then a = HaveMagic(365) b = HaveMagic(367) c = 0 d = HaveMagic(426) w = HaveMagic(443) p = HaveMagic(285) e = 0 elseif kiemtraft() == 9 then a = HaveMagic(382) b = HaveMagic(380) c = 0 d = HaveMagic(428) w = HaveMagic(442) p = 0 e = 0 elseif kiemtraft() == 10 then a = HaveMagic(385) b = HaveMagic(384) c = 0 d = HaveMagic(430) w = HaveMagic(439) p = 0 e = 0 elseif kiemtraft() == 11 then a = 0 b = 0 c = 0 d = 0 w = 0 p = 0 e = 0 end n = RollbackSkill() x = 0 i = HaveMagic(210) j = HaveMagic(471) if (a ~= -1) then x = x + a end if (b ~= -1) then x = x + b end if (c ~= -1) then x = x + c end if (d ~= -1) then x = x + d end if (w ~= -1) then x = x + w end if (p ~= -1) then x = x + p end if (e ~= -1) then x = x + e end if (i ~= -1) then x = x + i end if (j ~= -1) then x = x + j end rollback = n - x if ( rollback + GetMagicPoint() < 0 ) then rollback = -1 * GetMagicPoint() end AddMagicPoint(rollback) if (i ~= -1) then AddMagic(210,i) end if (j ~= -1) then AddMagic(284,j) end if kiemtraft() == 1 then if a ~= -1 then AddMagic(353,a) end if b ~= -1 then AddMagic(350,b) end if c ~= -1 then AddMagic(351,c) end if d ~= -1 then AddMagic(414,d) end if w ~= -1 then AddMagic(289,20+cailao) end if p ~= -1 then AddMagic(295,20+cailao) end if e ~= -1 then AddMagic(454,20+cailao) end elseif kiemtraft() == 2 then if a ~= -1 then AddMagic(342,a) end if b ~= -1 then AddMagic(347,b) end if c ~= -1 then AddMagic(345,c) end if d ~= -1 then AddMagic(412,d) end if w ~= -1 then AddMagic(455,20+cailao) end if p ~= -1 then AddMagic(293,20+cailao) end if e ~= -1 then AddMagic(310,20+cailao) end elseif kiemtraft() == 3 then if a ~= -1 then AddMagic(302,a) end if b ~= -1 then AddMagic(355,b) end if c ~= -1 then AddMagic(358,c) end if d ~= -1 then AddMagic(416,d) end if w ~= -1 then AddMagic(286,20+cailao) end if p ~= -1 then AddMagic(288,20+cailao) end if e ~= -1 then AddMagic(299,20+cailao) end elseif kiemtraft() == 4 then if a ~= -1 then AddMagic(359,a) end if b ~= -1 then AddMagic(361,b) end if d ~= -1 then AddMagic(418,d) end if w ~= -1 then AddMagic(446,20+cailao) end if p ~= -1 then AddMagic(297,20+cailao) end elseif kiemtraft() == 5 then if a ~= -1 then AddMagic(374,a) end if b ~= -1 then AddMagic(370,b) end if d ~= -1 then AddMagic(420,d) end if w ~= -1 then AddMagic(448,20+cailao) end elseif kiemtraft() == 6 then if a ~= -1 then AddMagic(377,a) end if b ~= -1 then AddMagic(378,b) end if d ~= -1 then AddMagic(422,d) end if w ~= -1 then AddMagic(448,20+cailao) end elseif kiemtraft() == 7 then if a ~= -1 then AddMagic(362,a) end if b ~= -1 then AddMagic(389,b) end if d ~= -1 then AddMagic(424,d) end if w ~= -1 then AddMagic(445,20+cailao) end if p ~= -1 then AddMagic(300,20+cailao) end elseif kiemtraft() == 8 then if a ~= -1 then AddMagic(365,a) end if b ~= -1 then AddMagic(367,b) end if d ~= -1 then AddMagic(426,d) end if w ~= -1 then AddMagic(443,20+cailao) end if p ~= -1 then AddMagic(285,20+cailao) end elseif kiemtraft() == 9 then if a ~= -1 then AddMagic(382,a) end if b ~= -1 then AddMagic(380,b) end if d ~= -1 then AddMagic(428,d) end if w ~= -1 then AddMagic(442,20+cailao) end elseif kiemtraft() == 10 then if a ~= -1 then AddMagic(385,a) end if d ~= -1 then AddMagic(430,d) end if b ~= -1 then AddMagic(384,b) end if w ~= -1 then AddMagic(439,20+cailao) end end end function backupskillcp() cailao = GetTask(198)*2 AddMagicPoint(-20) AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) a = 20 b = 20 c = 20 d = 20 w = 20 p = 20 e = 20 if kiemtraft() == 1 then AddMagic(14) AddMagic(10) AddMagic(8) AddMagic(4) AddMagic(6) AddMagic(15) AddMagic(16) AddMagic(20) AddMagic(271) AddMagic(11) AddMagic(19) AddMagic(273) AddMagic(21) AddMagic(353,a) AddMagic(350,b) AddMagic(351,c) AddMagic(414,d) AddMagic(289,20+cailao) AddMagic(295,20+cailao) AddMagic(454,20+cailao) elseif kiemtraft() == 2 then AddMagic(34) -- Õ¶Áú¾÷ AddMagic(30) -- ÌìÍõǹ·¨ AddMagic(29) -- ÌìÍõµ¶·¨ AddMagic(26) -- ÌìÍõ´¸·¨ AddMagic(23) -- »Ø·çÂäÑã AddMagic(24) -- ÐÐÔƾ÷ AddMagic(33) -- ÎÞÐÄÕ¶ AddMagic(37) -- ¾²Ðľ÷ AddMagic(35) -- ¾ªÀ×Õ¶ AddMagic(31) -- Ñô¹ØÈýµþ AddMagic(40) -- ÌìÍõÕ½Òâ AddMagic(42) -- Æ÷çÕ¶ AddMagic(36) -- ¶Ï»ê´Ì AddMagic(32) -- Ѫս°Ë·½ AddMagic(41) AddMagic(325) AddMagic(342,a) AddMagic(347,b) AddMagic(345,c) AddMagic(412,d) AddMagic(455,20+cailao) AddMagic(293,20+cailao) AddMagic(310,20+cailao) elseif kiemtraft() == 3 then AddMagic(45) AddMagic(43) AddMagic(50) AddMagic(54) AddMagic(47) AddMagic(48) AddMagic(249) AddMagic(58) AddMagic(357) AddMagic(302,a) AddMagic(355,b) AddMagic(358,c) AddMagic(416,d) AddMagic(286,20+cailao) AddMagic(288,20+cailao) AddMagic(299,20+cailao) elseif kiemtraft() == 4 then AddMagic(63) AddMagic(65) AddMagic(62) AddMagic(60) AddMagic(68) AddMagic(333) AddMagic(69) AddMagic(73) AddMagic(75) AddMagic(71) AddMagic(74) AddMagic(361,a) AddMagic(359,b) AddMagic(418,d) AddMagic(446,20+cailao) AddMagic(297,20+cailao) elseif kiemtraft() == 5 then AddMagic(85) AddMagic(80) AddMagic(77) AddMagic(79) AddMagic(83) AddMagic(334) AddMagic(82) AddMagic(89) AddMagic(86) AddMagic(92) AddMagic(88) AddMagic(91) AddMagic(282) AddMagic(252) AddMagic(374,a) AddMagic(370,b) AddMagic(420,d) AddMagic(448,20+cailao) elseif kiemtraft() == 6 then AddMagic(99) -- ·ç»¨Ñ©Ô AddMagic(102) -- ´äÑ̵¶·¨ AddMagic(95) -- ´äÑÌË«µ¶ AddMagic(97) -- »¤Ì庮±ù AddMagic(269) -- ·ç¾í²ÐÑ© AddMagic(105) -- ǧÀï±ù·â- AddMagic(113) -- ±ùÐÄÙ»Ó° AddMagic(100) -- Óê´òÀ滨 AddMagic(109) -- Ñ©Ó° AddMagic(114) -- ̤ѩÎÞºÛ AddMagic(108) -- ¸¡ÔÆɢѩ AddMagic(111) -- ÄÁÒ°Á÷ÐÇ AddMagic(377,a) AddMagic(378,b) AddMagic(422,d) AddMagic(448,20+cailao) elseif kiemtraft() == 7 then AddMagic(122) -- ͶʯÎÊ· AddMagic(119) -- ؤ°ï°ô·¨ AddMagic(116) -- ؤ°ïÈ·¨ AddMagic(115) -- ÑØÃÅÍв§ AddMagic(129) -- ¼ûÈËÉìÊÖ AddMagic(274) -- »¬²»ÁôÊÖ AddMagic(124) -- ´ò¹·Õó AddMagic(277) -- ½µÁúÕÆ AddMagic(128) -- ÌìÏÂÎÞ¹· AddMagic(125) -- ×íµû¿ñÎè AddMagic(130) -- ¿ºÁúÓÐ»Ú AddMagic(335) AddMagic(362,a) AddMagic(389,b) AddMagic(424,d) AddMagic(445,20+cailao) AddMagic(300,20+cailao) elseif kiemtraft() == 8 then AddMagic(135) AddMagic(145) AddMagic(131) AddMagic(132) AddMagic(136) AddMagic(137) AddMagic(141) AddMagic(138) AddMagic(140) AddMagic(364) AddMagic(143) AddMagic(142) AddMagic(148) AddMagic(150) AddMagic(365,a) AddMagic(367,b) AddMagic(426,d) AddMagic(443,20+cailao) AddMagic(285,20+cailao) elseif kiemtraft() == 9 then AddMagic(153) -- ÅÀ×Ö¸ AddMagic(155) -- Îäµ±½£·¨ AddMagic(152) -- Î䵱ȷ¨ AddMagic(151) -- ²×º£Ã÷Ô AddMagic(159) -- ×øÍüÎÞÎÒ AddMagic(164) -- ½£·É¾ªÌì AddMagic(158) -- ÆßÐÇÕó AddMagic(160) -- ÌÝÔÆ×Ý AddMagic(157) -- ÐþÒ»ÎÞÏó AddMagic(166) -- °þ¼°¶ø¸´ AddMagic(165) -- ÎÞÎÒÎÞ½£ AddMagic(267) AddMagic(382,a) AddMagic(380,b) AddMagic(428,d) AddMagic(442,20+cailao) elseif kiemtraft() == 10 then AddMagic(169) AddMagic(179) AddMagic(167) AddMagic(168) AddMagic(178) AddMagic(176) AddMagic(275) AddMagic(182) AddMagic(337) AddMagic(385,a) AddMagic(430,d) AddMagic(384,b) AddMagic(439,20+cailao) end end
Sao? Như nào? Nói luôn.
-
The Following 4 Users Say Thank You to Learning For This Useful Post:
lamnguyenson87 (13-10-12), nguyenhophuc87 (13-04-14), satthupro95 (13-10-12), thtrungtinh (07-08-13)
-
13-10-12, 09:56 PM #8
- Ngày tham gia
- Oct 2012
- Bài viết
- 28
- Thanks
- 13
- Thanked 1 Time in 1 Post
Ðề: Cần xin script chuyển phái
hình như cũng có đoạn mã này , nhưng ko biết kích hoạt lên kiểu gì và npc nào , bạn hướng dẫn giúp mình nhé
Lần sửa cuối bởi thaihoa91, ngày 20-10-12 lúc 08:09 AM.
Khách viếng thăm hãy cùng lamnguyenson87 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
20-10-12, 07:03 AM #9
- Ngày tham gia
- Apr 2011
- Bài viết
- 97
- Thanks
- 32
- Thanked 26 Times in 7 Posts
Ðề: Cần xin script chuyển phái
SetNpcScript(npcid805, "\\script\\global\\taytuy.lua") đổi tên file đó thành taytuy.lua
Code:Include("\\script\\source\\sourcejx49.lua") Include("\\script\\GetFaction.lua") function main() SayEx({"<color=cyan>Cêng T¨ng TÈy Tuû:", "TÈy ®iÓm kü n¨ng/taykinang", "TÈy ®iÓm tiÒm n¨ng/taytiemnang", "ChuyÓn ®æi m«n ph¸i/chuyenmonphai", "Tho¸t/Exit"}) end function chuyenmonphai() SayEx({"<color=cyan>Cêng T¨ng TÈy Tuû:", "HÖ Kim/chuyenhe", "HÖ Méc/chuyenhe", "HÖ Thuû/chuyenhe", "HÖ Ho¶/chuyenhe", "HÖ Thæ/chuyenhe", "Tho¸t/Exit"}) end function chuyenhe(sel) if GetTask(42) == 0 then if GetTask(1) == 0 and GetTask(2) == 0 and GetTask(3) == 0 and GetTask(4) == 0 and GetTask(5) == 0 and GetTask(6) == 0 and GetTask(7) == 0 and GetTask(8) == 0 and GetTask(9) == 0 and GetTask(10) == 0 and GetCamp() == 4 then id = sel + 1 if id == 1 then SayEx({"<color=cyan>Cêng T¨ng TÈy Tuû:", "ThiÕu L©m/retl", "Thiªn V¬ng/retv", "Tho¸t/Exit"}) elseif id == 2 then SayEx({"<color=cyan>Cêng T¨ng TÈy Tuû:", "§êng M«n/redm", "Ngò §éc/rend", "Tho¸t/Exit"}) elseif id == 3 then SayEx({"<color=cyan>Cêng T¨ng TÈy Tuû:", "Nga My/renm", "Thuý Yªn/rety", "Tho¸t/Exit"}) elseif id == 4 then SayEx({"<color=cyan>Cêng T¨ng TÈy Tuû:", "C¸i Bang/recb", "Thiªn NhÉn/retn", "Tho¸t/Exit"}) elseif id == 5 then SayEx({"<color=cyan>Cêng T¨ng TÈy Tuû:", "Vâ §ang/revd", "C«n L«n/recl", "Tho¸t/Exit"}) end else Msg2Player("Sau khi xuÊt s míi cã thÓ chuyÓn ph¸i") end else Msg2Player("B¹n ph¶i rêi khái l·nh ®Þa míi cã thÓ chuyÓn ph¸i") end end function retl() if GetSex() == 0 then if GetLevel() >= 150 then if kiemtraft() ~= 1 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(0) SetFaction("ÉÙÁÖÅÉ") SetCamp(1) SetCurCamp(1) SetRank(1) SetTask(1,1) taykinangcp() KickOutSelf() skilltl() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i ThiÕu L©m") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i ThiÕu L©m, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end else Msg2Player("B¹n lµ ph¸i N÷, kh«ng thÓ gia nhËp ThiÕu L©m") end end function retv() if GetLevel() >= 150 then if kiemtraft() ~= 2 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(0) SetFaction("ÌìÍõ°ï") SetCamp(3) SetCurCamp(3) SetRank(2) SetTask(2,1) taykinangcp() KickOutSelf() skilltv() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i Thiªn V¬ng") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i Thiªn V¬ng, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end end function redm() if GetLevel() >= 150 then if kiemtraft() ~= 3 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(1) SetFaction("ÌÆÃÅ") SetCamp(3) SetCurCamp(3) SetRank(3) SetTask(3,1) taykinangcp() KickOutSelf() skilldm() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i §êng M«n") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i §êng M«n, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end end function rend() if GetLevel() >= 150 then if kiemtraft() ~= 4 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(1) SetFaction("Î嶾½Ì") SetCamp(2) SetCurCamp(2) SetRank(4) SetTask(4,1) taykinangcp() KickOutSelf() skillnd() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i Ngò §éc") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i Ngò §éc, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end end function renm() if GetSex() == 1 then if GetLevel() >= 150 then if kiemtraft() ~= 5 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(2) SetFaction("¶ëáÒÅÉ") SetCamp(1) SetCurCamp(1) SetRank(5) SetTask(5,1) taykinangcp() KickOutSelf() skillnm() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i Nga My") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i Nga My, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end else Msg2Player("B¹n lµ ph¸i Nam, kh«ng thÓ gia nhËp Nga My") end end function rety() if GetLevel() >= 150 then if kiemtraft() ~= 6 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(2) SetFaction("´äÑÌÃÅ") SetCamp(3) SetCurCamp(3) SetRank(6) SetTask(6,1) taykinangcp() KickOutSelf() skillty() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i Thuý Yªn") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i Thuý Yªn, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end end function recb() if GetLevel() >= 150 then if kiemtraft() ~= 7 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(3) SetFaction("ؤ°ï") SetCamp(1) SetCurCamp(1) SetRank(7) SetTask(7,1) taykinangcp() KickOutSelf() skillcb() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i C¸i Bang") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i C¸i Bang, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end end function retn() if GetLevel() >= 150 then if kiemtraft() ~= 8 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(3) SetFaction("ÌìÈ̽Ì") SetCamp(2) SetCurCamp(2) SetRank(8) SetTask(8,1) taykinangcp() KickOutSelf() skilltn() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i Thiªn NhÉn") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i Thiªn NhÉn, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end end function revd() if GetLevel() >= 150 then if kiemtraft() ~= 9 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(4) SetFaction("Îäµ±ÅÉ") SetCamp(1) SetCurCamp(1) SetRank(9) SetTask(9,1) taykinangcp() KickOutSelf() skillvd() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i Vâ §ang") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i Vâ §ang, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end end function recl() if GetLevel() >= 150 then if kiemtraft() ~= 10 then if GetItemCount(234) >= 1 then for i=1,500 do DelMagic(i) end SetSeries(4) SetFaction("À¥ÂØÅÉ") SetCamp(3) SetCurCamp(3) SetRank(10) SetTask(10,1) taykinangcp() KickOutSelf() skillcl() AddGlobalCountNews("Chóc mõng ngêi ch¬i <color=red>"..GetName().."<color> chuyÓn sang ph¸i C«n L«n") else Msg2Player("B¹n kh«ng cã Vâ L©m LÖnh Bµi") end else Msg2Player("HiÖn t¹i b¹n thuéc ph¸i C«n L«n, kh«ng cÇn chuyÓn") end else Msg2Player("§¼ng cÊp cña b¹n cha ®¹t 150") end end function taykinang() if GetLevel() < 90 then vlmt = GetTask(16) knlv = GetLevel() - 1 RollbackSkill() AddMagicPoint(-GetMagicPoint()) diemkinang = vlmt + knlv AddMagicPoint(diemkinang) Talk(1,"KickOutSelf","TÈy tñy kü n¨ng thµnh c«ng !") elseif GetLevel() >= 90 then if GetItemCount(28) >= 1 and GetItemCount(29) >= 1 and GetItemCount(30) >=1 then DelItem(28) DelItem(30) DelItem(29) vlmt = GetTask(16) knlv = GetLevel() - 1 RollbackSkill() AddMagicPoint(-GetMagicPoint()) diemkinang = vlmt + knlv AddMagicPoint(diemkinang) Talk(1,"KickOutSelf","TÈy tñy kü n¨ng thµnh c«ng !") else Talk(1,"","B¹n kh«ng cã ®ñ Tö Thuû Tinh, Lôc Thuû Tinh vµ Lam Thuû Tinh ") end end end as={ {35,25,25,15}, -- kim {20,35,20,25}, -- moc {25,25,25,25}, -- thuy {30,20,30,20}, -- hoa {20,15,25,40}, -- tho } function ResetAP() player_series = GetSeries() + 1; SetBasePoint(as[player_series][1],as[player_series][2],as[player_series][3],as[player_series][4]); --tiem nang mac dinh end; function taytiemnang() if GetLevel() < 90 then tnlevel = (GetLevel() - 1) * 5 ttk = GetTask(15) * 5 ResetAP() sum = tnlevel+ttk Talk(1,"KickOutSelf","B¹n cã thÓ n©ng l¹i ®iÓm tiÒm n¨ng theo ý muèn ") elseif GetLevel() >= 90 then if GetItemCount(31) >= 6 then for i=1,6 do DelItem(31) end tnlevel = (GetLevel() - 1) * 5 ttk = GetTask(15) * 5 ResetAP() sum = tnlevel+ttk Talk(1,"KickOutSelf","B¹n cã thÓ n©ng l¹i ®iÓm tiÒm n¨ng theo ý muèn ") else Talk(1,"","B¹n kh«ng cã ®ñ 6 Tinh Hång B¶o Th¹ch ") end end end function notrollback() cailao = GetTask(198)*2 if kiemtraft() == 1 then a = HaveMagic(353) b = HaveMagic(350) c = HaveMagic(351) d = HaveMagic(414) w = HaveMagic(289) p = HaveMagic(295) e = HaveMagic(454) elseif kiemtraft() == 2 then a = HaveMagic(342) b = HaveMagic(347) c = HaveMagic(345) d = HaveMagic(412) w = HaveMagic(455) p = HaveMagic(293) e = HaveMagic(310) elseif kiemtraft() == 3 then a = HaveMagic(302) b = HaveMagic(355) c = HaveMagic(358) d = HaveMagic(416) w = HaveMagic(286) p = HaveMagic(288) e = HaveMagic(299) elseif kiemtraft() == 4 then a = HaveMagic(359) b = HaveMagic(361) c = 0 d = HaveMagic(418) w = HaveMagic(446) p = HaveMagic(297) e = 0 elseif kiemtraft() == 5 then a = HaveMagic(374) b = HaveMagic(370) c = 0 d = HaveMagic(420) w = HaveMagic(448) p = 0 e = 0 elseif kiemtraft() == 6 then a = HaveMagic(377) b = HaveMagic(378) c = 0 d = HaveMagic(422) w = HaveMagic(448) p = 0 e = 0 elseif kiemtraft() == 7 then a = HaveMagic(362) b = HaveMagic(389) c = 0 d = HaveMagic(424) w = HaveMagic(445) p = HaveMagic(300) e = 0 elseif kiemtraft() == 8 then a = HaveMagic(365) b = HaveMagic(367) c = 0 d = HaveMagic(426) w = HaveMagic(443) p = HaveMagic(285) e = 0 elseif kiemtraft() == 9 then a = HaveMagic(382) b = HaveMagic(380) c = 0 d = HaveMagic(428) w = HaveMagic(442) p = 0 e = 0 elseif kiemtraft() == 10 then a = HaveMagic(385) b = HaveMagic(384) c = 0 d = HaveMagic(430) w = HaveMagic(439) p = 0 e = 0 elseif kiemtraft() == 11 then a = 0 b = 0 c = 0 d = 0 w = 0 p = 0 e = 0 end n = RollbackSkill() x = 0 i = HaveMagic(210) j = HaveMagic(471) if (a ~= -1) then x = x + a end if (b ~= -1) then x = x + b end if (c ~= -1) then x = x + c end if (d ~= -1) then x = x + d end if (w ~= -1) then x = x + w end if (p ~= -1) then x = x + p end if (e ~= -1) then x = x + e end if (i ~= -1) then x = x + i end if (j ~= -1) then x = x + j end rollback = n - x if ( rollback + GetMagicPoint() < 0 ) then rollback = -1 * GetMagicPoint() end AddMagicPoint(rollback) if (i ~= -1) then AddMagic(210,i) end if (j ~= -1) then AddMagic(284,j) end if kiemtraft() == 1 then if a ~= -1 then AddMagic(353,a) end if b ~= -1 then AddMagic(350,b) end if c ~= -1 then AddMagic(351,c) end if d ~= -1 then AddMagic(414,d) end if w ~= -1 then AddMagic(289,20+cailao) end if p ~= -1 then AddMagic(295,20+cailao) end if e ~= -1 then AddMagic(454,20+cailao) end elseif kiemtraft() == 2 then if a ~= -1 then AddMagic(342,a) end if b ~= -1 then AddMagic(347,b) end if c ~= -1 then AddMagic(345,c) end if d ~= -1 then AddMagic(412,d) end if w ~= -1 then AddMagic(455,20+cailao) end if p ~= -1 then AddMagic(293,20+cailao) end if e ~= -1 then AddMagic(310,20+cailao) end elseif kiemtraft() == 3 then if a ~= -1 then AddMagic(302,a) end if b ~= -1 then AddMagic(355,b) end if c ~= -1 then AddMagic(358,c) end if d ~= -1 then AddMagic(416,d) end if w ~= -1 then AddMagic(286,20+cailao) end if p ~= -1 then AddMagic(288,20+cailao) end if e ~= -1 then AddMagic(299,20+cailao) end elseif kiemtraft() == 4 then if a ~= -1 then AddMagic(359,a) end if b ~= -1 then AddMagic(361,b) end if d ~= -1 then AddMagic(418,d) end if w ~= -1 then AddMagic(446,20+cailao) end if p ~= -1 then AddMagic(297,20+cailao) end elseif kiemtraft() == 5 then if a ~= -1 then AddMagic(374,a) end if b ~= -1 then AddMagic(370,b) end if d ~= -1 then AddMagic(420,d) end if w ~= -1 then AddMagic(448,20+cailao) end elseif kiemtraft() == 6 then if a ~= -1 then AddMagic(377,a) end if b ~= -1 then AddMagic(378,b) end if d ~= -1 then AddMagic(422,d) end if w ~= -1 then AddMagic(448,20+cailao) end elseif kiemtraft() == 7 then if a ~= -1 then AddMagic(362,a) end if b ~= -1 then AddMagic(389,b) end if d ~= -1 then AddMagic(424,d) end if w ~= -1 then AddMagic(445,20+cailao) end if p ~= -1 then AddMagic(300,20+cailao) end elseif kiemtraft() == 8 then if a ~= -1 then AddMagic(365,a) end if b ~= -1 then AddMagic(367,b) end if d ~= -1 then AddMagic(426,d) end if w ~= -1 then AddMagic(443,20+cailao) end if p ~= -1 then AddMagic(285,20+cailao) end elseif kiemtraft() == 9 then if a ~= -1 then AddMagic(382,a) end if b ~= -1 then AddMagic(380,b) end if d ~= -1 then AddMagic(428,d) end if w ~= -1 then AddMagic(442,20+cailao) end elseif kiemtraft() == 10 then if a ~= -1 then AddMagic(385,a) end if d ~= -1 then AddMagic(430,d) end if b ~= -1 then AddMagic(384,b) end if w ~= -1 then AddMagic(439,20+cailao) end end end function taykinangcp() vlmt = GetTask(16) knlv = GetLevel() - 1 notrollback() AddMagicPoint(-GetMagicPoint()) diemkinang = vlmt + knlv AddMagicPoint(diemkinang) if (HaveMagic(344)>=0 ) then AddMagic(344,1) end end function skilltl() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(3) AddMagic(5) AddMagic(7) AddMagic(8) AddMagic(9) AddMagic(10) AddMagic(11) AddMagic(12) AddMagic(13) AddMagic(15) AddMagic(17) AddMagic(18) AddMagic(19) AddMagic(20,1) AddMagic(22,1) AddMagic(24,1) AddMagic(357) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i ThiÕu L©m") end; function skilltv() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(32) -- Õ¶Áú¾÷ AddMagic(34) -- ÌìÍõǹ·¨ AddMagic(36) -- ÌìÍõµ¶·¨ AddMagic(29) -- ÌìÍõ´¸·¨ AddMagic(30) -- »Ø·çÂäÑã AddMagic(31) -- ÐÐÔƾ÷ AddMagic(38) -- ÎÞÐÄÕ¶ AddMagic(39) -- ¾²Ðľ÷ AddMagic(41) -- ¾ªÀ×Õ¶ AddMagic(43) -- Ñô¹ØÈýµþ AddMagic(45) -- ÌìÍõÕ½Òâ AddMagic(47) -- Æ÷çÕ¶ AddMagic(51) -- ¶Ï»ê´Ì AddMagic(49) -- Ѫս°Ë·½ AddMagic(277) AddMagic(48) AddMagic(59,1) AddMagic(57,1) AddMagic(55,1) AddMagic(358) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i Thiªn V¬ng") end; function skilldm() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(61) AddMagic(64) AddMagic(63) AddMagic(66) AddMagic(68) AddMagic(70) AddMagic(72) AddMagic(74) AddMagic(76) AddMagic(78) AddMagic(85) AddMagic(81) AddMagic(83) AddMagic(80) AddMagic(88,1) AddMagic(91,1) AddMagic(94,1) AddMagic(96,1) AddMagic(359) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i §êng M«n") end; function skillnd() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(98) AddMagic(99) AddMagic(101) AddMagic(102) AddMagic(103) AddMagic(104) AddMagic(105) AddMagic(106) AddMagic(107) AddMagic(109) AddMagic(110) AddMagic(111) AddMagic(112) AddMagic(113) AddMagic(115) AddMagic(116) AddMagic(114) AddMagic(118,1) AddMagic(120,1) AddMagic(123,1) AddMagic(360) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i Ngò §éc") end; function skillnm() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(125) AddMagic(127) AddMagic(129) AddMagic(128) AddMagic(130) AddMagic(131) AddMagic(133) AddMagic(134) AddMagic(136) AddMagic(138) AddMagic(141) AddMagic(143) AddMagic(144) AddMagic(140) AddMagic(323,1) AddMagic(149,1) AddMagic(151,1) AddMagic(361) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i Nga My") end; function skillty() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(154) -- ·ç»¨Ñ©Ô AddMagic(156) -- ´äÑ̵¶·¨ AddMagic(157) -- ´äÑÌË«µ¶ AddMagic(158) -- »¤Ì庮±ù AddMagic(159) -- ·ç¾í²ÐÑ© AddMagic(160) -- ǧÀï±ù·â- AddMagic(162) -- ±ùÐÄÙ»Ó° AddMagic(163) -- Óê´òÀ滨 AddMagic(164) -- Ñ©Ó° AddMagic(166) -- ̤ѩÎÞºÛ AddMagic(168) -- ¸¡ÔÆɢѩ AddMagic(165) -- ÄÁÒ°Á÷ÐÇ AddMagic(169,1) AddMagic(172,1) AddMagic(362) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i Thuý Yªn") end; function skillcb() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(176) -- ͶʯÎÊ· AddMagic(177) -- ؤ°ï°ô·¨ AddMagic(180) -- ؤ°ïÈ·¨ AddMagic(179) -- ÑØÃÅÍв§ AddMagic(181) -- ¼ûÈËÉìÊÖ AddMagic(182) -- »¬²»ÁôÊÖ AddMagic(183) -- ´ò¹·Õó AddMagic(185) -- ½µÁúÕÆ AddMagic(186) -- ÌìÏÂÎÞ¹· AddMagic(188) -- ×íµû¿ñÎè AddMagic(190) -- ¿ºÁúÓÐ»Ú AddMagic(191) AddMagic(325,1) AddMagic(328,1) AddMagic(363) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i C¸i Bang") end; function skilltn() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(197) AddMagic(199) AddMagic(200) AddMagic(201) AddMagic(202) AddMagic(203) AddMagic(204) AddMagic(206) AddMagic(207) AddMagic(208) AddMagic(209) AddMagic(211) AddMagic(213) AddMagic(210) AddMagic(214,1) AddMagic(216,1) AddMagic(218,1) AddMagic(364) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i Thiªn NhÉn") end; function skillvd() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(220) -- ÅÀ×Ö¸ AddMagic(221) -- Îäµ±½£·¨ AddMagic(224) -- Î䵱ȷ¨ AddMagic(223) -- ²×º£Ã÷Ô AddMagic(225) -- ×øÍüÎÞÎÒ AddMagic(227) -- ½£·É¾ªÌì AddMagic(228) -- ÆßÐÇÕó AddMagic(279) -- ÌÝÔÆ×Ý AddMagic(280) -- ÐþÒ»ÎÞÏó AddMagic(234) -- °þ¼°¶ø¸´ AddMagic(233) -- ÎÞÎÒÎÞ½£ AddMagic(281) AddMagic(236,1) AddMagic(239,1) AddMagic(365) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i Vâ §ang") end; function skillcl() AddMagic(1,1) AddMagic(2,1) AddMagic(53,1) AddMagic(250) AddMagic(252) AddMagic(253) AddMagic(254) AddMagic(256) AddMagic(257) AddMagic(255) AddMagic(258) AddMagic(259) AddMagic(260) AddMagic(261) AddMagic(262) AddMagic(263) AddMagic(264) AddMagic(266) AddMagic(268) AddMagic(275) AddMagic(267) AddMagic(269,1) AddMagic(272,1) AddMagic(274,1) AddMagic(366) DelItem(234) Msg2Player("B¹n ®· chuyÓn sang ph¸i C«n L«n") end;
Lần sửa cuối bởi thaihoa91, ngày 20-10-12 lúc 08:10 AM.
Khách viếng thăm hãy cùng boykho xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
25-04-13, 09:12 PM #10
- Ngày tham gia
- Apr 2013
- Bài viết
- 17
- Thanks
- 7
- Thanked 0 Times in 0 Posts
Ðề: Cần xin script chuyển phái [có hướng dẫn trong topic này]
sao mình copy làm rồi . mà vẫn kêu là sau khi xuất sư mới có thể chuyển đổi phái
mà mình đã xuất sư??Khách viếng thăm hãy cùng sunnythanh xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
[JX] Topic Hướng Dẫn Viết Script + Fix Lỗi cho Gamer
Bởi kinkina2009 trong diễn đàn ScriptsTrả lời: 82Bài viết cuối: 28-07-17, 09:15 AM -
[KT] Cần 1 topic chuyên về việt hóa và hướng dẫn!
Bởi anonimoventoso trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 3Bài viết cuối: 23-07-12, 02:53 PM -
Không nói chuyện đc ở các topic
Bởi s2onlinevt trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 2Bài viết cuối: 05-12-11, 09:47 PM -
Bác Nào Đang Onl Vào Topic E Có Chuyện Nhhờ Gấp!
Bởi mrken2513 trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 3Bài viết cuối: 13-02-11, 10:10 PM -
Topic giúp fix các lổi trong Chinh Đồ off
Bởi luckymen trong diễn đàn Chinh ĐồTrả lời: 1Bài viết cuối: 24-07-10, 02:20 PM