CommonFun

calcDamage / calcBuff explorer

1 formulas listed.

CommonFun.calcBuff_719120 mapped buffs · 1 skills
function CommonFun.calcBuff_7191(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv = srcUser:GetLernedSkillLevel(2363)
  local A = 0
  if 0 < skilllv and CommonFun.Shape ~= nil and CommonFun.Shape.S == targetUser.shape then
    A = 100
  end
  if targetUser:HasBuffID(160000) then
    A = 0
  end
  if targetUser.boss == true or targetUser.mini == true then
    A = 0
  end
  return A
end