fzxgl136
30-11-12, 06:03 PM
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
--- 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,2 000},{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,2 000},{60,80000}},
[3]={{1,5},{15,100},{20,101},{45,200},{50,1000},{59,2 000},{60,80000}},
},
skill_attackradius={{{1,384},{20,416}}},
skill_eventskilllevel={{{1,0},{24,0},{25,25},{50,5 0}}},
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,1 500},{60,50000}},
[3]={{1,10},{15,100},{25,201},{49,300},{50,500},{59,1 500},{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,5 0}}},
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,10 00},{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,2 000},{55,4000}}},
skill_eventskilllevel={{{1,0},{39,0},{40,40},{50,5 0}}}
},
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,196 35},{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,19 2}}},
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,2 0}}},
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,196 35},{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,19 1}}},
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,2 0}}},
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,196 35},{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,19 3}}},
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,2 0}}},
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,2 0}}},
},
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},{2 0,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,2 0}}},
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,2 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,-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,2 0}}},
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,1683 0},{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*x 2+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},{x 2,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;
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.