Lava Pool Exp Bonus

Has anyone worked out if the bonus given after the lave pool fight to all characters is influenced by stats or is it all predetermined? If it's stats then a bit of boosting beforehand would pay off, if not, then it's just a waste of items.
Thanks
Thanks