FFXIV Squadron Mission Calculator
.ffxiv-calc-wrapper {
max-width: 800px;
margin: 0 auto;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #f4f4f9;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.ffxiv-header {
text-align: center;
margin-bottom: 25px;
color: #2c3e50;
}
.ffxiv-header h2 {
margin: 0;
font-size: 24px;
color: #333;
}
.calc-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
margin-bottom: 20px;
}
.input-group {
background: #ffffff;
padding: 15px;
border-radius: 6px;
border-left: 4px solid #4a90e2;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.input-group h3 {
margin-top: 0;
font-size: 16px;
color: #555;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
margin-bottom: 15px;
}
.input-row {
margin-bottom: 12px;
}
.input-row label {
display: block;
font-size: 13px;
font-weight: 600;
margin-bottom: 4px;
color: #666;
}
.input-row input {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
box-sizing: border-box;
}
.input-row input:focus {
border-color: #4a90e2;
outline: none;
}
.phys-label { color: #d32f2f; } /* Physical Red */
.ment-label { color: #1976d2; } /* Mental Blue */
.tact-label { color: #388e3c; } /* Tactical Green */
.calc-btn {
display: block;
width: 100%;
padding: 15px;
background-color: #2c3e50;
color: white;
border: none;
border-radius: 6px;
font-size: 18px;
cursor: pointer;
transition: background 0.3s;
font-weight: bold;
}
.calc-btn:hover {
background-color: #34495e;
}
#result-area {
margin-top: 25px;
background: #fff;
border-radius: 6px;
padding: 20px;
display: none;
border: 1px solid #ddd;
}
.result-row {
display: flex;
justify-content: space-between;
padding: 10px 0;
border-bottom: 1px solid #eee;
}
.result-row:last-child {
border-bottom: none;
}
.stat-check {
font-weight: bold;
}
.status-met { color: #388e3c; }
.status-fail { color: #d32f2f; }
.final-probability {
text-align: center;
font-size: 20px;
font-weight: bold;
margin-top: 15px;
padding: 15px;
background: #f8f9fa;
border-radius: 4px;
}
.content-section {
max-width: 800px;
margin: 40px auto;
font-family: 'Segoe UI', sans-serif;
line-height: 1.6;
color: #333;
}
.content-section h2 {
color: #2c3e50;
border-bottom: 2px solid #eee;
padding-bottom: 10px;
}
.content-section ul {
background: #f9f9f9;
padding: 20px 40px;
border-radius: 8px;
}
@media (max-width: 600px) {
.calc-grid {
grid-template-columns: 1fr;
}
}
function calculateMission() {
// 1. Get Mission Requirements
var rPhys = parseInt(document.getElementById('reqPhys').value) || 0;
var rMent = parseInt(document.getElementById('reqMent').value) || 0;
var rTact = parseInt(document.getElementById('reqTact').value) || 0;
// 2. Get Squad Base Stats
var sPhys = parseInt(document.getElementById('squadPhys').value) || 0;
var sMent = parseInt(document.getElementById('squadMent').value) || 0;
var sTact = parseInt(document.getElementById('squadTact').value) || 0;
// 3. Get Training Stats
var tPhys = parseInt(document.getElementById('trainPhys').value) || 0;
var tMent = parseInt(document.getElementById('trainMent').value) || 0;
var tTact = parseInt(document.getElementById('trainTact').value) || 0;
// Calculate Totals
var totalPhys = sPhys + tPhys;
var totalMent = sMent + tMent;
var totalTact = sTact + tTact;
// Calculate Deficits/Surplus
var diffPhys = totalPhys – rPhys;
var diffMent = totalMent – rMent;
var diffTact = totalTact – rTact;
// Determine Met Status
var metPhys = diffPhys >= 0;
var metMent = diffMent >= 0;
var metTact = diffTact >= 0;
// Count Met Categories
var countMet = 0;
if (metPhys) countMet++;
if (metMent) countMet++;
if (metTact) countMet++;
// Determine Success Probability (Standard FFXIV Logic)
// 3 Stats = 100%, 2 Stats = ~66%, 1 Stat = ~33%
var probability = "";
var probClass = "";
if (countMet === 3) {
probability = "100% (Guaranteed)";
probClass = "status-met";
} else if (countMet === 2) {
probability = "High (~66%)";
probClass = "status-fail"; // Using fail color for warning that it's not 100%
} else if (countMet === 1) {
probability = "Low (~33%)";
probClass = "status-fail";
} else {
probability = "None (0%)";
probClass = "status-fail";
}
// Build HTML Output
var outputHTML = ";
// Physical Row
outputHTML += '
';
outputHTML += 'Physical Stat:';
outputHTML += '' + totalPhys + ' / ' + rPhys + ' ';
outputHTML += (metPhys ? '[MET]' : '[MISSING ' + Math.abs(diffPhys) + ']');
outputHTML += '
';
// Mental Row
outputHTML += '
';
outputHTML += 'Mental Stat:';
outputHTML += '' + totalMent + ' / ' + rMent + ' ';
outputHTML += (metMent ? '[MET]' : '[MISSING ' + Math.abs(diffMent) + ']');
outputHTML += '
';
// Tactical Row
outputHTML += '
';
outputHTML += 'Tactical Stat:';
outputHTML += '' + totalTact + ' / ' + rTact + ' ';
outputHTML += (metTact ? '[MET]' : '[MISSING ' + Math.abs(diffTact) + ']');
outputHTML += '
';
// Final Result
outputHTML += '
';
outputHTML += 'Predicted Success Chance: ' + probability + '';
outputHTML += '
';
// Warning about training cap
var totalTraining = tPhys + tMent + tTact;
if (totalTraining > 400) {
outputHTML += '
Warning: Your Training Stats sum (' + totalTraining + ') exceeds the in-game cap of 400. Please verify your inputs.
';
}
var resultArea = document.getElementById('result-area');
resultArea.innerHTML = outputHTML;
resultArea.style.display = 'block';
}
Optimizing Your FFXIV Squadron for Missions
Managing your Adventurer Squadron in Final Fantasy XIV involves balancing three core attributes: Physical, Mental, and Tactical. Whether you are attempting a standard 18-hour mission or a high-priority Command Mission, understanding how to calculate your success rate is vital for efficient leveling and reward farming.
How Mission Success Works
Unlike standard player combat, Squadron missions are determined purely by mathematics. Every mission has a set requirement for Physical, Mental, and Tactical stats. Your success probability depends on how many of these requirements your squad meets:
- 3/3 Stats Met: 100% Success rate. This is required for certain Flagship missions to guarantee the specific rewards.
- 2/3 Stats Met: Approximately 66% success rate. This is often acceptable for standard leveling missions if you cannot hit the third cap.
- 1/3 Stats Met: Approximately 33% success rate. High risk of failure.
- 0/3 Stats Met: Almost guaranteed failure.
Using the Calculator
This calculator helps you determine if your current party composition, combined with your current Regimen (Training) board allocation, is sufficient to pass a mission.
- Mission Requirements: Enter the target numbers shown in your mission log.
- Squad Composition: Enter the sum of the base stats of the 4 members you have selected. You can see these numbers change in-game as you swap members.
- Training Board: Enter the stats provided by your current training regimen. Remember, the Regimen board has a hard cap of 400 points total (e.g., 200/200/0 or 140/140/120).
Tips for Hard Missions
If you are struggling to meet the requirements for a Level 40 or Level 50 Flagship mission, try re-allocating your Training Board stats. Often, shifting 20 or 40 points from a stat where you have a surplus to a stat where you have a deficit is enough to turn a 66% chance into a 100% guarantee.