[JX] Các bác cho hỏi chút muốn giảm bớt né tránh - Trang 2
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Trang 2 của 2 Đầu tiênĐầu tiên 1 2
Kết quả 11 đến 13 của 13
  1. #11
    Thành Viên
    Ngày tham gia
    May 2007
    Bài viết
    134
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Ðề: Các bác cho hỏi chút muốn giảm bớt né tránh

    tiện hỏi luôn bác tăng độ chính xác cho skill ở phần nào trong skill này bác

    Code:
    --- Skill duong mon
    
    --µü´úº¯Êý£¬ÓÃÓÚ¼ÆËã¼¼ÄÜÊìÁ·¶È
    --¾ßÌå·½·¨£º
    --¸ù¾Ý1¼¶ÊìÁ·¶È£¬Éý¼¶¼ÓËٶȣ¬¼¶Êý£¬Öظ´É˺¦´ÎÊý£¬·¶Î§£¬¼ÆËã³öÏàÓ¦µÈ¼¶ÊìÁ·¶È
    -- SkillExp(i) = Exp1*a^(i-1)*time*range
    function SkillExpFunc(Exp0,a,Level,Time,Range)
        return floor(Exp0*(a^(Level-1))*Time*Range/2)
    end
    
    
    SKILLS={
        --ÌÆÃÅ
        pili_dan={ --Åùö¨µ¯        Tich Lech Ðon
            physicsenhance_p={{{1,20},{20,80}}},
            seriesdamage_p={{{1,1},{20,10}},{{1,1},{2,1}}},
            skill_eventskilllevel={{{1,1},{55,55},{56,0},{57,0}}},
            poisondamage_v={{{1,1},{20,5}},{{1,60},{20,60}},{{1,10},{20,10}}},
            deadlystrike_p={{{1,1},{20,8}}},
            lifereplenish_v={{{1,0},{60,0},{61,-600}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
            addskilldamage1={
            [1]={{1,355},{20,355}},
            [3]={{1,1},{20,45}}},
            addskilldamage2={
            [1]={{1,302},{20,302}},
            [3]={{1,1},{20,35}}},
            addskilldamage3={
            [1]={{1,358},{20,358}},
            [3]={{1,10},{20,40}}},
            addskilldamage4={
            [1]={{1,357},{20,357}},
            [3]={{1,1},{20,35}}},
            addskilldamage5={
            [1]={{1,249},{20,249}},
            [3]={{1,1},{20,35}}},
            addskilldamage6={
            [1]={{1,58},{20,58}},
            [3]={{1,1},{20,35}}},
            
            
            skill_cost_v={{{1,12},{20,12}}},
    changecamp_b={{{1,0},{20,5},{21,5}}},
        },
        tangmen_anqi={ --ÌÆÃÅ°µÆ÷        Ðuong Mon am Khi
            addphysicsdamage_p={{{1,25},{20,215}},{{1,-1},{2,-1}},{{1,7},{2,7}}},
    knockbackenhance_p={{{1,0},{20,8},{21,8}}}
        },
        duohun_biao={ --¶á»êïÚ      Ðoat Hon Tieu
            physicsenhance_p={{{1,25},{20,115}}},
            seriesdamage_p={{{1,5},{20,30}},{{1,1},{2,1}}},
            deadlystrike_p={{{1,2},{20,12}}},
    skill_eventskilllevel={{{1,1},{55,55},{56,0},{57,0}}},
            addskilldamage1={
            [1]={{1,358},{20,358}},
            [3]={{1,1},{20,45}}},
            
            poisondamage_v={{{1,3},{20,8}},{{1,60},{20,60}},{{1,10},{20,10}}},
            missle_speed_v={{{1,24},{20,28}}},
            skill_attackradius={{{1,384},{20,448}}},
            skill_cost_v={{{1,5},{20,16}}},
    slowmissle_b={{{1,0},{20,3},{21,3}}}
        },
        xinyan={ --ÐÄÑÛ       Tam Nhan
            poisonenhance_p={{{1,3},{30,33}},{{1,-1},{2,-1}}},
            addpoisondamage_v={{{1,1},{30,10}},{{1,-1},{2,-1}},{{1,10},{2,10}}},
            addphysicsdamage_p={{{1,15},{20,115}},{{1,-1},{2,-1}},{{1,7},{2,7}}},
            attackspeed_v={{{1,29},{30,106}},{{1,-1},{2,-1}}},
            deadlystrikeenhance_p={{{1,8},{30,26}},{{1,-1},{2,-1}}},
            addcolddamage_v={{{1,10},{30,110}},{{1,-1},{2,-1}}},
        },
        zhuixin_jian={ --×·Ðļý      Truy Tam Tien
            physicsenhance_p={{{1,20},{20,185}}},
            seriesdamage_p={{{1,5},{20,30}},{{1,1},{2,1}}},
    skill_eventskilllevel={{{1,1},{55,55},{56,0},{57,0}}},
            poisondamage_v={{{1,3},{20,8}},{{1,60},{20,60}},{{1,10},{20,10}}},
            deadlystrike_p={{{1,5},{20,15}}},
            addskilldamage1={
            [1]={{1,355},{20,355}},
            [3]={{1,1},{20,50}}},
        
            
    lifereplenish_v={{{1,0},{60,0},{61,-900}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
            missle_speed_v={{{1,24},{20,28},{21,28}}},
            skill_attackradius={{{1,384},{20,448}}},
            skill_cost_v={{{1,20},{20,20}}},
    slowmissle_b={{{1,0},{20,3},{21,3}}}
        },
        mantian_huayu={ --ÂþÌ컨Óê   Man Thien Hoa Vu
            physicsenhance_p={{{1,30},{20,185}}},
            seriesdamage_p={{{1,5},{20,30}},{{1,1},{2,1}}},
    skill_eventskilllevel={{{1,1},{55,55},{56,0},{57,0}}},
            poisondamage_v={{{1,3},{20,8}},{{1,60},{20,60}},{{1,10},{20,10}}},
            deadlystrike_p={{{1,1},{20,8}}},
            addskilldamage1={
            [1]={{1,302},{20,302}},
            [3]={{1,1},{20,45}}},
        
        
            skill_attackradius={{{1,384},{20,416}}},
            skill_cost_v={{{1,40},{20,40}}},
    slowmissle_b={{{1,0},{20,3},{21,3}}}
        },
    nhatthichdoanhon={ --ÂþÌ컨Óê         nhat thich doan hon
            physicsenhance_p={{{1,30},{20,200},{45,1000},{50,2000},{55,5000}}},
            seriesdamage_p={{{1,50},{50,150}},{{1,1},{2,1}}},
            poisondamage_v={{{1,3},{20,100},{50,2000},{55,5000}},{{1,60},{20,60}},{{1,10},{20,10}}},
            deadlystrike_p={{{1,1},{20,8}}},
            colddamage_v={
                [1]={{1,5},{15,100},{20,101},{45,200},{50,1000},{59,2000},{60,80000}},
                [3]={{1,5},{15,100},{20,101},{45,200},{50,1000},{59,2000},{60,80000}},
            },
            skill_attackradius={{{1,384},{20,416}}},
    skill_eventskilllevel={{{1,0},{24,0},{25,25},{50,50}}},
    skill_vanishedevent={{{1,0},{45,1}}},
            skill_cost_v={{{1,0},{20,0}}}
        },
    tang3dm={ --Éã»êÔÂÓ°
            physicsenhance_p={{{1,10},{15,50},{20,100}}},
            colddamage_v={
                [1]={{1,10},{15,100},{25,201},{49,300},{50,500},{59,1500},{60,50000}},
                [3]={{1,10},{15,100},{25,201},{49,300},{50,500},{59,1500},{60,50000}},
            },
    skill_misslenum_v={{{1,1},{25,1},{49,4},{50,5},{51,5}}},
            seriesdamage_p={{{1,150},{50,150}},{{1,1},{2,1}}},
            poisondamage_v={{{1,0},{25,10},{49,300},{50,550}},{{1,60},{20,60}},{{1,10},{20,10}}},
            deadlystrike_p={{{1,10},{20,39}}},
            skill_cost_v={{{1,0},{20,0}}},
            skill_eventskilllevel={{{1,0},{29,0},{30,30},{50,50}}},
            skill_collideevent={
                [1]={{1,0},{10,0},{10,1},{20,1}},
                [3]={{1,340},{20,340}}
            },
    missle_lifetime_v={{{1,5},{20,5}}},
            skill_showevent={{{1,0},{10,0},{10,4},{20,4}}},
            missle_speed_v={{{1,28},{20,32},{21,32}}},
            skill_attackradius={{{1,448},{20,512},{21,512}}},
        },
    tang4dm={ --¾Å¹¬·ÉÐÇ   Tang 5 DM
            seriesdamage_p={{{1,150},{50,150}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,10},{15,250},{20,550}}},
    skill_misslenum_v={{{1,1},{40,1},{49,5},{50,8},{51,8}}},
            colddamage_v={
                [1]={{1,100},{15,100},{25,110},{48,10000},{50,20000},{55,30000}},
                [3]={{1,100},{15,100},{25,110},{48,10000},{50,20000},{55,30000}},
            },
            deadlystrike_p={{{1,10},{20,39}}},
            poisondamage_v={{{1,5000},{20,200},{40,500},{50,1000},{55,2500}},{{1,60},{20,60}},{{1,10},{20,10}}},
            missle_speed_v={{{1,28},{20,32},{21,32}}},
            skill_attackradius={{{1,448},{20,512},{21,512}}},
            skill_cost_v={{{1,0},{20,0}}},
        },
    tang2dm={ --Òøµ¶ÉäÔ   Tang 4 DM
            seriesdamage_p={{{1,150},{50,150}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,00},{25,200},{40,1000},{50,2000},{55,4000}}},
    skill_eventskilllevel={{{1,0},{39,0},{40,40},{50,50}}}
        },
    tang2dmm={ --Òøµ¶ÉäÔÂ
            seriesdamage_p={{{1,150},{50,150}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,10},{20,20},{49,150},{50,200},{55,400}}},
        },
    
        tianluo_diwang={ --ÌìÂÞµØÍø    Thien La Ðia Vong
            seriesdamage_p={{{1,10},{20,50},{21,52}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,80},{20,344}}},
            poisondamage_v={{{1,5},{20,24}},{{1,60},{20,60}},{{1,10},{20,10}}},
            deadlystrike_p={{{1,5},{20,14}}},
    skill_eventskilllevel={{{1,1},{2,2}}},
            addskilldamage1={
            [1]={{1,302},{20,302}},
            [3]={{1,1},{20,55}}},
    lifereplenish_v={{{1,0},{60,0},{61,-1300}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
    colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,25},{2,25}},
                [3]={{1,0},{2,0}}
            },
            missle_speed_v={{{1,26},{20,28},{21,28}}},
            skill_attackradius={{{1,448},{20,512},{21,512}}},
            skill_cost_v={{{1,22},{20,57}}},
    slowmissle_b={{{1,0},{20,7},{21,7}}}
        },
        tianluo_diwang1={ --ÌìÂÞµØÍø    Thien La Dia Vong Tieu Phi Dao
            seriesdamage_p={{{1,10},{20,50},{21,52}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,80/2},{20,240/2}}},
    poisondamage_v={{{1,5},{20,24},{58,20},{61,0}},{{1,60},{20,60}},{{1,10},{20,10}}},
            missle_speed_v={{{1,26},{20,28},{21,28}}},
    colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,25},{2,25}},
                [3]={{1,0},{2,0}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-1300}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
        },
        xiaoli_feidao={ --СÀî·Éµ¶       Tieu Ly Phi Dao
            seriesdamage_p={{{1,10},{20,50},{21,52}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,50},{20,344}}},
    skill_eventskilllevel={{{1,1},{50,50},{51,0},{57,0}}},
            poisondamage_v={{{1,5},{20,24}},{{1,60},{20,60}},{{1,10},{20,10}}},
    colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,0},{30,0},{50,0},{51,20}},
                [3]={{1,0},{2,0}}
            },
            deadlystrike_p={{{1,10},{20,59}}},
            addskilldamage1={
            [1]={{1,355},{20,355}},
            [3]={{1,1},{20,82}}},
            
            skill_attackradius={{{1,448},{20,448}}},
            skill_cost_v={{{1,50},{20,50}}},
    slowmissle_b={{{1,0},{20,7},{21,7}}}
        },
            diyan_huo={ --µØÑæ»ð   Ðia Diem Hoa
            firedamage_v={
                [1]={{1,60},{20,400}},
                [3]={{1,60},{20,400}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-600}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
            seriesdamage_p={{{1,1},{20,10}},{{1,1},{2,1}}},
            skill_cost_v={{{1,20},{20,60}}}
        },
        duci_gu={ --¶¾´Ì¹Ç     Ðoc Thich Cot
            poisondamage_v={
                [1]={{1,8},{20,40}},
                [2]={{1,100},{20,100}},
                [3]={{1,10},{20,10}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-800}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
            seriesdamage_p={{{1,1},{20,10}},{{1,1},{2,1}}},
            skill_cost_v={{{1,20},{20,60}}}
        },
        chuanxin_ci={ --´©ÐÄ´Ì        Xuyen Tam Thich
            seriesdamage_p={{{1,5},{20,30}},{{1,1},{2,1}}},
            physicsdamage_v={
                [1]={{1,60},{20,400}},
                [3]={{1,60},{20,400}}
            },
            skill_cost_v={{{1,20},{20,60}}}
        },
        hanbing_ci={ --º®±ù´Ì       Hàn Bang Thich
            seriesdamage_p={{{1,5},{20,30}},{{1,1},{2,1}}},
            colddamage_v={
                [1]={{1,60},{20,400}},
                [2]={{1,1},{20,18}},
                [3]={{1,60},{20,400}}
            },
            skill_cost_v={{{1,20},{20,60}}}
        },
        leiji_shu={ --À×»÷Êõ       LoI Kich Thuat
            seriesdamage_p={{{1,10},{20,50},{21,52}},{{1,1},{2,1}}},
            lightingdamage_v={
                [1]={{1,60},{20,400}},
                [3]={{1,60},{20,400}}
            },
            stun_p={{{1,1},{20,20}},{{1,1},{20,20}}},
            skill_cost_v={{{1,20},{20,60}}}
        },
        luanhuan_ji={ --ÂÒ»·»÷       Doan Hon Tran
            firedamage_v={
                [1]={{1,100},{20,400}},
                [3]={{1,100},{20,400}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-5000}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
            poisondamage_v={
                [1]={{1,20},{20,80}},
                [2]={{1,50},{20,50}},
                [3]={{1,10},{20,10}}
            },
            physicsdamage_v={
                [1]={{1,100},{20,400}},
                [3]={{1,100},{20,400}}
            },
            colddamage_v={
                [1]={{1,100},{20,400}},
                [2]={{1,1},{2,18}},
                [3]={{1,100},{20,400}}
            },
            lightingdamage_v={
                [1]={{1,100},{20,400}},
                [3]={{1,100},{20,400}}
            },
            stun_p={{{1,1},{20,20}},{{1,10},{20,20}}},
            skill_cost_v={{{1,60},{20,120}}}
        },
        nomovespeedatt = {
            nomovespeed={
                [1]={{1,100},{10,0}},
                [2]={{1,5*18},{20,20*18}},
                [3]={{1,10},{20,10}}
            },
            skill_cost_v={{{1,1},{20,20}}}
        
        },
    
    
        shehun_yueying={ --Éã»êÔÂÓ°       Nhiep Hon Nguyet anh
            physicsenhance_p={{{1,25},{15,150},{20,301}}},
            skill_skillexp_v={{{1,21},{2,53},{3,105},{4,210},{5,420},{6,840},{7,1260},{8,1785},{9,2415},{10,3675},{11,5355},{12,7560},{13,9975},{14,13755},{15,19635},{16,25620},{17,37485},{18,53760},{19,103950},{20,103950},{21,103950},{22,103950},{23,103950},{24,103950},{25,0}},{{1,355},{20,355}},{{1,192},{2,192}}},
    
            colddamage_v={
                [1]={{1,0},{2,0}},
                [2]={{1,0},{25,0},{45,0},{56,20}},
                [3]={{1,0},{2,0}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-1500},{62,-3000}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
    physicsres_p={{{1,-1},{20,-15},{30,-30},{31,-30}},{{1,18},{2,18}}},
    poisonres_p={{{1,-1},{20,-15},{30,-30},{31,-30}},{{1,18},{2,18}}},
            seriesdamage_p={{{1,20},{15,20},{20,55},{21,57}},{{1,1},{2,1}}},
            poisondamage_v={{{1,5},{20,31}},{{1,55},{20,55}},{{1,10},{20,10}}},
            deadlystrike_p={{{1,10},{20,59}}},
            skill_cost_v={{{1,30},{20,55}}},
            skill_eventskilllevel={{{1,0},{10,0},{11,11},{20,20}}},
            skill_collideevent={
                [1]={{1,0},{10,0},{10,1},{20,1}},
                [3]={{1,340},{20,240}}
            },
            skill_showevent={{{1,0},{10,0},{10,4},{20,4}}},
            missle_speed_v={{{1,28},{20,32},{21,32}}},
            stunenhance_p={{{1,0},{10,1},{20,3},{21,3}}},
        },
        yindao_sheyue={ --Òøµ¶ÉäÔ       Ngan Ðao Xa Nguyet
            seriesdamage_p={{{1,20},{20,60}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,25},{20,116}}},
    colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,0},{30,0},{50,0},{51,25}},
                [3]={{1,0},{2,0}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-3500},{62,-5000}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    castspeed_v={{{1,0},{20,0},{21,-5},{30,-40},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    manamax_p={{{1,0},{20,0},{21,-20},{30,-100},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
        },
        baoyu_lihua={ --±©ÓêÀ滨      Bao Vu Le Hoa
            seriesdamage_p={{{1,20},{15,20},{20,60},{21,62}},{{1,1},{2,1}}},
            skill_skillexp_v={{{1,21},{2,53},{3,105},{4,210},{5,420},{6,840},{7,1260},{8,1785},{9,2415},{10,3675},{11,5355},{12,7560},{13,9975},{14,13755},{15,19635},{16,25620},{17,37485},{18,53760},{19,103950},{20,103950},{21,103950},{22,103950},{23,103950},{24,103950},{25,0}},{{1,302},{20,302}},{{1,191},{2,191}}},
        
        physicsenhance_p={{{1,15},{15,200},{20,434}}},
    physicsres_p={{{1,-1},{20,-15},{30,-30},{31,-30}},{{1,18},{2,18}}},
    poisonres_p={{{1,-1},{20,-15},{30,-30},{31,-30}},{{1,18},{2,18}}},
            skill_cost_v={{{1,25},{20,80}}},
            stunenhance_p={{{1,0},{10,1},{20,3},{21,3}}},
        poisondamage_v={{{1,1},{20,19}},{{1,60},{20,60}},{{1,10},{20,10}}},
    skill_attackradius={{{1,448},{20,480},{21,480}}},
            missle_lifetime_v={{{1,18},{20,18*2},{21,18*2}}},
            skill_eventskilllevel={{{1,0},{10,0},{11,11},{20,20}}},
    colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,0},{30,0},{50,0},{51,25}},
                [3]={{1,0},{2,0}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-4000},{62,-6000}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    castspeed_v={{{1,0},{20,0},{21,-5},{30,-30},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    manamax_p={{{1,0},{20,0},{21,-20},{30,-100},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
            skill_flyevent={
                [1]={{1,0},{10,0},{10,1},{20,1}},
                [2]={{1,30},{20,30},{60,10},{61,10}},
                [3]={{1,301},{20,301}}
            },
            skill_showevent={{{1,0},{10,0},{10,2},{20,2}}},
        },
        zhuixing_zhudian={ --×·ÐÇÖðµç    Truy Tinh Truc Dien
            seriesdamage_p={{{1,20},{20,60},{21,62}},{{1,1},{2,1}}},
    lifereplenish_v={{{1,0},{60,0},{61,-500},{62,-1000}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
            poisondamage_v={{{1,1},{20,10}},{{1,60},{20,60}},{{1,10},{20,10}}},
        },
    
        jiugong_feixing={ --¾Å¹¬·ÉÐÇ    Cuu Cung Phi Tinh
            seriesdamage_p={{{1,20},{15,20},{20,60},{21,62}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,10},{15,100},{20,294}}},
                    skill_skillexp_v={{{1,21},{2,53},{3,105},{4,210},{5,420},{6,840},{7,1260},{8,1785},{9,2415},{10,3675},{11,5355},{12,7560},{13,9975},{14,13755},{15,19635},{16,25620},{17,37485},{18,53760},{19,103950},{20,103950},{21,103950},{22,103950},{23,103950},{24,103950},{25,0}},{{1,358},{20,358}},{{1,193},{2,193}}},
    
            colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,0},{30,0},{50,0},{51,25}},
                [3]={{1,0},{2,1}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-5000},{62,-7000}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    castspeed_v={{{1,0},{20,0},{21,-10},{30,-50},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    manamax_p={{{1,0},{20,0},{21,-30},{30,-150},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    physicsres_p={{{1,-1},{20,-15},{30,-30},{31,-30}},{{1,18},{2,18}}},
    poisonres_p={{{1,-1},{20,-15},{30,-30},{31,-30}},{{1,18},{2,18}}},
            deadlystrike_p={{{1,10},{20,39}}},
    skill_eventskilllevel={{{1,0},{10,0},{11,11},{20,20}}},
            poisondamage_v={{{1,1},{20,30}},{{1,60},{20,60}},{{1,10},{20,10}}},
            missle_speed_v={{{1,28},{20,32},{21,32}}},
            stunenhance_p={{{1,0},{10,1},{20,3},{21,3}}},
            skill_cost_v={{{1,30},{20,75}}},
        },
    jiugong_feixing1={ --¾Å¹¬·ÉÐÇ      Cuu Cung Phi Tinh
    skill_eventskilllevel={{{1,0},{10,0},{11,11},{20,20}}},
    },
        sanhua_biao={ --É¢»¨ïÚ      Tan Hoa Tieu
            seriesdamage_p={{{1,10},{20,50},{21,52}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,20},{20,274}}},
            deadlystrike_p={{{1,10},{20,39}}},
    skill_eventskilllevel={{{1,1},{50,50},{51,0},{57,0}}},
            addskilldamage1={
            [1]={{1,358},{20,358}},
            [3]={{1,1},{20,50}}},
    colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,0},{30,0},{50,0},{51,20}},
                [3]={{1,0},{2,0}}
            },
            poisondamage_v={{{1,5},{20,24},{51,24}},{{1,60},{20,60}},{{1,10},{20,10}}},
            skill_cost_v={{{1,15},{20,35}}},
            missle_speed_v={{{1,28},{20,30},{21,30}}},
            skill_attackradius={{{1,448},{20,512},{21,512}}},
    slowmissle_b={{{1,0},{20,7},{21,7}}}
        },
    
        ttdmpd1={ --Éã»êÔÂÓ°      Phi Dao Sat Nguyet
            physicsenhance_p={{{1,25*3/2},{10,301*3/2},{20,587*3/2},{30,1174*3/2},{59,200},{60,300},{61,0},{62,0}}},
            colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,25},{2,25}},
                [3]={{1,0},{2,0}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-1500},{62,-3000}},{{1,9*18},{60,9*18},{61,9},{62,9}}},
    physicsres_p={{{1,-1},{20,-25},{30,-50},{31,-50}},{{1,18},{2,18}}},
    poisonres_p={{{1,-1},{20,-25},{30,-50},{31,-50}},{{1,18},{2,18}}},
            seriesdamage_p={{{1,0},{10,0},{11,20},{20,60},{21,62}},{{1,1},{2,1}}},
            poisondamage_v={{{1,5*3/2},{10,31*3/2},{20,60*3/2},{30,120*3/2},{59,20},{60,30},{61,0},{62,0}},{{1,60},{20,60}},{{1,10},{20,10}}},
            deadlystrike_p={{{1,10},{20,59},{21,60}}},
            skill_cost_v={{{1,30},{20,60}}},
            skill_eventskilllevel={{{1,0},{10,0},{11,11},{20,20}}},
            skill_collideevent={
                [1]={{1,0},{10,0},{10,1},{20,1}},
                [3]={{1,340},{20,340}}
            },
            skill_showevent={{{1,0},{10,0},{10,4},{20,4}}},
            missle_speed_v={{{1,28},{20,32},{21,32}}},
            stunenhance_p={{{1,0},{10,1},{20,3},{21,3}}},
        },
        ttdmpd2={ --Òøµ¶ÉäÔ        Phi Dao Sat Nguyet 2
            seriesdamage_p={{{1,20},{20,60}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,25*3/2},{10,116*3/2},{20,211*3/2},{30,422*3/2},{59,300},{60,400},{61,0},{62,0}}},
    colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,25},{2,25}},
                [3]={{1,0},{2,0}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-3500},{62,-5000}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    castspeed_v={{{1,0},{20,0},{21,-5},{30,-40},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    manamax_p={{{1,0},{20,0},{21,-20},{30,-100},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
        },
        ttdmtt1={ --±©ÓêÀ滨        Van Vu Xuyen Tam
            seriesdamage_p={{{1,0},{10,0},{11,20},{20,60},{21,62}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,15/5},{10,434/5},{20,1107/5},{30,2214/5},{59,200},{60,300},{61,0},{62,0}}},
    physicsres_p={{{1,-1},{20,-25},{30,-50},{31,-50}},{{1,18},{2,18}}},
    poisonres_p={{{1,-1},{20,-25},{30,-50},{31,-50}},{{1,18},{2,18}}},
            skill_cost_v={{{1,25},{20,80}}},
            stunenhance_p={{{1,0},{10,1},{20,3},{21,3}}},
            poisondamage_v={{{1,1*3/2},{10,19*3/2},{20,45*3/2},{30,90*3/2},{59,30},{60,40},{61,0},{62,0}},{{1,60},{20,60}},{{1,10},{20,10}}},
            missle_lifetime_v={{{1,18},{20,18*3/2},{21,18*3/2}}},
            skill_eventskilllevel={{{1,0},{10,0},{11,11},{20,20}}},
    colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,25},{2,25}},
                [3]={{1,0},{2,0}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-4000},{62,-6000}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    castspeed_v={{{1,0},{20,0},{21,-5},{30,-30},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    manamax_p={{{1,0},{20,0},{21,-20},{30,-100},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
            skill_flyevent={
                [1]={{1,0},{10,0},{10,1},{20,1}},
                [2]={{1,30},{20,30},{60,10},{61,10}},
                [3]={{1,301},{20,301}}
            },
            skill_showevent={{{1,0},{10,0},{10,2},{20,2}}},
        },
    ttdmpt1={ --¾Å¹¬·ÉÐÇ            Doan Tieu Doat Hon
            seriesdamage_p={{{1,0},{10,0},{11,20},{20,60},{21,62}},{{1,1},{2,1}}},
            physicsenhance_p={{{1,20*3/2},{10,594*3/2},{20,1027*3/2},{30,2054*3/2},{59,300},{60,400},{61,0},{62,0}}},
            colddamage_v={
                [1]={{1,0},{2,0}},
    [2]={{1,25},{2,25}},
                [3]={{1,0},{2,1}}
            },
    lifereplenish_v={{{1,0},{60,0},{61,-5000},{62,-7000}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    castspeed_v={{{1,0},{20,0},{21,-10},{30,-50},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    manamax_p={{{1,0},{20,0},{21,-30},{30,-150},{59,0},{60,0}},{{1,3*18},{60,3*18},{61,9},{62,9}}},
    physicsres_p={{{1,-1},{20,-25},{30,-50},{31,-50}},{{1,18},{2,18}}},
    poisonres_p={{{1,-1},{20,-25},{30,-50},{31,-50}},{{1,18},{2,18}}},
            deadlystrike_p={{{1,10},{20,39},{21,40}}},
    skill_eventskilllevel={{{1,0},{10,0},{11,11},{20,20}}},
            poisondamage_v={{{1,1*3/2},{10,30*3/2},{20,71*3/2},{30,141*3/2},{59,30},{60,40},{61,0},{62,0}},{{1,60},{20,60}},{{1,10},{20,10}}},
            missle_speed_v={{{1,28},{20,32},{21,32}}},
            stunenhance_p={{{1,0},{10,1},{20,3},{21,3}}},
            skill_cost_v={{{1,30},{20,75}}},
        },
    
        tangmen120={ --120¼¶¼¼ÄÜ
            
            allres_p={{{1,1},{20,20},{21,21}},{{1,-1},{2,-1}}},
            fastwalkrun_p={{{1,2},{20,40},{21,45}},{{1,-1},{2,-1}}},
                
        },
           skill120={
                   skill_cost_v={{{1,25},{20,94}}},
                   skill_mintimepercast_v={{{1,15*18},{20,5*18}},{{1,25*18},{20,8*18}}},
            skill_skillexp_v={{{1,18},{2,45},{3,90},{4,180},{5,360},{6,720},{7,1080},{8,1530},{9,2070},{10,3150},{11,4590},{12,6480},{13,8550},{14,11790},{15,16830},{16,21960},{17,32130},{18,46080},{19,89100},{20,89100},{21,89100},{22,89100},{23,89100},{24,89100},{25,0}},{{1,0},{20,0}},{{1,140},{2,140}}},
                   skilladdmissles={{{1,2},{2,2}},{{1,200},{20,200}},{{1,1},{20,1}}},
        },
        tangmen150={ --150¼¶¼¼ÄÜ
            skill_cost_v={{{1,100},{20,200},{21,220}},{{1,-1},{2,-1}}},
            lightingarmor_v={{{1,5000},{20,500000},{21,550000}},{{1,18*120},{20,18*120}}},
            fastwalkrun_p={{{1,5},{20,50},{21,70}},{{1,18*120},{20,18*120}}},
    attackratingenhance_p={{{1,200},{20,2000}},{{1,-1},{2,-1}}},
            deadlystrikeenhance_p={{{1,5},{20,50},{21,60}},{{1,18*120},{20,18*120}}}
        },
    }
    
    -----------------------------------------------
    --Create by yfeng 2004-05-20
    -----------------------------------------------
    
    -----------------------------------------------
    --¸ù¾Ý2¸öµã£¬ÇóÏßÐκ¯Êýf(x)=k*x+b
    --y= (y2-y1)*(x-x1)/(x2-x1)+y1
    --µ±x2=x1, ÓÐx=c,¸ÃÖ±ÏßÊÇÒ»Ìõ´¹Ö±ÓÚxÖáµÄÖ±Ïß
    --ÕâÊÇ¿ÉÒÔÈ¡µÃy=ÈÎÒâÖµ
    --Òò´Ë£¬Èç¹ûÒÑÖªÁ½µã(x1,y1),(x2,y2)¿ÉÇóµÃ¹ý´Ë2µãµÄ
    --º¯ÊýΪ£º
    function Line(x,x1,y1,x2,y2)
        if(x2==x1) then
            return y2
        end
        return (y2-y1)*(x-x1)/(x2-x1)+y1
    end
    
    -----------------------------------------------
    --¸ù¾Ý2¸öµã£¬Çó2´ÎÐκ¯Êýf(x)=a*x2+c
    --y= (y2-y1)*x*x/(x2*x2-x1*x1)-(y2-y1)*x1*x1/(x2*x2-x1*x1)+y1
    --µ±x1»òÕßx2 < 0 ,y =0
    --µ±x2=x1, ÓÐx=c,ÊÇÒ»Ìõ´¹Ö±ÓÚxÖáµÄÖ±Ïß
    --ÕâÊÇ¿ÉÒÔÈ¡µÃy=ÈÎÒâÖµ
    --Òò´Ë£¬Èç¹ûÒÑÖªÁ½µã(x1,y1),(x2,y2)¿ÉÇóµÃ¹ý´Ë2µãµÄ
    --º¯ÊýΪ£ºextrac
    function Conic(x,x1,y1,x2,y2)
        if((x1 < 0) or (x2<0))then 
            return 0
        end
        if(x2==x1) then
            return y2
        end
        return (y2-y1)*x*x/(x2*x2-x1*x1)-(y2-y1)*x1*x1/(x2*x2-x1*x1)+y1
    end
    
    -----------------------------------------------
    --¸ù¾Ý2¸öµã£¬Çó-2´ÎÐκ¯Êýf(x)=a*sqrt(x2)+c
    --y=(y2-y1)*x/(sqrt(x2)-sqrt(x1))+y1-(y2-y1)/((sqrt(x2)-sqrt(x1))
    --µ±x2»òÕßx1<0, y=0,
    --µ±x1=x2,ÓÐx=c,ÊÇÒ»Ìõ´¹Ö±ÓÚxÖáµÄÖ±Ïß
    --ÕâÊÇ¿ÉÒÔÈ¡µÃy=ÈÎÒâÖµ
    --Òò´Ë£¬Èç¹ûÒÑÖªÁ½µã(x1,y1),(x2,y2)¿ÉÇóµÃ¹ý´Ë2µãµÄ
    --º¯ÊýΪ£ºextrac
    function Extrac(x,x1,y1,x2,y2)
        if((x1 < 0) or (x2<0))then 
            return 0
        end
        if(x2==x1) then
            return y2
        end
        return (y2-y1)*(x-x1)/(x2-x1)+y1
    end
    
    -----------------------------------------------
    --Ãè»æÁ¬½ÓÏß:Link(x,points)
    --¸ù¾ÝpointsÌṩµÄһϵÁе㣬ÓÃÏàÁÚµÄÁ½¸öµãÃè»æÇúÏß
    --return yÖµ
    --x ÊäÈëÖµ
    --points µã¼¯ºÏ
    --ÐÎÈ磺pointsÊÇÐÎÈç{{x1,y1,func=xxx},{x2,y2,func=xxx},...{xn,yn,func=xxx}}µÄÓ³Éä
    function Link(x,points)
        num = getn(points)
        if(num<2) then
            return -1
        end
        for i=1,num do
            if(points[i][3]==nil) then
                points[i][3]=Line
            end
        end
        if(x < points[1][1]) then
            return points[1][3](x,points[1][1],points[1][2],points[2][1],points[2][2])
        end
        if(x > points[num][1]) then
            return points[num][3](x,points[num-1][1],points[num-1][2],points[num][1],points[num][2])
        end
        
        c = 2
        for i=2,num do
            if((x >= points[i-1][1]) and (x <= points[i][1])) then
                c = i
                break
            end
        end
        return points[c][3](x,points[c-1][1],points[c-1][2],points[c][1],points[c][2])
    end
    
    ------------------------------------------------------
    --¼¼ÄÜÉ趨¸ñʽÈçÏ£º
    --SKILLS={
    --    ¼¼ÄÜÃû³Æ=    {
    --        ħ·¨ÊôÐÔ=    {
    --            [1]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬
    --            [2]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬
    --            [3]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬    
    --        }£¬
    --        ħ·¨ÊôÐÔ=    {
    --            [1]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬
    --            [2]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬
    --            [3]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬    
    --        }£¬
    --        ¡£¡£¡£¡£¡£
    --    }£¬
    --    ¼¼ÄÜÃû³Æ=    {
    --        ħ·¨ÊôÐÔ=    {
    --            [1]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬
    --            [2]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬
    --            [3]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬    
    --        }£¬
    --        ħ·¨ÊôÐÔ=    {
    --            [1]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬
    --            [2]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬
    --            [3]={{¼¶±ð,ÊýÖµ£¬ÇúÏß}£¬{¼¶±ð£¬ÊýÖµ£¬ÇúÏß}£¬¡£¡£¡£¡£}£¬    
    --        }£¬
    --        ¡£¡£¡£¡£¡£
    --    }£¬
    --    ¡£¡£¡£¡£¡£
    --}
    --È磺
    --SKILLS={
    --    Sanhuan-taoyue={
    --        physicsenhance_p={
    --            [1]={{1,50},{20,335}},--ħ·¨ÊôÐÔphysicsenhance_p²ÎÊý1£¬1¼¶Ê±Îª35£¬20¼¶Ê±Îª335£¬ÇúÏß²»ÌĬÈÏÏßÐÎ
    --            [2]={{1,0},{20,0}},
    --        },--ûÓÐ[3]£¬±íʾħ·¨ÊôÐÔphysicsenhance_p²ÎÊý2£¬Ä¬ÈÏΪÈκÎʱºò¶¼ÊÇ0
    --        lightingdamage_v={
    --            [1]={{1,65},{20,350}},
    --            [3]={{1,65},{20,350}},
    --        }
    --    }
    --}
    --ÒÔÉÏÃèÊö¼¼ÄÜ¡°Èý»·Ì×Ô¡±µÄħ·¨ÊôÐÔºÍÊýÖµ
    -----------------------------------------------------------
    --º¯ÊýGetSkillLevelData(levelname, data, level)
    --levelname£ºÄ§·¨ÊôÐÔÃû³Æ
    --data£º¼¼ÄÜÃû³Æ
    --level£º¼¼Äܵȼ¶
    --return£ºµ±¼¼ÄÜÃû³ÆΪdata£¬¼¼Äܵȼ¶Îªlevel
    --            ʱµÄħ·¨ÊôÐÔlevelnameËùÐèÇóµÄÈý¸ö²ÎÊýµÄ¾ßÌåÖµ
    -----------------------------------------------------------
    function GetSkillLevelData(levelname, data, level)
        if(data==nil) then
            return ""
        end
        if(data == "") then
            return ""
        end
        if(SKILLS[data]==nil) then
            return ""
        end
        if(SKILLS[data][levelname]==nil) then
            return ""
        end
        if(type(SKILLS[data][levelname]) == "function") then
            return SKILLS[data][levelname](level)
        end
        if(SKILLS[data][levelname][1]==nil) then
            SKILLS[data][levelname][1]={{0,0},{20,0}}
        end
        if(SKILLS[data][levelname][2]==nil) then
            SKILLS[data][levelname][2]={{0,0},{20,0}}
        end
        if(SKILLS[data][levelname][3]==nil) then
            SKILLS[data][levelname][3]={{0,0},{20,0}}
        end
        p1=floor(Link(level,SKILLS[data][levelname][1]))
        p2=floor(Link(level,SKILLS[data][levelname][2]))
        p3=floor(Link(level,SKILLS[data][levelname][3]))
        return Param2String(p1,p2,p3)
    end;
    
    
    function Param2String(Param1, Param2, Param3)
    return Param1..","..Param2..","..Param3
    end;
    Lần sửa cuối bởi thaihoa91, ngày 30-11-12 lúc 07:50 PM.
    Khách viếng thăm hãy cùng fzxgl136 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. #12
    Moderator vipbk's Avatar
    Ngày tham gia
    May 2012
    Đang ở
    đây
    Bài viết
    5,112
    Thanks
    248
    Thanked 3,008 Times in 1,889 Posts

    Ðề: Các bác cho hỏi chút muốn giảm bớt né tránh

    bạn đặt code vào thẻ SPOILER, nhìn mệt quá

    độ chính xác, tìm chữ: attackrating_v (điểm) hoặc attackrating_p ( % )
    Khách viếng thăm hãy cùng vipbk 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 vipbk vì bài viết này !

    fzxgl136 (30-11-12)

  4. #13
    Thành Viên
    Ngày tham gia
    May 2007
    Bài viết
    134
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Ðề: Các bác cho hỏi chút muốn giảm bớt né tránh

    Trích dẫn Gửi bởi vipbk [Only registered and activated users can see links. ]
    bạn đặt code vào thẻ SPOILER, nhìn mệt quá

    độ chính xác, tìm chữ: attackrating_v (điểm) hoặc attackrating_p ( % )
    thanks bác rất nhiều còn cái vụ time của boss ở file lua nào bác, bác nói cụ thể giúp em với bác
    Khách viếng thăm hãy cùng fzxgl136 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 
Trang 2 của 2 Đầu tiênĐầu tiên 1 2

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à 03:38 AM.
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ệ.