1function CommonFun.calcBuff_2480(srcUser, targetUser, a, b, c, d, lv)
2 if srcUser == nil or targetUser == nil then
3 return 0
4 end
5 local skill = srcUser:GetLernedSkillLevel(217_KNIGHT:MELTDOWN)
6 local skill_cx = srcUser:GetLernedSkillLevel(465_RUNEMASTER:PLAGIARISM)
7 if 0 < skill_cx then
8 skill = 7
9 end
10 local pos = 0
11 local random1 = srcUser:GetRandom()
12 local random2 = srcUser:GetRandom()
13 if CommonFun.IsInRate(skill, random1) and CommonFun.IsInRate(skill * 0.7, random2) then
14 pos = 207
15 if CommonFun.IsInRate(skill, random1) and CommonFun.IsInRate(skill * 0.7, random2) == false then
16 pos = 7
17 elseif CommonFun.IsInRate(skill, random1) == false and CommonFun.IsInRate(skill * 0.7, random2) then
18 pos = 2
19 end
20 end
21 return pos
22end