Combat/Mechanics: Difference between revisions
imported>Apparent1 No edit summary |
imported>Apparent1 No edit summary |
||
| Line 61: | Line 61: | ||
A critical strike does additional damage to an enemy. A special sound plays when hitting a critical strike, and the damage numbers that pop up show the greater damage amount. A critical strike effectively multiplies the damage roll by a calculated value called <samp>CritMultiplier</samp> in this article, calculated as follows: <code>CritMultiplier = (3 + Crit. Power (stat) / 50) × (1 + Crit. Power Bonus)</code> | A critical strike does additional damage to an enemy. A special sound plays when hitting a critical strike, and the damage numbers that pop up show the greater damage amount. A critical strike effectively multiplies the damage roll by a calculated value called <samp>CritMultiplier</samp> in this article, calculated as follows: <code>CritMultiplier = (3 + Crit. Power (stat) / 50) × (1 + Crit. Power Bonus)</code> | ||
The [[Skills#Combat|Desperado]] Profession also affects the damage dealt by a Critical strike, doubling damage after bonus [[Attack]] damage has added. ([[Attack]] stat is otherwise a "flat" bonus which is not increased by Critical strike bonuses.) | The [[Skills#Combat|Desperado]] Profession also affects the damage dealt by a Critical strike, doubling damage after bonus [[Attack]] damage has been added. ([[Attack]] stat is otherwise a "flat" bonus which is not increased by Critical strike bonuses.) | ||
[[Crit. Power]] (stat) can be found on: | [[Crit. Power]] (stat) can be found on: | ||
Revision as of 15:14, 22 August 2025
This article is about combat mechanics. For information about the Skill, see Combat.
Damage
In Stardew Valley, damage dealt to monsters is determined by a combination of weapon stats, player buffs, gear effects, professions, and critical hit multipliers.
Formula overview
FinalDamage = BaseDamage × CritMultiplier (if crit)
+ Attack (stat) × 3
× FighterBonus (×1.1 if active)
× BruteBonus (×1.15 if active)
× DesperadoBonus (×2 if crit and active)
→ Modified by enchantments
→ Reduced by monster defense
Base damage roll
- A random value is rolled between the weapon’s minDamage and maxDamage.
- Ruby forging increases a weapon's minDamage and maxDamage by 10% per Ruby (up to 3). Three Ruby forges would increase minDamage and maxDamage by 30% total.
Critical Hit Check
- A critical hit occurs if:
Random(0–1) < critChance + (Luck × critChance / 40) - If a crit occurs, the base damage is multiplied by critMultiplier, which is calculated as:
critMultiplier = (3 + CritPower / 50) × (1 + CriticalPowerMultiplier) - CritPower is the total of the Crit. Power stat from Weapons and Jade forging.
- CriticalPowerMultiplier is the effects of buffs: Innate enchantments and Jade Ring
- Desperado profession doubles this result.
Attack Stat Bonus
- The player’s Attack stat (from food, gear, enchantments) adds:
+3 damage per Attack point
Profession Bonuses
- Fighter: +10% damage
- Brute: +15% damage
- These are applied multiplicatively and stack, so if both Fighter and Brute are active, the effective damage increase is
110% × 115% = 127%.
Enchantments
If a weapon is enchanted with Bug Slayer or Crusader and apply to the damaged monster, damage is affected.
Monster defense
Monster defense is subtracted from the damage roll. Damage is always at least 1, even after defense reduction.
Critical hit chance
Critical hit chance is computed in the following order:
- Start with the weapon's base critical hit chance. For example, the Galaxy Sword has a critical hit chance of 2%[1].
- Add Aquamarine forging bonus. In 1.5, the Aquamarine forging increases weapon critical hit chance by 4.6%. For example, a weapon with 3 Aquamarine forges would have its crit chance increased by 13.8% (4.6% x 3). If applied to the Galaxy Sword, this would result in a critical hit chance of 15.8% (2% + 13.8%)[2].
- If the weapon is a dagger, critical hit chance is set to
(critical hit chance + 0.005) × 1.12[3]. - Apply aquamarine ring and innate enchantment bonuses.
- Each aquamarine ring equipped gives a 10% bonus.[4].
- If the weapon has a "+X Crit. Chance" innate enchantment, then each enchantment level adds a 2% bonus (up to 6% for a level 3 enchantment).
- So for a sword with 2% base critical hit and 3 Aquamarine forging, 1 Aquamarine ring increases critical hit chance by 10%:
15.8% × 1.1 = 17.38%. - Two aquamarine rings increase critical hit chance by 20%:
15.8% × 1.2 = 18.96%. - A level 3 Crit. Chance innate enchantment increases critical hit chance by 6%:
15.8% × 1.06 = 16.75% - Two aquamarine rings and a level 3 Crit. Chance innate enchantment increase critical hit chance by 26%:
15.8% × 1.26 = 19.91%.
- If the Blessing of Fangs buff from Statue Of Blessings is active, Critical hit chance gets an additive increase of 10%.[5]
- A player using a Galaxy Sword that is triple-enchanted with Aquamarine and equipped with 2 aquamarine rings has an
18.96% + 10% = 28.96%critical hit chance with the Blessing of Fangs buff from the Statue Of Blessings,
- A player using a Galaxy Sword that is triple-enchanted with Aquamarine and equipped with 2 aquamarine rings has an
- The Scout Profession further increases critical hit chance by 50%[5].
- For the galaxy sword with 2 aquamarine rings, 3 aquamarine forging, the Blessing of Fangs buff from the Statue Of Blessings, and the Scout profession, the critical hit chance is:
28.96% × 1.5 = 43.44%.
- For the galaxy sword with 2 aquamarine rings, 3 aquamarine forging, the Blessing of Fangs buff from the Statue Of Blessings, and the Scout profession, the critical hit chance is:
- Finally, every point of Luck from food and rings increases critical hit chance by:
LuckLevel * critical hit chance / 40[6].- This bonus scales with critical hit chance, so a higher critical hit percentage benefits more from Luck.
- So starting with 28.96% critical hit chance and 2 points of Luck, critical hit chance is
28.96% + 2 × 28.96% / 40 = 30.41%
Critical hit damage
A critical strike does additional damage to an enemy. A special sound plays when hitting a critical strike, and the damage numbers that pop up show the greater damage amount. A critical strike effectively multiplies the damage roll by a calculated value called CritMultiplier in this article, calculated as follows: CritMultiplier = (3 + Crit. Power (stat) / 50) × (1 + Crit. Power Bonus)
The Desperado Profession also affects the damage dealt by a Critical strike, doubling damage after bonus Attack damage has been added. (Attack stat is otherwise a "flat" bonus which is not increased by Critical strike bonuses.)
Crit. Power (stat) can be found on:
- Weapons
- Jade enchantments: +5 Crit. Power per enchantment
Crit. Power Bonus is increased by:
- Jade Ring: +10% per ring
- Innate enchantments: +50% per enchantment level. A Crit. Power Innate enchantment shows as +25 "Crit. Power" per level, so a "+75 Crit. Power" tooltip represents a level 3 enchantment and thus increases Crit. Power Bonus by 150%.
Example:
- A normal attack using the Lava Katana can do 55-64 damage. Assume an attack rolls 60 damage.
- A Lava Katana has 25 Crit. Power, so on a critical strike:
60 × (3 + 25 / 50) = 210damage will be dealt. - If the Lava Katana was forged with 3 Jades, Crit. Power would be increased by 15, for a total of 40 (though it shows up as +39 ingame due to rounding errors). This means the damage would instead be
60 × (3 + 40 / 50) = 228. - With 2 Jade Rings and a +75 Crit. Power innate enchantment, Crit. Power Bonus would equal
10% (Jade Ring) x 2 + 150% (Innate enchantment) = 170%. The total damage would become228 × (100% + 170%) = 615.6. - With Desperado, this becomes
615.6 × 2 = 1231.2.
References
- ↑ See weapons.xnb file in the game data.
- ↑ See StardewValley::AquamarineEnchantment.
- ↑ See StardewValley::Tools::MeleeWeapon.DoDamage; the dagger weapon type is 1.
- ↑ See StardewValley::Tools::MeleeWeapon.DoDamage and StardewValley::Objects::Ring.
- ↑ 5.0 5.1 See StardewValley::GameLocation.damageMonster.
- ↑ See StardewValley::GameLocation.damageMonster; the formula does not edit the crit chance but luck level is added in the if statement to check for a crit.