Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009549Dwarf FortressDwarf Mode -- Moodspublic2016-02-09 17:412016-02-09 17:41
ReporterQuietust 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.42.05 
Target VersionFixed in Version 
Summary0009549: Artifact weapons have base-level sharpness?
DescriptionWhen 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);").
Additional Informationhttp://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).
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-02-09 17:41 Quietust New Issue
2016-02-09 19:38 relint12 Issue Monitored: relint12
2016-02-10 16:19 Button Issue Monitored: Button


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker