From: SourceForge.net <no...@so...> - 2006-01-13 02:17:06
|
Bugs item #1223173, was opened at 2005-06-18 10:00 Message generated for change (Comment added) made by eddyanthony You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1223173&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 5.8.0 Stable Status: Open Resolution: None Priority: 7 Submitted By: Eddy Anthony (eddyanthony) >Assigned to: Devon Jones (soulcatcher) Summary: Negative levels formula fails in Preview Tab Initial Comment: To reproduce: Start PcGen 5.8.0-RC8. Load 35RSRD. Choose Alignment Lawful Neutral. Choose Race Human. Choose Class Wizard. Add a level (pick anything for the options popups). Buy a Robe of Archmagi (Gray). Equip said Robe. Look at Preview tab. Misc save modifier is -1. The Misc save should be 0. If the Alignment is change to anything good or evil the robe should grant a Misc save of -2, but if you unequip and re-equip the robe and go back into the Preview Tab it still shows a -1. If you follow these same circumstances and instead output to an OS the results come out correct. I've also done some experiments by pluging the formula responsible directly into the console. I exported to the html sheet then went to the console to get results for -1*NegLevels, it returned the correct result (-2). Then I went and unequipped/re-equipped the robe and went back to the preview tab to force it to retabulate it's output and then I went back to the console and pressed the Get button, now it returns an incorrect result (-1) reported by: Skip, mythicsilk <myt...@ya...> ---------------------------------------------------------------------- >Comment By: Eddy Anthony (eddyanthony) Date: 2006-01-12 21:16 Message: Logged In: YES user_id=886893 Devon, this may be related to another tracker I opened: [ 1397987 ] Math processing issue <https://sourceforge.net/tracker/? func=detail&aid=1397987&group_id=25576&atid=384719> This my be a problem but it also may have a simple data side fix. I found in the current build that in the console the formula "-1*NegLevels" returns -1 but the formula "-1*(NegLevels)" returns 0 as it should. I also found that "-NegLevels" is mathmatically equivallent and that the -1* is may only be needed when the number to be reversed is buried in a formula, even then it is probably not needed. Devon could you confirm this for me. If this is the case I will go through the data and simplify these formulas where I find them. ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2005-09-09 09:21 Message: Logged In: YES user_id=252169 Confirmed bug - I may look into this later ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1223173&group_id=25576 |