Red Magic (Final Fantasy V)



Red Magic is the Red Mage's skillset in Final Fantasy V. It allows the casting of either White or Black Magic up to level 3.

Mechanics
Some spells have been programmed to always hit their target, while others are programmed to always hit allies, such as curative spells.
 * $$Spell Hit\% = Spell Hit\% + Attacker Level - Target Level$$
 * $$Evade\% = Target Magic Evade\%$$

If the spell is multi-targeted the Spell Hit% is halved. Spells that are naturally multi-target do not suffer the penalty. If the target has Shell, the Spell Hit% is also halved, and if the target is a Toad its Evade % is reduced to 0.

The game generates two random numbers between 0 and 99.
 * If N1 >= Hit%, the spell misses
 * If N2 < Evade%, the spell misses

Magic attacks' parameters are calculated as follows:
 * $$Attack = Spell Attack + (0..(Spell Attack/8))$$
 * $$M = (Level*Magic Power)/256 + 4$$
 * $$Defense = Magic Defense$$

If the target absorbs the attacking element it is healed instead of damaged and if it has elemental immunity, the attack misses. If the target is resistant against the attacking element the Attack modifier in the above formula is halved, and if it is weak against the element, the Attack modifier is doubled and the attack ignores the target's Magic Defense.
 * $$Damage = (Attack - Defense) * M$$

Damage is capped at 9999.

Curative spells also use the above parameters, but ignore Magic Defense. In case of curative magic, the "Damage" from the formula is converted into HP onto the target, unless the target is undead, when it is damaged by that amount instead.

Red Mages can boost the power of any element due to their ability to equip rods (for Fire, Ice, Lightning, and Poison), staves (Holy), and knives (Wind).

Red Magic abilities give characters the Red Mage's base Magic based on the following formula:


 * Magic = Red Mage Base Magic - (3 - Red Mage Job Level)

However, the value of the base Magic granted this way is capped at the Red Mage's base.

Thus the base Magic stat for a character with Red Magic equipped would be as follows:


 * Level 1 = 30 base Magic
 * Level 2 = 31 base Magic
 * Level 3 = 32 base Magic
 * Level 4 = 32 base Magic

Red Magic level 1 takes 20 AP to learn, level 2 40 AP, and level 3 100 AP. Learning the upgrade to Red Magic, Dualcast for 999 AP, gives characters the Red Mage's base Magic unless otherwise already at a higher value.

Upon mastery, Freelancers and Mimes gain the Red Mage's base Strength, Agility and Magic unless they already have a higher base from another mastered job.