Anonymous | Login | 2024-04-25 14:05 CEST |
Main | My View | View Issues | Change Log | Wiki | Tavern | News |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||||
0012280 | [DCSS] Source Cleanup | trivial | always | 2020-06-15 05:22 | 2020-12-13 15:36 | ||||||||
Reporter | bcadren | View Status | public | ||||||||||
Assigned To | ebering | ||||||||||||
Priority | normal | Resolution | done | ||||||||||
Status | resolved | Product Branch | 0.26 old branch | ||||||||||
Summary | 0012280: There's a line in _acquirement_weapon_subtype() which has no effect. | ||||||||||||
Description |
(actually all versions since, likely the introduction of formacids) Line 484-486 of acquire.cc: const int shield_sk = you.species == SP_FORMICID ? 0 : _skill_rdiv(SK_SHIELDS) * species_apt_factor(SK_SHIELDS); The explanation for the exception just above is that it's so Formacids always weight towards 2Hers. However; since the handedness check considers the player's species, all weapons are 1Hers for Formacids, thus this exception is of no effect. Recommendations: 1.) Existing behavior is fine; just remove the line and comment that are of no effect and maintain current behavior. OR 2.) If we want Formacids to more strongly weight towards weapons that are normally 2Hed, add a special case in a different way; perhaps checking the handedness on a normal-sized monster like an orc. Note that they already do; slightly bias towards weapons that are normally 2Hers just by base-damage weighting. |
||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
|
Mantis 1.1.8[^] Copyright © 2000 - 2009 Mantis Group |