Reconsider fixing 1371 (long stride + other energy cost lowering effects)
issueid=1435 12-13-2012 02:02 PM
Ancient Member
Number of reported issues by Sami: 91
Reconsider fixing 1371 (long stride + other energy cost lowering effects)

http://www.adom.de/forums/project.php?issueid=1371 was marked as "Won't Fix" because of not willing to fiddle with the integer calculations. If the calculations are coded with the formula that's mentioned in the manual, then the solution should be as simple as changing 100000 in the formula to something higher like 1000000 (that will be sufficient to any single energy cost reduction from 1000), see http://www.adom.de/forums/project.ph...=1371#note8137. For combined energy cost reductions even higher number might be required (preferably as high as it's possible to use without getting integer overflow).

Having that multiplier higher essentially just adds more decimal places (= more precision) in the fixed-point decimal that's used in the intermediate calculations.
Issue Details
Issue Number 1435
Project ADOM (Ancient Domains Of Mystery)
Category All
Status Unconfirmed
Priority 7
Affected Version ADOM 1.2.0 pre 6
Fixed Version (none)
Milestone (none)
Users able to reproduce bug 3
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




+ Reply