Formula

CommonFun.calcBuff_4920

function CommonFun.calcBuff_4920(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = a
  if targetUser:GetNpcID() == 17200_GOBLIN_KNIFE or targetUser:GetNpcID() == 17201_GOBLIN_BUCKLER or targetUser:GetNpcID() == 17202_GOBLIN_HAMMER or targetUser:GetNpcID() == 17203_GOBLIN_SPEAR or targetUser:GetNpcID() == 17204_GOBLIN_AXE then
    A = b
  end
  return A
end