Power = (.005979 * Magic) squared + (.0359 *
Magic)
Max Damage = Power * Spell Basic Attack
Power = (.005979 * Magic) squared + (.0359 * Magic * Spell
Mastery)
Min Damage = Power * Spell Basic Attack
Elemental modifiers should be applied after Power is calculated.
(Credit DDRShyGuy)
Advantage: Power * 1.5 * Spell Basic Attack
Disadvantage: Power * .5 * Spell Basic Attack
Amplification: Power * 1.35 * Spell Basic Attack
And with the 3rd job skill Magic Composition, there's 2 elements to
take into account for damage.
Both strong = 1.5x
One strong, one neutral = 1.25x
One weak, one strong OR both neutral = 1x
One weak, one neutral = .75x
Both weak = .5x