Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0009549Dwarf FortressDwarf Mode -- Moodspublic2016-02-09 17:412016-02-09 17:41
Quietust 
 
normalminorhave not tried
newopen 
0.42.05 
 
0009549: Artifact weapons have base-level sharpness?
When weapons are created, they are assigned a "sharpness" value which is based on their material's MAX_EDGE property - base-quality weapons get 50%, well-crafted weapons get 60%, finely-crafted weapons get 70%, superior ones get 80%, exceptional get 90%, and masterful get the full 100%.

However, artifact weapons seem to only get 50% sharpness, seemingly because the "strange mood completed" function just directly sets the artifact item's quality to 5 (e.g. "item->quality = 5;") instead of calling the virtual class function which sets the quality and recalculates its sharpness (e.g. "item->setQuality(5);").
http://www.bay12forums.com/smf/index.php?topic=156150.0 [^]

This is actually a quite long-standing bug, dating back to version 0.23 (which also assigned the variable directly instead of calling the function) but not actually manifesting until version 0.31 (when said function started doing other things in addition to assigning quality).
No tags attached.
Issue History
2016-02-09 17:41QuietustNew Issue
2016-02-09 19:38relint12Issue Monitored: relint12
2016-02-10 16:19ButtonIssue Monitored: Button

There are no notes attached to this issue.