A tool to calculate a Mag in Phantasy Star Online 1&2