Bug report v4 9feb8de

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jevansau
    Adept
    • Jan 2009
    • 200

    Bug report v4 9feb8de

    There seems to be a problem with overflow when finesse/prowess gets too high.
    Damage rises at an extreme rate, and then you get to a point where Angband hangs on a hit ( I guess the critical calculation is open ended and the chance of passing is 100%).

    The current save (attached) exhibits the problem. If you reduce the attack potential by swapping gloves, it works OK (although damage is still ridiculously high).

    Regards,
    Jonathan
    Attached Files
  • Old Coach
    Apprentice
    • Feb 2009
    • 61

    #2
    Ah, you beat me to it! Just found the same problem today.

    Comment

    • Magnate
      Angband Devteam member
      • May 2007
      • 5110

      #3
      Thanks both for the report, and for the savefile. There are several ways to fix this, and I daresay we'll end up trying more than one ...
      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

      Comment

      • jevansau
        Adept
        • Jan 2009
        • 200

        #4
        As I understand it, the issue arises because the critical chance gets over 100% and the same check is repeated for each extra dice until it fails.
        May I suggest dropping the percentage to 90% of its previous value for each roll after the first.
        This will still reward very high finesse and prowess, but cannot become open ended.

        Regards,
        Jonathan

        Comment

        • ekolis
          Knight
          • Apr 2007
          • 921

          #5
          Originally posted by jevansau
          As I understand it, the issue arises because the critical chance gets over 100% and the same check is repeated for each extra dice until it fails.
          Haha, so you can get an infinite damage crit, but as punishment the game locks up on you calculating the damage? Sounds like something out of Dragon Ball... :P
          You read the scroll labeled NOBIMUS UPSCOTI...
          You are surrounded by a stasis field!
          The tengu tries to teleport, but fails!

          Comment

          • Derakon
            Prophet
            • Dec 2009
            • 9022

            #6
            I did the math beforehand and extrapolated that even an extremely well-equipped warrior shouldn't have had a crit chance above 60% or so (I forget exactly what I ended up with but it was in that region). But clearly I screwed something up there. Those calculations should be fixed. Additionally some kind of safety cap should be put into place to ensure that crit chance is never above 90% or so, but that's just there to make certain the game fails gracefully in unforeseen situations. The cap should never even come close to being hit in practice.

            Comment

            Working...
            😀
            😂
            🥰
            😘
            🤢
            😎
            😞
            😡
            👍
            👎