[TLBB] Xin hỏi cách add Bí kíp 45 và 80 vào server
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Kết quả 1 đến 2 của 2
  1. #1
    Thành Viên Tâm Huyết
    Ngày tham gia
    Oct 2010
    Bài viết
    610
    Thanks
    196
    Thanked 218 Times in 99 Posts

    Xin hỏi cách add Bí kíp 45 và 80 vào server

    Có ai biết cách add bí kíp 45 và 80 vào server
    Gồm những file nào và nguyên tắc hoạt động ra sao ạ
    Không có gì là không thể

  2. #2
    Super Moderator Sói Đẹp Trai's Avatar
    Ngày tham gia
    Apr 2011
    Đang ở
    地獄
    Bài viết
    3,991
    Thanks
    369
    Thanked 4,051 Times in 1,402 Posts

    Ðề: Xin hỏi cách add Bí kíp 45 và 80 vào server

    Trích dẫn Gửi bởi rikudo [Only registered and activated users can see links. ]
    Có ai biết cách add bí kíp 45 và 80 vào server
    Gồm những file nào và nguyên tắc hoạt động ra sao ạ
    Bí kíp hay gì gì đó thực chất là cái skill thêm vào thôi. Như YQ 80 thì nó có cả script điều khiển nữa. Lấy ví dụ đây là script của skill bộ bộ sinh hoa của Tiêu Dao

    Code:
    --½Å±¾ºÅ
    x808230_g_scriptId = 808230
    
    x808230_BuBu =139
    x808230_BuBu_F =217
    x808230_BuBu_G =317
    x808230_Gong = 36
    x808230_Fang = 35
    
    function x808230_OnImpactFadeOut( sceneId, selfId, impactId )
    	if GetHp( sceneId, selfId ) == 0 then
    		return
    	end
    --LuaFnSendSpecificImpactToUnit( sceneId, selfId, selfId, selfId, 29629, 0 )
    	local x,z = GetWorldPos( sceneId, selfId )
    	local type = 0	--Õý³£×´Ì¬
    	if LuaFnHaveImpactInSpecificCollection(sceneId, selfId, x808230_Gong)==1 then
    		type=1  --¹¥»÷״̬
    	elseif LuaFnHaveImpactInSpecificCollection(sceneId, selfId, x808230_Fang)==1 then
    		type=2  --·ÀÓù״̬
    	end
    	if type==1 then
    		CreateSpecialObjByDataIndex(sceneId, selfId, x808230_BuBu_G+x808230_XinFaAddition( sceneId, selfId ), x, z, 0)
    	elseif type==2 then
    		CreateSpecialObjByDataIndex(sceneId, selfId, x808230_BuBu_F+x808230_XinFaAddition( sceneId, selfId ), x, z, 0)
    	else
    		CreateSpecialObjByDataIndex(sceneId, selfId, x808230_BuBu+x808230_XinFaAddition( sceneId, selfId ), x, z, 0)
    	end
    end
    
    --**********************************
    -- ÐÄ·¨¼Ó³É
    --**********************************
    function x808230_XinFaAddition( sceneId, selfId )
    	local nXinfaLevel = LuaFnGetXinFaLevel(sceneId, selfId, 63)
    	local nAdditon = 0
    	if nXinfaLevel>=150 then
    		nAdditon = 15
    	elseif nXinfaLevel>=140 and nXinfaLevel<150 then
    		nAdditon = 14
    	elseif nXinfaLevel>=130 and nXinfaLevel<140 then
    		nAdditon = 13
    	elseif nXinfaLevel>=120 and nXinfaLevel<130 then
    		nAdditon = 12
    	elseif nXinfaLevel>=110 and nXinfaLevel<120 then
    		nAdditon = 11
    	elseif nXinfaLevel>=100 and nXinfaLevel<110 then
    		nAdditon = 10
    	elseif nXinfaLevel>=90 and nXinfaLevel<100 then
    		nAdditon = 9
    	elseif nXinfaLevel>=80 and nXinfaLevel<90 then
    		nAdditon = 8
    	elseif nXinfaLevel>=70 and nXinfaLevel<80 then
    		nAdditon = 7
    	elseif nXinfaLevel>=60 and nXinfaLevel<70 then
    		nAdditon = 6
    	elseif nXinfaLevel>=50 and nXinfaLevel<60 then
    		nAdditon = 5
    	elseif nXinfaLevel>=40 and nXinfaLevel<50 then
    		nAdditon = 4
    	elseif nXinfaLevel>=30 and nXinfaLevel<40 then
    		nAdditon = 4
    	elseif nXinfaLevel>=20 and nXinfaLevel<30 then
    		nAdditon = 3
    	elseif nXinfaLevel>=10 and nXinfaLevel<20 then
    		nAdditon = 2
    	elseif nXinfaLevel<10 then
    		nAdditon = 1
    	end
    	return nAdditon
    end
    Còn thông tin skill thì tham khảo SkillData_V1.txtSkillTemplate.txt. Ngoài ra còn có 2 file cũng quan trọng góp phần làm nên hiệu ứng của skill đó là StandardImpact.txtImpactSEData_V1.txt (Ở client). Chi tiết thì dịch cái StandardImpact ra, nhìn mấy cái dòng chú thích của nó là rõ ngay.
    Khách viếng thăm hãy cùng Sói Đẹp Trai xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  3. Các thành viên gởi lời cảm ơn đến Sói Đẹp Trai vì bài viết này !

    rikudo (09-06-14)

 

 

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 01:02 PM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.