"I want perfect stats! You have problem!?"
Version 3.10 (June 24, 2014)
Author: Letao (letao.faqs@gmail.com)
Copyright © 2014 Letao, All rights reserved.
Looking for the Perfect Stats calculator? Click here.
2.1. Growth formula
2.2. Stat-boosting equipment3.1. Stat priority
3.2. Final equipment
3.3. Character and gameplay-specific choices4.1. Ordered approach, without final equipment
4.2. Combined approach, without final equipment
4.3. Ordered approach, with recommended final equipment
4.4. Combined approach, with recommended final equipment5.1. How do I use equipment setups
5.2. Why don't the guide and the calculator give the same setups
5.3. Can multiple characters split forced experience from a battle
5.4. Can Steiner get better stats by using Defender in Pandemonium
5.5. How do I get Robe of Lords before Pandemonium in a speed run6. Mathematics behind the scenes
6.1. Combinatorial optimization and linear programs
6.2. Basic ideas
6.3. Calculating optimal stats for the ordered approach
6.4. Calculating optimal stats for the combined approach and other factors7.1. Email policy
7.2. Credits and thanks
7.3. Version history
7.4. Legal babble
Welcome to the perfect stats guide for Final Fantasy IX! This guide will help you achieve the highest possible combination of Speed, Strength, Magic, and Spirit for all your characters.
Perfecting stats in FF9 is no trivial matter. The only way to permanently increase your characters' stats is by leveling up while wearing stat-boosting equipment. Since the total number of level-ups a character can get is limited, the extent to which you can increase their stats is also limited. For example, even though Strength and Magic can theoretically grow to 99, it's not possible to reach those values in normal gameplay no matter how much effort you put into it. The key to getting the best stats is to equip your characters with carefully calculated sets of stat-boosting equipment when they level up.
To achieve perfect stats, you'll need to follow these basic steps:
Pick your stat path
FF9's stat system forces you to make tradeoffs between the four stat attributes and other achievements. As such, there can be many different interpretations of how stats should be perfected. Section 3 of this guide will help you make your choices and form your personal path.
Avoid gaining levels
Most of the best stat-boosting gear only becomes available very late in the game, so you must save as many level-ups as possible until then in order to take full advantage of them. No character should absorb any experience points before you can obtain all the necessary equipment, unless there's no way to avoid it.
There are only three places where you're forced to absorb experience points. The first is in Evil Forest, after defeating Plant Brain. You must avoid gaining levels in the forced battle against Plant Spiders by making sure only two of them are in the enemy party, and their experience is divided among all four of your party members for 11 Exp each. The second place is in Disc 3 in Alexandria. That's your last chance to defeat Tantarian and receive 12585 Exp if you choose to do so. Finally, three consecutive forced battles in Pandemonium will give you 26376 Exp a piece.
Which character absorbs the experience from each forced battle is a decision you'll need to make for your stat path. Section 4 of this guide will help with this by showing you how much each character stands to lose if they take on the forced experience, and by suggesting ways to minimize the total loss.
Find all necessary equipment
For each case covered in Section 4 of this guide, you'll find a link to the exact sets of equipment that need to be equipped when your characters level up. Some setups will require rare and hard-to-obtain items, so be prepared to spend extra effort to find them all. Also keep in mind that some characters will leave your party immediately upon reaching Bran Bal and they don't return until the Pandemonium battles. Make sure to equip them with the proper setup for Pandemonium before you venture out of Terra.
Train your characters
This is probably the easiest part, but also takes the longest. Once you have chosen the stat path you want to take, determined the strategy for distributing forced experience, and found all the equipment you need, all that remains is to grind your characters. Simply equip each item for exactly the prescribed number of level-ups, and you'll achieve perfect stats when you reach level 99!
This guide will primarily focus on stat growth and equipment setups, and won't go into walkthroughs, battle strategies, or item locations. There are many high-quality guides on GameFaqs.com that cover those aspects of the game. I highly recommend Atomos199's Excalibur II Perfect Game Guide to help you through the game without gaining levels plus practically anything else you might want to accomplish along the way. Rebirth Flame's Equipment Location List is also an excellent reference for finding every item you need.
The four stats that can be increased permanently in FF9 are Speed (Spd), Strength (Str), Magic (Mag), and Spirit (Spr). Each character has a hard-coded set of "base" values that determine his/her initial stats at level 1:
Character SpdBase StrBase MagBase SprBase Zidane 23 21 18 23 Dagger 21 14 23 17 Vivi 16 12 24 19 Steiner 18 24 12 21 Freya 20 20 16 22 Quina 14 18 20 11 Eiko 19 13 21 18 Amarant 22 22 13 15 The effective stats of a character are determined by those initial values, plus any increases from levels gained and equipment used.
2.1. Growth formula
According to Terence's discoveries outlined in KADFC's Max Stats FAQ on GameFaqs.com, the values of stats that you see in the game's Equip and Status menus are calculated using the following formulas:
Spd = SpdBase + [Lv * 1 / 10] + [(LvUps * 0 + SpdEqBonus) / 32] + SpdEqCurr
Str = StrBase + [Lv * 3 / 10] + [(LvUps * 3 + StrEqBonus) / 32] + StrEqCurr
Mag = MagBase + [Lv * 3 / 10] + [(LvUps * 3 + MagEqBonus) / 32] + MagEqCurr
Spr = SprBase + [Lv * 3 / 20] + [(LvUps * 1 + SprEqBonus) / 32] + SprEqCurrTerms enclosed in [square brackets] are rounded down to the nearest whole number before they are added to the result. "
Lv
" is the current level of your character. "LvUps
" is the number of levels your character has gained since first joining your party. The various "EqBonus
" values reflect the total number of bonus points accumulated while training your character with stat-boosting equipment. The various "EqCurr
" values represent the amount of stat boosts given by your character's currently equipped gear.
EqCurr
is only a temporary value. If you change the items equipped on a character,EqCurr
will also change to update your character's effective stats. If you remove all your character's equipment,EqCurr
will drop to 0. On the other hand, any gain made toEqBonus
is permanent. Every time your character gains a level, a number of points equal toEqCurr
at the time is added toEqBonus
. Points added toEqBonus
accumulate through level-ups and are never taken away.For example, let's say Amarant was at level 10 when he first joined your party. You train him to level 19 (+9 LvUps) wearing only the Bandana (+1 Spr), followed by more training until level 33 (+14 LvUps) wearing only the Glass buckle (+2 Spr). You then change his equipment to only a Dark gear (+3 Spr). At this point, his Spirit would be calculated as follows:
SprBase = 15
Lv = 33
LvUps = 9 + 14 = 23
SprEqBonus = 9 * 1 + 14 * 2 = 37
SprEqCurr = 3
Spr = 15 + [33 * 3 / 20] + [(23 * 1 + 37) / 32] + 3
= 15 + 4 + 1 + 3
= 23If Spr or Spd become greater than 50, they will be adjusted down to 50. If Str or Mag become greater than 99, they will be adjusted down to 99. Due to the Eiko/Marcus glitch, Eiko's
EqBonus
andLvUps
include both values gained by Eiko herself, plus those gained by Marcus during his brief stay in your party in Disc 2.As the formula suggests,
Lv
,LvUps
, andEqBonus
are the three quantities that contribute to permanent stat growth.Lv
is effectively a constant, it will always reach 99 for all characters.LvUps
can go as high as 98 (or 196 for Eiko if you use the Eiko/Marcus glitch) by having all your characters join your party at level 1. Finally, to maximizeEqBonus
, your characters must have the best stat-raising equipment with every level they gain.The fact that there are four stats to handle simultaneously complicates the issue of maximizing
EqBonus
. Many items grant bonuses to multiple stats at the same time, and it's not easy to find the right mix to achieve a balanced growth. Having stats limited by a maximum bonud and having numbers rounded down in the formulas also add to the complexity. It's not necessarily best to always greedily choose gear that simply gives the highest bonus.
2.2. Stat-boosting equipment
This table lists all equipment that gives bonus points to at least one stat. Also shown are the characters who can equip each item (in this order: Zidane, Dagger, Vivi, Steiner, Freya, Quina, Eiko, Amarant, Marcus), and whether each is available when you fight Tantarian and in Pandemonium. An item with "*Yes" as its availability means it's very time-consuming to obtain, and it won't be possible to get the Excalibur II if you spend the time to find that item.
Name Type Stat bonus Can equip Available Spd Str Mag Spr Tant Pand Ancient Aroma Addon 0 2 0 0 - D - - F - E - - No Yes Angel Earrings Addon 0 2 0 0 - D - - F - E - - Yes Yes Anklet Addon 0 0 3 1 - D - - F - E A - Yes Yes Bandana Head 1 0 0 1 Z D V - - Q E A M Yes Yes Barbut Head 0 0 0 2 - - - S F - - - - Yes Yes Barette Addon 0 3 1 1 - D - - F - E - - Yes Yes Battle Boots Addon 0 2 0 0 Z D V S F Q E A M *Yes Yes Black Belt Addon 0 2 0 2 Z D V S F Q E A - Yes Yes Black Robe Body 0 0 2 0 - - V - - Q - - - No Yes Bone Wrist Arms 0 1 0 0 Z D V - - Q E A M Yes Yes Bracer Arms 0 1 0 0 Z D V - - Q E A - No No Brave Suit Body 0 0 0 1 Z - - - - - - A - No No Brigandine Body 0 1 0 0 Z - - - - - - A - Yes Yes Bronze Gloves Arms 0 0 0 1 - - - S F - - - - Yes Yes Bronze Vest Body 0 0 0 1 Z D V - - Q E A M Yes Yes Cachusha Addon 1 0 2 1 - D - - F - E - - Yes Yes Carabini Mail Body 1 0 0 1 - - - S F - - - - No No Chain Plate Body 0 1 0 0 Z - - - - - - A M Yes Yes Coral Ring Addon 0 0 0 2 Z D V S F Q E A M Yes Yes Cotton Robe Body 0 1 1 0 - D V - - Q E - - Yes Yes Cross Helm Head 0 1 0 0 - - - S F - - - - Yes Yes Dark Gear Body 0 0 0 3 Z D V - - Q E A - No No Dark Matter Addon 0 3 2 0 Z D V S F Q E A - Yes Yes Defender Weapon 0 0 0 3 - - - S - - - - - No No Demon's Vest Body 0 0 1 0 Z D V - - Q E A - No Yes Desert Boots Addon 0 0 1 1 Z D V S F Q E A M Yes Yes Diamond Armor Body 0 1 1 0 - - - S F - - - - No Yes Diamond Helm Head 0 0 0 1 - - - S F - - - - No Yes Dragon Mail Body 0 1 1 0 - - - - F - - - - No No Dragon Wrist Arms 0 0 0 1 Z D V - F Q E A - No Yes Extension Addon 0 1 2 1 - D - - F - E - - Yes Yes Fairy Earrings Addon 0 0 0 2 Z D V S F Q E A M Yes Yes Feather Hat Head 0 0 0 1 Z D V - - Q E - M Yes Yes Flash Hat Head 1 0 0 0 Z D V - - - E A - No Yes Gauntlets Arms 1 0 0 0 - - - S F - - - - No Yes Genji Armor Body 0 0 2 0 - - - S F - - - - No Yes Genji Gloves Arms 0 0 2 0 - - - S F - - - - No Yes Genji Helmet Head 0 0 2 0 - - - S F - - - - No Yes Germinas Boots Addon 0 1 0 0 Z D V S F Q E A M Yes Yes Glass Buckle Addon 0 1 1 2 Z D V S F Q E A M Yes Yes Glutton's Robe Body 0 1 1 0 - - - - - Q - - - *Yes Yes Gold Armor Body 0 0 1 0 - - - S F - - - - No Yes Gold Choker Addon 0 0 2 0 Z D V S F Q E A M Yes Yes Gold Helm Head 0 0 1 0 - - - S F - - - - Yes Yes Golden Hairpin Head 0 0 1 0 Z D V - - Q E A - No Yes Grand Armor Body 0 1 0 0 - - - S F - - - - No No Grand Helm Head 1 0 0 0 - - - S F - - - - No No Green Beret Head 1 1 0 0 Z D V - - Q E A - No Yes Holy Miter Head 0 0 1 2 - D V - - Q E - - No Yes Iron Helm Head 0 0 0 1 - - - S F - - - - Yes Yes Judo Uniform Body 0 1 0 1 Z D V - - Q E A - No Yes Kaiser Helm Head 0 1 1 0 - - - S F - - - - No No Lamia's Tiara Head 0 0 1 1 - D - - F Q E - - Yes Yes Leather Wrist Arms 0 0 0 1 Z D V - - Q E A M Yes Yes Light Robe Body 0 1 1 1 - D V - - Q E - - No Yes Linen Cuirass Body 0 0 1 0 - - - S F - - - - Yes Yes Madain's Ring Addon 0 0 0 2 Z D V S F Q E A M Yes Yes Mage's Hat Head 0 0 1 0 - D V - - Q E - - Yes Yes Magic Armlet Arms 0 0 2 0 - D V - - Q E - - Yes Yes Magic Racket Weapon 0 0 2 0 - D - - - - E - - No Yes Magician Cloak Body 0 0 1 0 - D V - - Q E - - Yes Yes Magician Robe Body 0 0 2 0 - D V - - Q E - - Yes Yes Magician Shoes Addon 0 0 2 0 Z D V S F Q E A M Yes Yes Maiden Prayer Addon 0 0 1 0 - D - - F - E - - No Yes Mantra Band Head 0 0 1 1 Z D V - - Q E A - No Yes Masamune Weapon 0 0 2 0 Z - - - - - - - - No No Maximillian Body 0 0 0 3 - - - S - - - - - No No Minerva's Plate Body 0 1 2 0 - D - - F - E - - No Yes Mythril Armlet Arms 0 0 0 1 Z D V - - Q E A M Yes Yes Mythril Gloves Arms 0 0 0 1 - - - S F - - - - Yes Yes Mythril Helm Head 0 0 0 1 - - - S F - - - - Yes Yes N-Kai Armlet Arms 0 0 0 2 Z D V - - Q E A - No Yes Ninja Gear Body 1 0 0 0 Z - - - - - - A M *Yes *Yes Orichalcon Weapon 1 0 0 0 Z - - - - - - - - No Yes Pearl Rouge Addon 0 0 2 4 - D - - F - E - - Yes Yes Plate Mail Body 0 0 0 1 - - - S F - - - - Yes Yes Power Belt Addon 0 3 0 0 Z D V S F Q E A M Yes Yes Power Vest Body 0 2 0 0 Z D V - - Q E A - No Yes Power Wrist Arms 0 2 0 0 Z D V - - Q E A - No No Promist Ring Addon 0 2 0 0 Z D V S F Q E A - No Yes Protect Ring Addon 0 0 0 1 Z D V S F Q E A M *Yes Yes Pumice Addon 1 0 1 0 Z D V S F Q E A - No Yes Pumice Piece Addon 0 2 2 0 Z D V S F Q E A - No Yes Rebirth Ring Addon 0 0 0 4 Z D V S F Q E A - Yes Yes Reflect Ring Addon 0 1 0 1 Z D V S F Q E A M Yes Yes Ribbon Addon 0 1 3 1 Z D V S F Q E A - No Yes Ritual Hat Head 0 1 0 0 Z D V - - Q E A - Yes Yes Robe of Lords Body 1 1 1 1 - D V - - Q E - - *Yes Yes Rosetta Ring Addon 0 0 1 0 Z D V S F Q E A - No Yes Running Shoes Addon 2 0 0 0 Z D V S F Q E A - No Yes Silk Robe Body 0 1 1 0 - D V - - Q E - - Yes Yes Stardust Rod Weapon 0 0 0 2 - D - - - - - - - Yes Yes Steepled Hat Head 0 1 0 0 Z D V - - Q E - M Yes Yes Survival Vest Body 0 0 0 2 Z D V - - Q E A - Yes Yes Thief Gloves Arms 1 0 0 0 Z - - - - - - A - No Yes Thief Hat Head 2 0 0 0 Z - - - - - - - - No No Twist Headband Head 0 1 0 0 Z D V - - Q E A - Yes Yes Venetia Shield Arms 0 1 1 0 - - - S F - - - - No Yes White Robe Body 0 0 2 0 - D - - - - E - - No Yes Yellow Scarf Addon 0 2 0 0 Z D V S F Q E A M Yes Yes
Because stat growth is limited by level-ups and access to stat-boosting equipment, how high each stat can become will depend on how you choose to play the game and distribute bonus points. Ultimately different people will prefer different styles, so this guide will try to address the most common views, and let you decide what you like best. Your choices for two main factors will determine the general approach to follow, and five additional factors will have more targeted impact on specific characters.
3.1. Stat priority
This factor addresses how the meaning of "maximize" should be applied over the set of four stat values. You can rank them according to their importance, maximizing the most important ones first while sacrificing less important ones. Or you can consider the combined sum of all stats, trading a small number of points from more important stats in exchange for a higher number of points to less important ones.
Ordered approach
Use this option if you want to prioritize maximizing more important stats first, even if it severely decreases the growth potential of less important stats. The order of stats from most important to least important is:
Spirit > Strength/Magic primary > Strength/Magic secondary > Speed
Strength is the primary stat for Zidane, Steiner, Freya, and Amarant. Magic is the primary stat for Dagger, Vivi, and Eiko. Quina is a special case, with several options you can choose from (this will be covered below). For all characters, Spirit is always ranked first because it affects a wide swath of battle mechanics and having the highest Spirit makes a huge difference. Speed is ranked last because it has practically no effect due to how the game's ATB system behaves. Atomos199's Excalibur II Perfect Game Guide has more details for why this ordering is chosen. Please refer to his guide if you want a more thorough explanation.
This option is arguably better in the practical sense. It's designed to give your characters the best performance in battles.
Combined approach
Use this option if you want to get the highest sum when the value of all four stats are added together, even if it means devoting growth to useless stats while preventing the most important ones from reaching their full potential. Usually there are multiple combinations that give the same maximal sum, and among those combinations, both this guide and the stats calculator will use the order of importance stated above to break ties.
This option is arguably better in the theoretical sense. It gives you a higher overall number of points, and is the most straight forward interpretation of the word "maximize".
Alternate approach
If you like the idea of the ordered approach but don't agree with the order of importance, or you want to use the combined approach on 2-3 stats while leaving the rest ordered, then you'll need to use the stats calculator to find optimized setups yourself. This guide can't cover all the cases because there are too many ways to rank and combine the four stats.
3.2. Final equipment
This factor addresses whether temporary stat bonuses granted by final equipment should be considered in the calculations. Final equipment is the set of gear that you plan to equip after your characters have reached level 99. You might want your characters' raw stats without wearing any final equipment to be perfected, or you might want to leave some room for final equipment bonuses in the target calculations.
No final equipment
Use this option if you want to bring your characters' stats to their highest possible values, ignoring any equipment that may be used after reaching level 99. With this option, your characters' stats are guaranteed never to drop below their perfect target values. If you use this along with the ordered approach for stat priority, then all your characters' Spirit will stay at a uniform value of 50.
On the other hand, since Spirit is capped at a maximum value of 50, characters whose Spr is already maxed out will simply lose any Spr bonus provided by their final equipment. Their effective stats while wearing any Spr-boosting final equipment will be lower than what you can otherwise achieve. Many of the game's best gear, such as Robe of Lords, Ribbon, and Protect Ring, provide a bonus to Spirit.
Recommended final equipment
Use this option if you want your characters' stats to be a bit lower than their theoretical max while unequipped, and rely on temporary bonuses from the recommended set of final equipment to bring their effective stats up to a perfect amount. Recommended final equipment is the set that provides the best combination of Attack, Defense, Evade, etc., as well as elemental protection, for your characters. It's what you would most likely choose to use in battle once your characters reach level 99. Because there's less strain on raising Spirit to 50, this option will allow other stats to grow higher.
On the other hand, this will leave your characters' perfect stats entirely dependent on their final equipment. If you remove the equipment or switch to a weaker set, stats will no longer look perfect. If you choose to use a set that grants even higher bonuses than the recommended amount, you still risk wasting those bonus points.
This table lists the recommended final equipment for all characters:
Character Weapon Head Arms Body Addon Zidane Ultima Weapon Circlet Bracer Brave Suit Protect Ring Dagger *Tiger Racket Circlet Bracer Robe of Lords Ribbon Vivi Mace of Zeus Circlet Bracer Robe of Lords Ribbon Steiner *Excalibur II Grand Helm Venetia Shield *Grand Armor Protect Ring Freya Dragon's Hair Grand Helm Venetia Shield Grand Armor Protect Ring Eiko *Tiger Racket Circlet Bracer Robe of Lords Ribbon Quina Gastro Fork Circlet Bracer Robe of Lords *Protect Ring / Ribbon Amarant Rune Claws Circlet Bracer Brave Suit Protect Ring Note that you can only get one Tiger Racket, so either Dagger or Eiko will have to settle for a weaker weapon if they are both in your active party. Steiner can switch to a weaker weapon if you're not getting the Excalibur II, and can use Tin Armor if you got that item through synthesis. Quina should be given a Protect Ring if you value his/her Strength more, or a Ribbon if you value his/her magic more. None of these tweaks affects setups or strategies in this guide.
Custom final equipment
If you have a different idea for final equipment, then you'll need to do the extra work of using the stats calculator to figure out everyone's setup and strategies. Due to the huge number of possible combinations that you can choose, it's impractical for this guide to list every individual case.
3.3. Character and gameplay-specific choices
These choices affect the availability of items in specific situations and the growth path of individual characters.
Tantarian
Defeating Tantarian will give you a copy of the rare item Running Shoes and the pleasure of having beaten a (somewhat) difficult optional boss. It may also be one of your goals if you're playing a perfect game. However, this comes at the cost of one character gaining 17 levels early in Disc 3, which can lead to a few points lost from that character's stats. You can choose to fight Tantarian and take the stat loss, or skip it.
Excalibur II
This item, being Steiner's ultimate weapon and a trophy for completing a speed run, may also be part of your goals as you play through the game. Getting it, however, puts you under a severe time constraint. If you choose to get the Excalibur II, you'll have a much harder time collecting all the necessary stat-boosting items. Some items will be completely inaccessible under the time constraint, which might force you to take higher stat losses. Finally, the Eiko/Marcus glitch can't be exploited to any meaningful extent under this time constraint. You can decide if these disadvantages are worth trading for the sword.
Quina's orientation
... not sexual. This is where you decide whether Strength or Magic should be considered the primary stat for Quina. He/she is a mixed physical attacker and Blue Magic user, although damage from his/her physical attacks is extremely random and damage from Blue Magic is rarely determined by the Magic stat. Which one to maximize first is up to you. This guide will also cover a third alternative, a "balanced" approach which maximizes the sum of his/her Str and Mag while minimizing their difference, so that both of these stats are raised as evenly as possible.
Eiko/Marcus glitch
It's possible to raise Eiko's stats to unnaturally high levels by training Marcus in Disc 2. It reportedly takes about 150 hours of non-stop battles to take full advantage of this glitch (i.e. raise Marcus to Level 99). Do it if you think the time is worth it.
Forced experience
Since there will be unavoidable experience from forced battles, there will always be someone who must absorb the experience and sacrifice some of his/her stats in the process. You will need to decide which characters you want to dispatch for each battle, and the next section will give you all the information to make that decision.
Here is where you'll find listings of optimal stats for every character and every choice described above. Each case will have a link pointing you to the equipment setup to use. Refer to the FAQ in section 5.1 to learn how to use the equipment setups.
At least one of your characters will inevitably gain levels during forced battles with Tantarian or with Amdusias, Abadon, and Shell Dragon in Pandemonium. In most cases, whoever gains those levels will also lose a few points from his/her perfect stats. Here you'll also find information on how to distribute all the forced experience in order to minimize everyone's stat loss. As a general rule, only one character should absorb the full Exp from any single battle. Do this by putting everyone else in KO status before the battle ends.
This section is divided into four parts, each one covering one common interpretation of perfect stats. Each part will then address any applicable character or gameplay-specific factors on a case-by-case basis. Use these links to skip to the part relevant to your preferences:
Ordered approach, without final equipment
Combined approach, without final equipment
Ordered approach, with recommended final equipment
Combined approach, with recommended final equipment
If you want to use unique setups that aren't covered by this guide, the perfect stats calculator will always be there to help explore your options and plan out your own strategies.
4.1. Ordered approach, without final equipment
The optimal stats for the ordered approach without final equipment that each character can achieve, if they don't absorb any forced experience, are:
Character Optimal stats Equipment setup Zidane 50 Spr, 78 Str, 62 Mag, 35 Spd [onzn-01] Dagger 50 Spr, 89 Mag, 56 Str, 30 Spd [ondn-02] Vivi 50 Spr, 83 Mag, 54 Str, 26 Spd [onvn-03] Steiner 50 Spr, 79 Str, 65 Mag, 27 Spd [onsn-04] Freya 50 Spr, 71 Str, 68 Mag, 29 Spd [onfn-05] Quina (strength-oriented) 50 Spr, 67 Str, 63 Mag, 23 Spd [onqsn-06] Quina (magic-oriented) 50 Spr, 73 Mag, 59 Str, 23 Spd [onqmn-07] Quina (balanced) 50 Spr, 65 Str, 67 Mag, 23 Spd [onqbn-08] Eiko 50 Spr, 87 Mag, 56 Str, 29 Spd [onen-09] Eiko (with Marcus glitch) 50 Spr, 99 Mag, 84 Str, 29 Spd [onmn-10] Amarant 50 Spr, 72 Str, 56 Mag, 31 Spd [onan-11] And the effects of absorbing forced experience on each character's stats are:
Character Absorbed experience Effect Zidane 1 Pandemonium battle -1 Str, +2 Mag, +1 Spd 2-3 Pandemonium battles -1 Str, +1 Mag, +1 Spd Tantarian -1 Str, -1 Spd Tantarian and 1 Pandemonium battle -1 Str, -1 Mag, -1 Spd Tantarian and 2-3 Pandemonium battles -2 Str, +3 Mag Dagger Shell Dragon None! Vivi Tantarian -1 Mag, -1 Str, -1 Spd Steiner Abadon -1 Str, -1 Mag Freya Amdusias None! Tantarian, with or without Amdusias -2 Mag Quina (strength-oriented) Abadon -1 Mag Quina (magic-oriented) Abadon -1 Mag, +1 Str, +1 Spd Quina (balanced) Abadon -2 Str, +2 Mag Amarant Amdusias -2 Mag Tantarian -1 Str, -1 Mag Tantarian and Amdusias -1 Str, -2 Mag, +1 Spd Doing an Excalibur II speed run makes no difference for these stat paths.
It's clearly optimal to have Dagger defeat Shell Dragon and Freya defeat Amdusias since they don't lead to any stat loss. Zidane, Vivi, and Amarant will all lose one primary stat point from fighting Tantarian, leaving Freya as the best choice. For Abadon, Steiner loses one primary plus one secondary stat point, more than anyone else. Zidane will suffer smaller losses than a Magic-oriented Quina, but higher losses than a Strength-oriented one. Balanced Quina won't lose any net stats, but will become less balanced.
The best ways to distribute forced experience in this case are:
4.2. Combined approach, without final equipment
The optimal stats for the combined approach without final equipment that each character can achieve, if they don't absorb any forced experience, are:
Character Optimal stats Equipment setup Zidane 50 Spr, 77 Str, 68 Mag, 35 Spd [cnzn-18] Dagger 50 Spr, 86 Mag, 59 Str, 33 Spd [cndn-19] Vivi 50 Spr, 82 Mag, 56 Str, 28 Spd [cnvn-20] Steiner 50 Spr, 79 Str, 65 Mag, 27 Spd [cnsn-21] Freya 50 Spr, 69 Str, 71 Mag, 29 Spd [cnfn-22] Quina (any orientation) 47 Spr, 62 Str, 73 Mag, 26 Spd [cnqn-23] Eiko 50 Spr, 85 Mag, 58 Str, 30 Spd [cnen-24] Eiko (with Marcus glitch) 50 Spr, 93 Mag, 88 Str, 34 Spd [cnmn-25] Amarant 50 Spr, 70 Str, 60 Mag, 31 Spd [cnan-26] And the effects of absorbing forced experience on each character's stats are:
Character Absorbed experience Effect Zidane 1 Pandemonium battle -1 (-1 Str) 2 Pandemonium battles -2 (-1 Str, -1 Spd) 3 Pandemonium battles -2 (-1 Str, -1 Mag) Tantarian -2 (-2 Str) Tantarian and 1 Pandemonium battle -3 (-1 Str, -2 Mag) Tantarian and 2 Pandemonium battles -3 (-2 Str, +1 Mag, -2 Spd) Tantarian and 3 Pandemonium battles -3 (-2 Str, -1 Spd) Dagger Shell Dragon None! Vivi Tantarian (No speed run) -1 (-2 Mag, +1 Str) Tantarian (Excalibur II run) -2 (-2 Mag) Steiner Abadon -2 (-1 Str, -1 Mag) Freya Amdusias None! Tantarian, with or without Amdusias -1 (-2 Str, +1 Mag) Quina (any orientation) Abadon None! Amarant Amdusias -1 (-1 Str) Tantarian -1 (-2 Str, +1 Spd) Tantarian and Amdusias -2 (-1 Str, -2 Mag, +1 Spd) Quina gets the same stats for every orientation, because any change to his/her Str or Mag will cause Spd to decrease.
Incredibly, all three Pandemonium battles can be fought without anyone sacrificing their stats. The only choice is who, if anyone, will absorb experience from Tantarian. If you choose to fight Tantarian, only Freya, Vivi, and Amarant can get away with only 1 point of net loss. However, Amarant's setup gets you one less secondary stat point than Freya's, making Freya the better choice. Vivi can do just as well as Freya, but only if you're not doing a speed run.
The best ways to distribute forced experience in this case are:
- [cnqp-27] Quina defeating Abadon with no stat loss
- [cndp-28] Dagger defeating Shell Dragon with no stat loss
- One or more of the following, depending on your plan for Tantarian:
Both Dagger and Quina require the Holy Miter in their Pandemonium setups, but only one copy is available at that time. They also both need Robe of Lords, but it's impossible to obtain more than one in an Excalibur II speed run by that time. To get around this problem, you can start training them with their "Any time" setup before you enter Pandemonium, up to a point where one of them is at least 26377 Exp away from the next level-up. This character won't level up during the Pandemonium battles, so you are free to equip anything without worrying about stats. (Thanks to genkaku666 for suggesting this strategy!)
4.3. Ordered approach, with recommended final equipment
The optimal stats for the ordered approach with recommended final equipment that each character can achieve, if they don't absorb any forced experience, are:
Character Optimal stats Equipment setup Zidane 48 Spr, 79 Str, 64 Mag, 35 Spd [orzn-32] Dagger 48 Spr, 90 Mag, 57 Str, 30 Spd [ordn-33] Vivi 48 Spr, 84 Mag, 55 Str, 27 Spd [orvn-34] Steiner 49 Spr, 79 Str, 65 Mag, 27 Spd [orsn-35] Freya 49 Spr, 72 Str, 67 Mag, 29 Spd [orfn-36] Quina (strength-oriented) 48 Spr, 69 Str, 63 Mag, 23 Spd [orqsn-37] Quina (magic-oriented) 48 Spr, 75 Mag, 59 Str, 23 Spd [orqmn-38] Quina (balanced) 48 Spr, 67 Str, 67 Mag, 23 Spd [orqbn-39] Eiko 48 Spr, 88 Mag, 56 Str, 28 Spd [oren-40] Eiko (with Marcus glitch) 48 Spr, 95 Mag, 90 Str, 28 Spd [ormn-41] Amarant 48 Spr, 74 Str, 55 Mag, 32 Spd [oran-42] And the effects of absorbing forced experience on each character's stats are:
Character Absorbed experience Effect Zidane 1 Pandemonium battle -1 Str, +2 Mag, +1 Spd 2-3 Pandemonium battles -1 Str, +1 Mag, +1 Spd Tantarian -1 Str, -1 Spd Tantarian and 1 Pandemonium battle -1 Str, -1 Mag, -1 Spd Tantarian and 2 Pandemonium battles -1 Str, -2 Mag Tantarian and 3 Pandemonium battles -1 Str, -3 Mag Dagger Shell Dragon None! Vivi Tantarian -1 Mag, -2 Spd Steiner Abadon -1 Mag Freya Amdusias None! Tantarian, with or without Amdusias -2 Mag Quina (strength-oriented) Abadon -2 Mag Quina (magic-oriented) Abadon -1 Mag, +1 Str, +1 Spd Quina (balanced) Abadon -1 Str, +1 Mag, +1 Spd Amarant Amdusias -2 Mag Tantarian -1 Str, -1 Spd Tantarian and Amdusias -1 Str, -1 Mag Doing an Excalibur II speed run makes no difference for these stat paths.
It's clearly optimal to have Dagger defeat Shell Dragon and Freya defeat Amdusias since they don't lead to any stat loss. Freya can defeat Tantarian without losing any primary stats and Steiner can do the same with Abadon, so they are more preferable than the other options. Balanced Quina may also take on Abadon without net stat loss if you are willing to upset the stat balance. The only real choices are whether you want to exchange two points of Freya's Magic to defeat Tantarian, and whether you want to have Quina in a balanced stat orientation.
The best ways to distribute forced experience in this case are:
- [ordp-43] Dagger defeating Shell Dragon with no stat loss
- One of the following, depending on your plan for Tantarian:
- [orfp-44] Freya defeating Amdusias with no stat loss
- [orftp-45] Freya defeating Tantarian and Amdusias for -2 Mag
- One of the following, depending on your preference for Quina:
Both Dagger and Quina require the Holy Miter in their Pandemonium setups, but only one copy is available at that time. To get around this problem, you can start training them with their "Any time" setup before you enter Pandemonium, up to a point where one of them is at least 26377 Exp away from the next level-up. This character won't level up during the Pandemonium battles, so you are free to equip anything without worrying about stats. (Thanks to genkaku666 for suggesting this strategy!)
4.4. Combined approach, with recommended final equipment
The optimal stats for the combined approach with recommended final equipment that each character can achieve, if they don't absorb any forced experience, are:
Character Optimal stats Equipment setup Zidane 48 Spr, 78 Str, 69 Mag, 34 Spd [crzn-48] Dagger 48 Spr, 88 Mag, 58 Str, 33 Spd [crdn-49] Vivi 48 Spr, 83 Mag, 57 Str, 28 Spd [crvn-50] Steiner 49 Spr, 79 Str, 65 Mag, 27 Spd [crsn-51] Freya 49 Spr, 70 Str, 71 Mag, 29 Spd [crfn-52] Quina (any orientation) 47 Spr, 62 Str, 73 Mag, 26 Spd [crqn-53] Eiko 48 Spr, 85 Mag, 59 Str, 31 Spd [cren-54] Eiko (with Marcus glitch) 48 Spr, 92 Mag, 89 Str, 35 Spd [crmn-55] Amarant 48 Spr, 72 Str, 60 Mag, 31 Spd [cran-56] And the effects of absorbing forced experience on each character's stats are:
Character Absorbed experience Effect Zidane 1 Pandemonium battle -1 (-3 Mag, +2 Spd) 2 Pandemonium battles -1 (-1 Str, -1 Mag, +1 Spd) 3 Pandemonium battles -1 (-1 Str, -2 Mag, +2 Spd) Tantarian -2 (-1 Str, -1 Mag) Tantarian and 1-2 Pandemonium battles -2 (-1 Str, -2 Mag, +1 Spd) Tantarian and 3 Pandemonium battles -3 (-1 Str, -2 Mag) Dagger Shell Dragon None! Vivi Tantarian (No speed run) -1 (-1 Mag) Tantarian (Excalibur II run) -2 (-1 Mag, -1 Str) Steiner Abadon -1 (-1 Mag) Freya Amdusias None! Tantarian, with or without Amdusias -2 (-2 Mag) Quina (any orientation) Abadon None! Amarant Amdusias -1 (-1 Str) Tantarian -1 (-2 Str, +1 Spd) Tantarian and Amdusias -2 (-1 Str, -2 Mag, +1 Spd) Quina gets the same stats for every orientation, because any change to his/her Str or Mag will cause Spd to decrease.
Incredibly, all three Pandemonium battles can be fought without anyone sacrificing their stats. The only choice is who, if anyone, will absorb experience from Tantarian. If you're doing an Excalibur II speed run, Amarant is the best choice because he's the only one who will lose only 1 net stat point. If you're not doing a speed run, then Vivi is preferable since he doesn't lose 2 primary stat points unlike Amarant.
The best ways to distribute forced experience in this case are:
- [crfp-57] Freya defeating Amdusias with no stat loss
- [crqp-58] Quina defeating Abadon with no stat loss
- [crdp-59] Dagger defeating Shell Dragon with no stat loss
- One of the following if you want to defeat Tantarian:
Both Dagger and Quina require the Holy Miter in their Pandemonium setups, but only one copy is available at that time. They also both need Robe of Lords, but it's impossible to obtain more than one in an Excalibur II speed run by that time. To get around this problem, you can start training them with their "Any time" setup before you enter Pandemonium, up to a point where one of them is at least 26377 Exp away from the next level-up. This character won't level up during the Pandemonium battles, so you are free to equip anything without worrying about stats. (Thanks to genkaku666 for suggesting this strategy!)
5.1. How do I use equipment setups
The equipment setups given in this guide and the stats calculator contain a list of items that you need to equip in each situation. Here's an example of a setup:
For Tantarian:
Barbut, Bronze Gloves or Mythril Gloves, Plate Mail, Pearl RougeAt any time:
Head: 57 Barbut, 24 Kaiser Helm
Arms: 4 Bronze Gloves or Dragon Wrist or Mythril Gloves, 77 Venetia Shield
Body: 81 Minerva's Plate
Addon: 77 Barette, 4 Pearl RougeThe items under the "For Tantarian" heading gives you the exact set of equipment your character should be wearing for that battle. Since you can't change equipment mid-battle, this will always be a single set. Equipment setups for Pandemonium battles will appear the same way.
The items under the "At any time" heading come with a number that tells you how many level-ups your character should gain while wearing that item. In the example, "57 Barbut, 24 Kaiser Helm" means the character should gain 57 levels while wearing a Barbut, and gain another 24 levels wearing a Kaiser Helm. An entry like "4 Bronze Gloves or Dragon Wrist or Mythril Gloves" means you should gain a total of 4 levels while wearing any of those items.
Your character must wear each of the listed items for exactly the specified number of level-ups before reaching level 99. Make sure your character is fully equipped any time you level up, and as soon as an item has reached its number of levels, exchange it immediately for a different one. You can do the items in any order, and you can substitute different items as long as the item you use has the same or better stat bonuses than the one you're supposed to have.
As an example, one way to carry out the setup given above (for Freya) is:
- Have Freya join at level 1, and remain at level 1 until you find Tantarian in Disc 3.
- Equip Freya with Barbut, Mythril Gloves, Plate Mail, Pearl Rouge, and any weapon you like before triggering the battle with Tantarian. Defeat Tantarian and have Freya absorb all of its experience (KO all other characters before the battle ends), gaining 17 levels.
- Don't let Freya gain any more levels until you get all the remaining equipment.
- Once you get all necessary equipment, train Freya so that she gains 57 levels wearing Barbut, Venetia Shield, Minerva's Plate, and Barette. You can use any weapon you like.
- Gain another 20 levels wearing Kaiser Helm, Venetia Shield, Minerva's Plate, and Barette.
- Gain 4 more levels wearing Kaiser Helm, Dragon Wrist, Minerva's Plate, and Pearl Rouge.
Doing these steps will bring Freya to level 99, and account for all required level-ups for all items. This will complete the equipment setup and give Freya her target stats.
5.2. Why don't the guide and the calculator give the same setups
If you try to calculate some of the stat paths in the guide using the stat calculator, you might find that the calculator doesn't always find the same setup as the one in the guide. This is because I have manually tweaked some setups for a variety of reasons. For example, if the calculator returns a solution that requires a hard-to-find item in Pandemonium, I could have chosen to find a different solution which doesn't need that item. Some setups could also have been manually simplified to reduce the number of times you need to switch equipment. The tweaked solutions would be presented in the guide, while the calculator has no way of offering those solutions automatically. You can choose to follow any setup you like, it's only the final optimal stats that matter.
You might also find setups in Atomos199's Excalibur II Perfect Game Guide to be different from both this guide and the calculator. This is because all the setups were found and tweaked at different times, so they could have been adjusted in different ways.
5.3. Can multiple characters split forced experience from a battle
It's possible to have multiple party members absorb the experience from a single battle. Doing this will reduce the maximum level anyone reaches, and might theoretically reduce the impact on stats. In practice however, I've never found a case where this helps.
The reason has to do with the fact that characters at lower levels take fewer Exp to level up. Dividing Exp points among multiple party members will actually increase the total number of level-ups you suffer. Take Tantarian for example. A character absorbing its full 12585 Exp will gain 17 levels. Two characters sharing the Exp will gain 14 levels each. The benefits of one character avoiding 3 level-ups is easily offset by the other one gaining 14. Three-way or four-way divides are even worse.
5.4. Can Steiner get better stats by using Defender in Pandemonium
No. Defender is available in Bran Bal which technically comes before Pandemonium, but Steiner and Dagger leave the party right before you enter the village and you'll never get a chance to equip the sword before the forced battles.
5.5. How do I get Robe of Lords before Pandemonium in a speed run
This is probably the single hardest item to obtain. In short, you need to upgrade to a gold chocobo, find Yans and get Virus status for all your party (to avoid the upcoming Exp), and defeat Ozma using your Virus'd Level 1 party. Robe of Lords can be stolen from Ozma. Atomos199's Excalibur II Perfect Game Guide on GameFaqs.com will have more detailed strategies on how this can be realistically done.
Other ways of obtaining Robe of Lords before Pandemonium, either exchanging for 10000 Chocobo Hot & Cold points or stealing from Quale, are much more time consuming and aren't feasible in an Excalibur II speed run.
This section gives an overview of all the theory and algorithms that go into finding optimal setups. It's written for those of you who are mathematically inclined and curious about how the calculator works. However, it isn't meant to be a comprehensive course on the subject and won't go into too much depth. If you want to learn more about any particular topic mentioned in this section, a web search is always a good place to begin.
The source code for the calculator, written in Java, can be downloaded from http://letao.is-a-geek.net/ff9stats/ff9stats.zip. This is a stand-alone version that runs on any Windows computer with Java Runtime Environment version 6 or higher installed, and doesn't include the web interface of the online version (which requires a web server with Servlet capabilities to run).
6.1. Combinatorial optimization and linear programs
The problem of optimizing stats in FF9 is one of combinatorial optimization - the goal is to find a combination of equipment to wear during level-ups that optimizes the final outcome. This type of problem is generally difficult to solve due to the enormous number of possible combinations, as you would know if you ever tried solving it by hand. For example, if a character only had 5 different pieces of head gear to consider, then the possible number of ways to distribute 98 level-ups among those 5 items is (98 + 5 - 1)! / (98! * (5 - 1)!) = 4249575. That's already much more than a person can handle. In fact, the number of possibilities becomes so high when all five types of equipment are considered, that even a computer would take millions of years to "try them all" using a naive approach. The number of possibilities can be reduced by eliminating ones that aren't worth considering, but efficiently throwing away useless combinations is in itself a difficult problem.
Mathematicians have devoted a considerable amount of research on solving optimization problems because of their practical applications. A mathematical program is a construct that mathematicians use to describe these problems (despite the name, it's not related to computer programs). It consists of a set of variables, a set of constraints, and an objective function. A solution to the mathematical program is a set of values which, when assigned to the variables, satisfies all the constraints and at the same time optimizes the value of the objective function.
More specifically, a linear program is a mathematical program where all constraints are linear equations or inequalities, and the objective function is a linear combination of the variables. Relatively efficient ways to solve this class of problems have been found, the most well-known being the Simplex algorithm. Furthermore, if all variables are also constrained to be integers, then the problem becomes an integer linear program (ILP). With some thought, the problem of optimizing stats in FF9 can be encoded and solved as a series of ILPs. This is the approach taken by the calculator.
Good algorithms for solving ILPs are very complex and I didn't implement any myself. The one actually used in the calculator is an open-source package called GLPK. In the sections below, whenever I say "solve the ILP", it means pass the problem onto GLPK, let it crunch all the numbers, and retrieve its solution.
6.2. Basic ideas
As stated before, the central idea for the calculator is to encode the problem of optimizing stats into a series of ILPs. For this to happen, we need to define the variables, constraints, and objective function that make up an ILP. As an example, consider the case for Dagger:
Base stats at level 1: 17 Spirit, 23 Magic, 14 Strength, 21 Speed
Useful equipment for her (all items that are inferior stat-wise are ignored):
Type Name Stat bonus Spr Mag Str Spd Weapon Magic Racket - +2 - - Stardust Rod +2 - - - Head Bandana +1 - - +1 Green Beret - - +1 +1 Holy Miter +2 +1 - - Arms Magic Armlet - +2 - - N-Kai Armlet +2 - - - Power Wrist - - +2 - Body Dark Gear +3 - - - Minerva's Plate - +2 +1 - Power Vest - - +2 - Robe of Lords +1 +1 +1 +1 Addon Barette +1 +1 +3 - Black Belt +2 - +2 - Cachusha +1 +2 - +1 Dark Matter - +2 +3 - Glass Buckle +2 +1 +1 - Pearl Rouge +4 +2 - - Ribbon +1 +3 +1 - Running Shoes - - - +2 Variables should represent the basic quantities we're trying to find. It makes sense to define variables as the number of level-ups to train with each piece of equipment, because this is the number we're trying to find for the optimal setup. Once we have this information, everything else including final value of stats achieved can be calculated very easily. So the list of variables for Dagger can be written as:
x_magicracket
x_stardustrod
x_bandanaetc., where x_magicracket represents the number of levels gained while having Magic Racket equipped, and similarly for the others.
Constraints are rules that every solution must respect. The fact that a character can only wear one equipment of each type (weapon, head, arms, etc.) at a time is a constraint. Dagger can only gain 98 levels, and in order to maximize her stat growth, we'll want to use one item of each type during every level-up. That gives us a total of 98 level-ups per type of equipment. These constraints can be written as:
x_magicracket + x_stardustrod = 98
x_bandana + x_greenberet + x_holymiter = 98
x_magicarmlet + x_nkaiarmlet + x_powerwrist = 98etc., where the first line accounts for all her weapons, the second accounts for all her head gear, and so on. Later in the calculations there will also be other constraints for stat values, which will be covered below.
Finally, the objective is the quantity that we're seeking to maximize, namely the number of stat points. Recall the formula for calculating stats. For example, the one for Dagger's Spirit, with known quantities plugged in:
Spr = SprBase + [Lv * 3 / 20] + [(LvUps + SprEqBonus) / 32] + SprEqCurr
= 17 + [99 * 3 / 20] + [(98 + SprEqBonus) / 32] + SprEqCurr
= 31 + [(98 + SprEqBonus) / 32] + SprEqCurrwhere
SprEqBonus
is the sum of all bonuses for Spirit from equipment, which is:
SprEqBonus = 2 x_stardustrod + x_bandana + 2 x_holymiter + 2 x_nkaiarmlet + 3 x_darkgear + x_robeoflords + x_barette + 2 x_blackbelt + x_cachusha + 2 x_glassbuckle + 4 x_pearlrouge + x_ribbon
and similarly for the other stats. Unfortunately, the formula contains a term in [ square brackets ] that needs to be rounded down. The "round down" function isn't linear, and so this can't be adequately represented in an ILP. To get around this problem, a separate ILP must be solved for each stat without any rounding, and the rounding operations done manually on the result.
6.3. Calculating optimal stats for the ordered approach
Consider the simplest case for Dagger, with the ordered approach without any final equipment and without absorbing forced experience. Since we have a strict ordering of stats, the top priority is to maximize Spirit with no regard for any other stat. Using the variables, constraints, and objective function seen above, we can find the maximum achievable SprEqBonus with the following ILP:
Objective to maximize:
SprEqBonus
Constraints:
x_magicracket + x_stardustrod = 98
x_bandana + x_greenberet + x_holymiter = 98
x_magicarmlet + x_nkaiarmlet + x_powerwrist = 98
x_darkgear + x_minervasplate + x_powervest + x_robeoflords = 98
x_barette + x_blackbelt + x_cachusha + x_darkmatter + x_glassbuckle + x_pearlrouge + x_ribbon + x_runningshoes = 98Solving this ILP gives the optimal SprEqBonus = 1274, which involves training all 98 level-ups with Stardust Rod, Holy Miter, N-Kai Armlet, Dark Gear, and Pearl Rouge. This solution should come as no surprise, since those are the items that provide the max Spirit boost. With this setup, Dagger's Spirit will end up being:
Spr = 31 + [(SprEqBonus + 98) / 32] + SprEqCurr
= 31 + [(1274 + 98) / 32] + 0
= 73which of course is a huge waste since it will be capped at 50. In reality, we only need SprEqBonus = 510 to raise her Spirit to exactly 50, and can allow the remaining points to go into other stats. We can now define an additional constraint to represent exactly this fact:
SprEqBonus >= 510
As long as this constraint is obeyed, Spirit is guaranteed to be optimal. Now with the value of Spirit settled, the next priority is Magic. The number of bonus points to her Magic can be calculated as:
MagEqBonus = 2 x_magicracket + x_holymiter + 2 x_magicarmlet + 2 x_minervasplate + x_robeoflords + x_barette + 2 x_cachusha + 2 x_darkmatter + x_glassbuckle + 2 x_pearlrouge + 3 x_ribbon
And the maximum achievable MagEqBonus Dagger can achieve, without ruining her Spirit, can be found by solving the following ILP:
Objective to maximize:
MagEqBonus
Constraints:
SprEqBonus >= 510
... (same equipment constraints as before)
x_magicracket + x_stardustrod = 98
The solution to this ILP includes a more carefully balanced set of equipment than the one for Spirit alone. While maintaining 50 Spirit, the highest MagEqBonus that can be achieved is 908, which yields 89 Magic when rounded down. Are all of the 908 bonus points necessary to achieve 89 Magic? Again the answer is no - having only 890 is already sufficient, and the extra 18 points are simply rounded away. From this, we can derive yet another constraint concerning the optimization of Magic:
MagEqBonus >= 890
Now that we have both Spirit and Magic fixed, Strength comes next. The idea is the same as before, simply maximize StrEqBonus while respecting goals for both Spirit and Magic. The ILP would look something like this:
Objective to maximize:
StrEqBonus
Constraints:
SprEqBonus >= 510
... (same equipment constraints as before)
MagEqBonus >= 890
x_magicracket + x_stardustrod = 98
Finally, once a constraint for Strength has been determined, the max Speed can be found by extending the same process. The optimal setup is a solution to the ILP that satisfies all the constraints, including reaching the optimal target values of all four stats.
6.4. Calculating optimal stats for the combined approach and other factors
The combined approach is more difficult to calculate. Ideally, the problem should be solved by a single mathematical program with
Spr+Mag+Str+Spd
as the objective function, but this can't be written as an ILP because each of Spr, Mag, Str, and Spd involves rounding down a term. And unlike the ordered approach, it's not possible to calculate combined stats one at a time in sequence because all four stats affect each other. The calculator actually uses a "branch-and-bound" algorithm for this case. The process often involves solving dozens of ILPs, continuing by trial and error.Using Dagger as an example, we know her optimal stats in the ordered approach (without final equipment or forced experience) is 50 Spr, 89 Mag, 56 Str, and 30 Spd, for a grand total of 225. This number is useful as an initial lower bound, because it has three nice properties:
- It is easy to calculate, as the previous section described
- It is sound, meaning any valid solution for the combined approach must achieve at least this lower bound. Paths that can't achieve this lower bound can be safely rejected.
- It is a tight bound, since optimal stats in the combined approach are usually not too different from the ordered approach. Having a tight bound like this helps reduce the search effort by allowing the algorithm to quickly reject a larger number of possibilities.
Once this "bound" is established, the "branch" part of the algorithm tests all other possible stat values to see if a better one can be found. One such possibility is keeping Spr at 50 and Mag at 89, but lowering Str to 55. If this could allow Spd to increase by 2 or more, then that would give a better solution. Translating this into an ILP, we get:
Objective to maximize:
SpdEqBonus
Constraints:
SprEqBonus >= 510
... (same equipment constraints as before)
MagEqBonus >= 890
StrEqBonus >= 90
x_magicracket + x_stardustrod = 98
The solution to this ILP tells us that the maximum Speed achievable under these conditions is still 30, which doesn't help. Similar calculations will prove that lowering Str to any other value will not help either.
On the other hand, if we only keep Spr at 50 but lower Mag to 88, the situation changes. Using this ILP:
Objective to maximize:
StrEqBonus + SpdEqBonus
Constraints:
SprEqBonus >= 510
... (same equipment constraints as before)
MagEqBonus >= 858
x_magicracket + x_stardustrod = 98
We can calculate that a maximum
StrEqBonus+SpdEqBonus
of 224 can be achieved with Spr at 50 and Mag at 88. Taking base stat values and level-up bonuses into account, that means the sum of Str+Spd can be as high as 89 in this case. Compared to the initial bound which had 56 Str and 30 Spd (for a sum of 86), this is better. This branch is therefore worth exploring further by trying different values of Str and Spd while keeping Mag at 88. Similarly, setting Mag to 87 or 86 will yield even better results. Repeating the same kind of calculations will eventually exhaust all remaining possibilities. The optimal stats for the combined approach is the best solution found among all these possibilities.When adding forced experience into the calculations, we need to introduce additional variables to represent equipment used during those battles. Since it is not possible to change equipment mid-battle, the variables will represent whether the equipment is used during the forced battle, not the number of levels. Each variable can take on a value of 1 or 0, representing used or not used. The number of levels gained with these equipment is fixed, determined by the amount of Exp gained from the battle. For example, the equipment that Dagger can equip for the Tantarian battle during a speed run can be represented by these variables:
etc.
t_stardustrod
t_lamiastiara
t_bandanaTo reflect the fact that each equipment is responsible for 17 level-ups for the Tantarian battle, their stat bonuses are multiplied by 17 in the equipment bonus calculations. Thus Dagger's SprEqBonus formula would gain all these terms, with coefficients that are multiples of 17:
SprEqBonus = 34 t_stardustrod + 17 t_bandana + 17 t_lamiastiara + 17 t_robeoflords + 34 t_survivalvest + 17 t_mythrilarmlet + 17 t_leatherwrist + 17 t_barette + 17 t_cachusha + 17 t_extension + 17 t_anklet + 34 t_blackbelt + 34 t_glassbuckle + 68 t_pearlrouge + 2 x_stardustrod + x_bandana + 2 x_holymiter + 2 x_nkaiarmlet + 3 x_darkgear + x_robeoflords + x_barette + 2 x_blackbelt + x_cachusha + 2 x_glassbuckle + 4 x_pearlrouge + x_ribbon
With these variables added, the same processes described above for ordered and combined approaches can be used for all the calculations that include forced experience.
Including final equipment in the calculations is simple. Its only effect is to limit the theoretical max that a stat can reach. For example, with final equipment that raises Spirit by 3, the calculator proceeds as if the theoretical max for Spirit is 47 instead of 50. All other methods remain the same as before.
The calculator doesn't have the algorithm to directly calculate stats for balanced Quina. To do so manually, see Calculating balanced Quina.
7.1. Email policy
All email messages pertaining to this guide, stat maximization, and any related issues are welcome. If you spot an error, omission, or anything that's not explained clearly in this guide, then I'd really like to hear about it. Your input will help make this guide better and make life easier for other readers.
Questions
I'll do my best to reply to questions within 2-3 days. Please remember other guides and the message board on GameFaqs are also excellent places to get help. There are people far more knowledgeable about certain aspects of the game than I am.
Comments, suggestions, corrections, improvements
Your name or alias will be listed in the "Credits and thanks" section below if any part of this guide is updated based on your input.
Requests
Feel free to contact me if you have a different idea of perfect stats that isn't covered by this guide. Please also explain why you prefer that particular option. I'll consider adding it to the guide if it makes sense, or if I receive enough requests for it.
7.2. Credits and thanks
- Thanks to Atomos199, creator of the Excalibur II Perfect Game guide that inspired all of this!
- Thanks to KADFC for his Max Stats Guide, and especially Terence for discovering the formulas that govern stat growth!
- Thanks to Rebirth Flame and Shotgunnova for their guides loaded with accurate and useful information. I consulted them regularly both for this guide and as a player of FF9.
- Thanks to aladore384, AtmaChild, camdad04, Cheezeman3000, genkaku666, Non Applicable, scprestige21, SoftReset, Vir27, Vizuino, and many others who participated on the GameFaqs discussion board, for their input, suggestions, support, and contributions to the Excalibur II Perfect Game.
7.3. Version history
3.13: Fixed equipment available for Marcus. Thanks to Vizuino for spotting the errors.
3.10: Changed calculations for balanced Quina to prioritize balance of Str and Mag over Spd.
3.01: Made minor edits.
3.00: Updated setups to include Robe of Lords for Pandemonium in speed runs, added balanced Quina setups, reorganized and edited most of the content again, improved the calculator
2.00: Reorganized and edited most of the content, improved some paths, added setups for Eiko with Marcus glitch, added math section, added reference to online calculator, linked to external setup pages, added downloadable calculator package, and made other minor corrections
1.00: Initial draft
7.4. Legal babble
This guide is published on letao.is-a-geek.net for the sole purpose of private, personal use. It may not be placed on any other web site or otherwise be distributed publicly without explicit advance written permission from the author. Use of this guide on any other web site or as a part of any public display is strictly prohibited, and is a violation of copyright.
All trademarks and copyrights contained in this document are owned by their respective trademark and copyright holders.
The author and authorized distributors shall not be held responsible for any damages resulting from the use or misuse of this guide. Types of damage include, but are not limited to: wear and tear of your playstation/calculator/computer/game discs, addiction to FF9, increased interest in math, and Goblin Punches.
No animals were harmed in the writing of this guide, but if you decide to print this out on paper, some plants will be harmed.