Holy RNGods

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Estragon
    Rookie
    • Jun 2016
    • 17

    Holy RNGods

    Started a new vanilla character, and found Wrath of God at 50' ...

    what a shame that I'm playing a mage
    Attached Files
  • Pete Mack
    Prophet
    • Apr 2007
    • 6883

    #2
    Doubtless without selling enabled either.

    Comment

    • Estragon
      Rookie
      • Jun 2016
      • 17

      #3
      Originally posted by Pete Mack
      Doubtless without selling enabled either.
      You guessed it...

      On another note, I didn't realise it was possible to find items so far out of depth outside of vaults. Any idea what the generation chance was?

      name:[Wrath of God]
      typerayer book
      graphics:?:g
      properties:80:30:90000
      alloc:10:90 to 100
      combat:0:1d1:0:0:0
      flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

      Comment

      • Derakon
        Prophet
        • Dec 2009
        • 9022

        #4
        Originally posted by Estragon
        On another note, I didn't realise it was possible to find items so far out of depth outside of vaults. Any idea what the generation chance was?
        Low. In theory any item can be generated anywhere, with the odd exception that artifacts are not allowed in town. But in order for an item to be generated above its native depth, it has to pass one "out of depth" check for each dungeon level separating the generation depth from the item's native depth. Wrath of God is native to dlvl90, so that's 89 OoD checks that it'd have to pass. I don't recall how difficult OoD checks are, but if they were 50/50, then the odds would be about 1 in 600 yotillion. At least, I think that's how you spell the 10^24 prefix when used as a number...I admit it's never come up for me before. Chrome's spellcheck certainly doesn't recognize it as a word!

        Anyway, that'd be implausibly rare, so I'm guessing the odds aren't that bad, or there's a software bug at work here. If the OoD check passes 75% of the time, then your odds are about 1 in 131 billion. That's much more plausible!

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9637

          #5
          Originally posted by Derakon
          Low. In theory any item can be generated anywhere, with the odd exception that artifacts are not allowed in town. But in order for an item to be generated above its native depth, it has to pass one "out of depth" check for each dungeon level separating the generation depth from the item's native depth. Wrath of God is native to dlvl90, so that's 89 OoD checks that it'd have to pass. I don't recall how difficult OoD checks are, but if they were 50/50, then the odds would be about 1 in 600 yotillion. At least, I think that's how you spell the 10^24 prefix when used as a number...I admit it's never come up for me before. Chrome's spellcheck certainly doesn't recognize it as a word!

          Anyway, that'd be implausibly rare, so I'm guessing the odds aren't that bad, or there's a software bug at work here. If the OoD check passes 75% of the time, then your odds are about 1 in 131 billion. That's much more plausible!
          In fact, the current OOD calculations is
          Code:
          	/* Occasional level boost */
          	if ((level > 0) && one_in_(z_info->great_obj))
          		/* What a bizarre calculation */
          		level = 1 + (level * z_info->max_obj_depth / randint1(z_info->max_obj_depth));
          where the great_obj constant is 20 and max_obj_depth is 100. So for level 1, you need to pass the first 1 in 20 roll, then get a 1 from the 1-100 choice - so it's only 1 in 2000 to be looking at objects from the whole dungeon. At that point, you have to multiply by the rarity of Wrath of God compared to every other item - which is 10 in the sum of all the other item rarities, maybe 1 in 500. So overall, something like 1 in a million.

          Or in Derakon-language, one in a megillion
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • Derakon
            Prophet
            • Dec 2009
            • 9022

            #6
            Wait, really? The out-of-depth checks don't require repeated checks per level of OoD-ness? How bizarre.

            Thanks for the code posting. And what name would you use to represent 1000000000000000000000000?

            Comment

            • Nick
              Vanilla maintainer
              • Apr 2007
              • 9637

              #7
              Originally posted by Derakon
              And what name would you use to represent 1000000000000000000000000?
              That would be one septillion (or one quadrillion in the now more or less abandoned British system). The sept in septillion is for seven; in the American system, that means (7 + 1) * 3 zeroes, in the British it means 7 * 6 zeroes.

              Million - 1 000 000
              Billion - 1 000 000 000 (or 1 000 000 000 000)
              Trillion - 1 000 000 000 000 (or 1 000 000 000 000 000 000)
              Quadrillion - 1 000 000 000 000 000 (or 1 000 000 000 000 000 000 000 000)
              etc
              One for the Dark Lord on his dark throne
              In the Land of Mordor where the Shadows lie.

              Comment

              • Derakon
                Prophet
                • Dec 2009
                • 9022

                #8
                Ah yes, you're right of course. In my defense, the air quality's not great here (SF Bay Area) today, which tends to halve my brain's clock rate.

                Comment

                • Nick
                  Vanilla maintainer
                  • Apr 2007
                  • 9637

                  #9
                  Originally posted by Derakon
                  Ah yes, you're right of course. In my defense, the air quality's not great here (SF Bay Area) today, which tends to halve my brain's clock rate.
                  Right, so it's only like one trilliHertz
                  One for the Dark Lord on his dark throne
                  In the Land of Mordor where the Shadows lie.

                  Comment

                  • Derakon
                    Prophet
                    • Dec 2009
                    • 9022

                    #10
                    Originally posted by Nick
                    Right, so it's only like one trilliHertz
                    Maybe if the air were clear I'd find that joke funny.

                    Comment

                    • kandrc
                      Swordsman
                      • Dec 2007
                      • 299

                      #11
                      Originally posted by Derakon
                      with the odd exception that artifacts are not allowed in town
                      ...anymore. Back in the Frog-knows days, I used to scum Maggot kills for the One.

                      It was actually reasonably common to get the Phial or a *thanc from him, so you always killed him before the first dive.

                      Comment

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