![]() |
#1 |
Rookie
Join Date: Mar 2010
Posts: 19
![]() |
Ring of speed range of values
Wondering what the range of values for ring of speed is. I see d5M5 in obj.txt giving a range of +1 to +10 but something else must be going on since I see many rings greater than +10 in the ladder. +18 is the highest I've seen for v3.1.2. Is that a hard cap? Thank you.
-Nate |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Dec 2009
Posts: 9,022
![]() |
A ring of speed has a base modifier of 1d5 + a dlvl-dependent bonus of up to 5. After that, the game flips a coin. If it comes up heads, the modifier is increased by one and the coin is flipped again. It keeps repeating this until the coin comes up tails, with no limit. A ring of speed +18 would have to pass that coin flip check a minimum of 8 times (at odds of 1 in 256) and a maximum of 16 times (at odds of 1 in 65536).
|
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Mar 2010
Posts: 19
![]() |
Thank you
Thank you for the info. Do you know in which source file the coin flipping code appears?
|
![]() |
![]() |
![]() |
#4 |
Knight
Join Date: May 2009
Posts: 560
![]() |
In theory, you can have a speed ring with a value in the hundreds which may go outside the bounds of the energy speed array, although I'm not sure if there is a check for that (there probably is). Although you're more likely to find ringil and the one ring on dlvl one.
Anyway, the source you're looking for is: trunk/src/object/obj-make.c line 700 which is: Code:
while (randint0(100) < 50) o_ptr->pval++; Chance of a +100 speed ring is somewhere on the order of 1x10^-25 or somesuch |
![]() |
![]() |
![]() |
#5 |
Swordsman
Join Date: May 2009
Posts: 294
![]() |
Easy way to see: Fires up wizard mode...
Total speed maxes out at +89, so the second RoS+32767 is a waste of space 8-) edit: oops, having actually tried wearing it (my first attempt used +255), the +32767 will overflow your baseline speed down to the negative cap (-110) Last edited by kaypy; May 11, 2010 at 14:53. |
![]() |
![]() |
![]() |
#6 |
Adept
Join Date: Jul 2009
Posts: 137
![]() |
I read somewhere that the most extreme Ring of Speed ever known to have been found in Angband had a bonus of fifty something. That bonus was however negative.
![]() I recall reading in the same text that twenty something was the highest positive bonus ever found. |
![]() |
![]() |
![]() |
#7 |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
About 7 years ago, I found a ring of speed (+23) while playing NPPAngband 0.1.1 That was the first NPPAngband release, and it was virtually identical to Vanilla with a couple minor patches, & nothing that would affect the creation of speed rings. That one might be the record.
http://angband.oook.cz/ladder-show.php?id=1420 |
![]() |
![]() |
![]() |
#8 | |
Adept
Join Date: Jul 2007
Location: St George Utah, USA
Posts: 244
![]() |
Quote:
Given enough time, the borg will find a large number of rings stored. |
|
![]() |
![]() |
![]() |
#9 |
Rookie
Join Date: Mar 2010
Posts: 19
![]() |
How does the dlvl-dependent bonus work? Does it reach a fixed value of 5 at some point? Or is 5 just more likely to come up at dlvl 100 vs dlvl 75? Is dlvl 127 better than dlvl 100 for this bonus? Thank you!
|
![]() |
![]() |
![]() |
#10 |
Prophet
Join Date: Mar 2008
Posts: 2,729
![]() |
Quite recently, bron mentioned =speed+23. Read the notes from http://angband.oook.cz/ladder-show.php?id=10647
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stealth or speed? | Sirridan | Vanilla | 6 | March 11, 2010 05:33 |
Target in range indicator? | ChodTheWacko | Vanilla | 1 | November 28, 2009 16:14 |
r1487 - Stats values randomly exchanged. | marteo | Vanilla | 5 | July 15, 2009 04:34 |
Now that I have speed, what to do? | Big Al | AAR | 3 | September 22, 2008 19:49 |
Speed | Zero | Vanilla | 9 | January 9, 2008 02:21 |