Changes

959 bytes added ,  02:43, 30 September 2021
Line 10: Line 10:     
I triple enchanted my Dwarf Sword with an Aquamarine, and the progression was +3/+6/+8 crit chance. Doesn't seem to be 4.6 anymore, and even if 3 translates to 4.6, the third level has diminishing returns. [[User:Sarysa|Sarysa]] ([[User talk:Sarysa|talk]]) 22:58, 29 September 2021 (UTC)
 
I triple enchanted my Dwarf Sword with an Aquamarine, and the progression was +3/+6/+8 crit chance. Doesn't seem to be 4.6 anymore, and even if 3 translates to 4.6, the third level has diminishing returns. [[User:Sarysa|Sarysa]] ([[User talk:Sarysa|talk]]) 22:58, 29 September 2021 (UTC)
 +
 +
 +
Dwarf Sword critChance = .02
 +
 +
Aquamarine Enchantment code:
 +
weapon.critChance.Value += 0.046f * (float)GetLevel();
 +
 +
Assuming your enchantment is level 3 then we have:
 +
0.02 + (0.046 * 3) = 0.158
 +
 +
The crit chance is determined by:
 +
Game1.random.NextDouble() < (double)(critChance + (float)who.LuckLevel * (critChance / 40f)))
 +
 +
For that last part of the equation:
 +
critChance / 40 = 0.158 / 40 = 0.00395
 +
 +
I don't know how luck value is determined, so assuming it's 1, your crit chance with a Dwarf Sword with Level 3 Aquamarine Enchantment is:
 +
(some number between 0 and 1) < 0.158 + (1 * (0.00395))
 +
(some number between 0 and 1) < 0.16195
 +
 +
I think the only thing from there that can be affecting your crit chance is your luck value, so it's possible you're comparing using your original sword on a very luck day with using your upgrade sword on an unlucky day.
 +
 +
[[User:Biochromatic|Biochromatic]] ([[User talk:Biochromatic|talk]]) 02:43, 30 September 2021 (UTC)
24

edits