PDA

View Full Version : [KT] Xin giúp đỡ túi quà tân thủ thiếu vũ khí của nữ



camxuc
27-10-12, 08:50 PM
như tiêu đề nói mình add túi tân thủ thì hệ nam các phái đề nhận dc vũ khí còn phái nũ thì lại không nhận dc mong các bạn giúp đỡ

tbGift.tbSetItem = {{{2,6,159,8,nil,12},{2,6,169,8,nil,12},{2,6,179,8 ,nil,12},{2,6,189,8,nil,12},{2,6,199,8,nil,12},{2, 6,159,8,nil,12},{2,6,169,8,nil,12},{2,6,179,8,nil, 12},{2,6,189,8,nil,12},{2,6,199,8,nil,12},},--phu{{2,7,310,8,nil,12},{2,7,330,8,nil,12},{2,7,350 ,8,nil,12},{2,7,370,8,nil,12},{2,7,490,8,nil,12},{ 2,7,320,8,nil,12},{2,7,340,8,nil,12},{2,7,360,8,ni l,12},{2,7,380,8,nil,12},{2,7,400,8,nil,12},},--giay{{2,10,626,8,nil,12},{2,10,330,8,nil,12},{2,10 ,650,8,nil,12},{2,10,370,8,nil,12},{2,10,390,8,nil ,12},{2,10,320,8,nil,12},{2,10,340,8,nil,12},{ 2,10,360,8,nil,12},{2,10,380,8,nil,12},{2,10,500,8 ,nil,12},},--bao tay{{2,5,158,8,nil,12},{2,5,168,8,nil,12},{2,5,178 ,8,nil,12},{2,5,188,8,nil,12},{2,5,198,8,nil,12},{ 2,5,158,8,nil,12},{2,5,168,8,nil,12},{2,5,178 ,8,nil,12},{2,5,188,8,nil,12},{2,5,198,8,nil,12},} ,--lien{{2,11,308,8,nil,12},{2,11,328,8,nil,12},{2,11 ,348,8,nil,12},{2,11,368,8,nil,12},{2,11,388,8,nil ,12},{2,11,318,8,nil,12},{2,11,338,8,nil,12},{ 2,11,358,8,nil,12},{2,11,378,8,nil,12},{2,11,398,8 ,nil,12},},--ngoc boi{{2,4,158,8,nil,12},{2,4,168,8,nil,12},{2,4,178 ,8,nil,12},{2,4,188,8,nil,12},{2,4,248,8,nil,12},{ 2,4,158,8,nil,12},{2,4,168,8,nil,12},{2,4,178 ,8,nil,12},{2,11,188,8,nil,12},{2,4,198,8,nil,12}, },--gioi chi{{2,8,308,8,nil,12},{2,8,328,8,nil,12},{2,8,348 ,8,nil,12},{2,8,468,8,nil,12},{2,8,388,8,nil,12},{ 2,8,318,8,nil,12},{2,8,338,8,nil,12},{2,8,358,8,ni l,12},{2,8,378,8,nil,12},{2,8,398,8,nil,12},},--dai{{2,3,610,8,nil,12},{2,3,650,8,nil,12},{2,3,690 ,8,nil,12},{2,3,730,8,nil,12},{2,3,770,8,nil,12},{ 2,3,620,8,nil,12},{2,3,660,8,nil,12},{2,3,700 ,8,nil,12},{2,3,740,8,nil,12},{2,3,800,8,nil,12},} ,--ao{{2,9,608,8,nil,12},{2,9,648,8,nil,12},{2,9,688, 8,nil,12},{2,9,728,8,nil,12},{2,9,768,8,nil,12},{2 ,9,618,8,nil,12},{2,9,658,8,nil,12},{2,9,698 ,8,nil,12},{2,9,758,8,nil,12},{2,9,798,8,nil,12},} ,--mu{{2,1,549,8,nil,12},{2,1,589,8,nil,12},{2,1,609, 8,nil,12},{2,1,649,8,nil,12},{2,1,689,8,nil,12},{2 ,1,549,8,nil,12},{2,1,589,8,nil,12},{2,1,609 ,8,nil,12},{2,1,648,8,nil,12},{2,1,689,8,nil,12},} ,{{2,1,559,8,nil,12},{2,1,599,8,nil,12},{2,1,618,8 ,nil,12},{2,1,659,8,nil,12},{2,1,699,8,nil,12},{2, 1,559,8,nil,12},{2,1,599,8,nil,12},{2,1,618 ,8,nil,12},{2,1,659,8,nil,12},{2,1,699,8,nil,12},} ,{{2,1,569,8,nil,12},{2,1,979,8,nil,12},{2,1,629,8 ,nil,12},{2,1,689,8,nil,12},{2,1,709,8,nil,12},{2, 1,569,8,nil,12},{2,1,979,8,nil,12},{2,1,629 ,8,nil,12},{2,1,669,8,nil,12},{2,1,708,8,nil,12},} ,{{2,1,579,8,nil,12},{2,2,98,8,nil,12},{2,1,639,8, nil,12},{2,1,679,8,nil,12},{2,1,719,8,nil,12},{2,1 ,579,8,nil,12},{2,2,98,8,nil,12},{2,1,639 ,8,nil,12},{2,1,679,8,nil,12},{2,1,719,8,nil,12},} ,{{2,1,1170,8,nil,12},{2,2,88,8,nil,12},{2,1,809,8 ,nil,12},{2,1,849,8,nil,12},{2,1,889,8,nil,12},{2, 1,1170,8,nil,12},{2,2,88,8,nil,12},{2,1,809 ,8,nil,12},{2,1,849,8,nil,12},{2,1,889,8,nil,12},} ,{{2,1,1142,8,nil,12},{2,1,909,8,nil,12},{2,1,1181 ,8,nil,12},{2,1,1206,8,nil,12},{2,1,1209,8,nil,12} ,{2,1,1143,8,nil,12},{2,1,909,8,nil,12},{2, 1,1181,8,nil,12},{2,1,1206,8,nil,12},{2,1,1209,8,n il,12},},} -------------------------------function tbGift:TrangBi100(nFlag, nSeries)local nCount = me.GetTask(self.TASK_GROUP_ID6, self.TaskId_Count); if nCount >= self.Use_Max then local szMsg = "<color=yellow>Phần thưởng chỉ nhận được 1 lần :<color>"; local tbOpt = { {"Bạn đã nhận phần thưởng này rồi..."}; }; Dialog:Say(szMsg, tbOpt); return 0; end if (nCount == 0) thenif not nFlag thenlocal szMsg = "Nhận trang bị hệ nào?";local tbOpt ={{"Hệ Kim",self.TrangBi100,self,1,1},{"Hệ Mộc",self.TrangBi100,self,1,2},{"Hệ Thủy",self.TrangBi100,self,1,3},{"Hệ Hỏa",self.TrangBi100,self,1,4},{"Hệ Thổ",self.TrangBi100,self,1,5},}Dialog:Say(szMsg,tbOpt );elseif nFlag == 1 thenlocal szMsg = "Nam hay nữ?";local tbOpt ={{"Nam",self.TrangBi100,self,2,nSeries},{"Nữ",self.TrangBi100,self,2,nSeries+5},}Dialog:Say(szM sg,tbOpt);else local tbItems = self.tbSetItem;for i = 1, 15 dome.AddItem(unpack(tbItems[i][nSeries])).Bind(1);me.SetTask(self.TASK_GROUP_ID6, self.TaskId_Count, nCount + 1);endendendend

vipbk
28-10-12, 01:38 PM
chỉ có áo, bao tay ... là phân biệt giới tính, còn phù, vũ khí ... là chung cho cả nam lẫn nữ, bạn xem lại code !