Line 129: |
Line 129: |
| # Each weapon has a base critical hit chance. For example, the Galaxy Sword has a critical hit chance of 2% <ref name="weaponsxnb" />. | | # Each weapon has a base critical hit chance. For example, the Galaxy Sword has a critical hit chance of 2% <ref name="weaponsxnb" />. |
| # In 1.5, the [[Forge#Weapon_forging|Aquamarine forging]] increases crit chance in an additive manner via the following formula: <samp>critChance += 0.046 * forgingLevel</samp>. For example, with 3 Aquamarine forged, the crit chance is increased by 13.8%. With the Galaxy Sword, this means the chance is 15.8% <ref name="aquamarineenchantment" />. | | # In 1.5, the [[Forge#Weapon_forging|Aquamarine forging]] increases crit chance in an additive manner via the following formula: <samp>critChance += 0.046 * forgingLevel</samp>. For example, with 3 Aquamarine forged, the crit chance is increased by 13.8%. With the Galaxy Sword, this means the chance is 15.8% <ref name="aquamarineenchantment" />. |
− | # If the weapon is a [[Weapons#Dagger|dagger]] <samp>critChance = (critChance + 0.005) * 1.12</samp> | + | # If the weapon is a [[Weapons#Dagger|dagger]] <samp>critChance = (critChance + 0.005) * 1.12</samp> <ref name="dagger" /> |
| # If a single [[Aquamarine Ring|aquamarine ring]] is used, critical hit chance is increased in a multiplicative manner by 10%. If two aquamarine rings are used, the critical hit chance is increased in a multiplicative manner by 20% <ref name="ringcrit" />. | | # If a single [[Aquamarine Ring|aquamarine ring]] is used, critical hit chance is increased in a multiplicative manner by 10%. If two aquamarine rings are used, the critical hit chance is increased in a multiplicative manner by 20% <ref name="ringcrit" />. |
| ## So with the galaxy sword and 1 ring and 3 forging: 15.8*1.1 = 17.38%. | | ## So with the galaxy sword and 1 ring and 3 forging: 15.8*1.1 = 17.38%. |
Line 141: |
Line 141: |
| <ref name="weaponsxnb">See <samp>weapons.xnb</samp> file in the game data.</ref> | | <ref name="weaponsxnb">See <samp>weapons.xnb</samp> file in the game data.</ref> |
| <ref name="aquamarineenchantment">See <samp>StardewValley::AquamarineEnchantment</samp>.</ref> | | <ref name="aquamarineenchantment">See <samp>StardewValley::AquamarineEnchantment</samp>.</ref> |
| + | <ref name="dagger">See <samp>StardewValley::Tools::MeleeWeapon.DoDamage</samp>; the dagger weapon type is 1.</ref> |
| <ref name="ringcrit">See <samp>StardewValley::Tools::MeleeWeapon.DoDamage</samp> and <samp>StardewValley::Objects::Ring</samp>.</ref> | | <ref name="ringcrit">See <samp>StardewValley::Tools::MeleeWeapon.DoDamage</samp> and <samp>StardewValley::Objects::Ring</samp>.</ref> |
| <ref name="scoutcode">See <samp>StardewValley::GameLocation.damageMonster</samp>.</ref> | | <ref name="scoutcode">See <samp>StardewValley::GameLocation.damageMonster</samp>.</ref> |