Post by Timo PietiläPost by Joseph William DixonPost by Timo PietiläPost by Andy GullansUh, what's "force good"? Is that something that causes the game to
throw out and reroll crappy bonuses during item creation?
It doesn't exist. But it could. There is INSTA_ART -flag that forces
created item to be artifact, so that could work in similar way.
Probably thinking of the DROP_GOOD & DROP_GREAT monster flags
No, there is INSTA_ART -flag for "special artifacts" in object.txt.
There could be FORCE_GOOD and FORCE_EGO too that could work in similar way.
First game tries to generate special artifact base item type and checks
depth (rarity is zero). Then it tries to turn it into artifact and
checks depth second time and then rarity. If it fails base item does not
get generated.
Timo Pietilä
Hi Timo,
Not quite.
On item generation, there is a 0.1% chance (or 10% for "good" and
"great" items) that one of the special artifacts is attempted (see
below). If this chance is not made, or if it is made but the attempt
fails, a normal item will be generated, which can then be promoted to
ego or artifact status.
The attempt to generate a special artifact goes like this:
(Start cut and paste from obj-good.spo)
The special artifacts comprise the artifact light sources, rings, and
amulets. When the game attempts to create a special artifact, it runs
through a list of all the special artifacts that have not yet been
created. Each item in the list undergoes a rarity check and a minimum
depth check, similar to that of the normal artifacts. However, for
the special artifacts the minimum depth check is made twice. If these
checks succeed then that special artifact is created; otherwise the
game goes on to the next artifact in the list. When the list is
exhausted, no special artifact is created.
Example:
Let's suppose that the Phial of Galadriel (the first special artifact
in the list) has already been created. You are on dungeon level 6
and have just defeated Wormtongue (normally found on dungeon level 8),
who will drop 1 or 2 guaranteed great objects. What is the chance of
getting the second special artifact in the list, the Star of Elendil
(rarity 25, miminum creation level 30)?
The first object created is guaranteed great, so there's a 1 in 10
chance that the game will attempt to create a special artifact. If
this succeeds, the Star of Elendil will be the first special artifact
attempted. The rarity check will be 1 in 25. The minimum depth check
calls for 1 in twice the difference in dungeon levels (2x(30-6)=48);
this 1 in 48 chance will have to be made twice. The Star of Elendil
will only be created if *all* checks are made; the chance of getting
this artifact is therefor equal to 1 in 10x25x48x48, or 1 in 576,000
(about 0.00017%).
Since Wormtongue has a drop of 1 or 2 objects, there is a 50% chance
that the game will decide to make a second object. This second object
will then have the same chance to become the Star of Elendil. This
boosts the total chance of getting Elendil to a whopping 0.00026%.
(End cut and paste from obj-good.spo)
Best, Hugo
--
Angband spoilers: http://ourworld.compuserve.com/homepages/hugo_kornelis/Angband/Spoiler/index.htm
Angband UI Patch: http://ourworld.compuserve.com/homepages/hugo_kornelis/Angband/UIpatch/index.htm
--