Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old January 23, 2010, 04:35   #1
Malatar
Rookie
 
Join Date: Dec 2009
Posts: 23
Malatar is on a distinguished road
Increasing number of Randarts

Is there an edit file or some similar way to easily increase the number of random artifacts?

I think I'd like it if there were about 50% more, and if someone could tell me if there were a constant setting or something similar I could modify, I would greatly appreciate it...

Power level doesn't really matter. I'm just tired of so many randarts that are otherwise interesting having "aggravate" on them...
Malatar is offline   Reply With Quote
Old January 23, 2010, 08:00   #2
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
The randarts are tied to the standarts, so you might be able to add artifacts to lib/edit/artifact.txt and get the result that you want. I'm not sure. You'd have to worry about getting the balance right, since the power of derived objects corresponds to the power of the standarts, or at least it used to.

If you compile the code yourself, it is not too hard to disable aggravation. Just one line somewhere. I think if you change

if (p_ptr->state.aggravate)

to

if (0)

in src/monster/melee2.c then aggravation will have no effect.


It would be better to muck with the randart code, but I never understood the randart code well enough to know whether changing it would produce unwanted side effects.
PowerDiver is offline   Reply With Quote
Old January 23, 2010, 08:13   #3
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Malatar View Post
Is there an edit file or some similar way to easily increase the number of random artifacts?

I think I'd like it if there were about 50% more, and if someone could tell me if there were a constant setting or something similar I could modify, I would greatly appreciate it...

Power level doesn't really matter. I'm just tired of so many randarts that are otherwise interesting having "aggravate" on them...
What version are you playing? The number of randarts with aggravation was dramatically reduced in 3.1.1

If that's still too many for you, you can either edit the source code (line 2681 of randart.c is the only one you need to change), or add more artifacts to artifact.txt to generate more randarts. Make sure you increase the number of artifacts in limits.txt too.
Magnate is offline   Reply With Quote
Old January 23, 2010, 09:12   #4
Malatar
Rookie
 
Join Date: Dec 2009
Posts: 23
Malatar is on a distinguished road
Thanks for the very helpful replies. I'm playing the newest one in the nightlies. (r1903 I believe)

The last three times (in three different games) I've found one of the randart versions of the Elven rings, they all had aggravation on them. It could just be bad luck, of course...

I'll try copying and pasting a few of the artifacts in artifact.txt and then increasing the limit...

Perhaps the randart function should just take a three numbers for the input. # of small, medium, and large powered artifacts. Plus the light sources, One Ring, etc. Of course in that case you'd have the problem of not getting enough rings or other specific type of items... It's an interesting balance problem, indeed.

I appreciate the help!
Malatar is offline   Reply With Quote
Old January 23, 2010, 11:32   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Malatar View Post
The last three times (in three different games) I've found one of the randart versions of the Elven rings, they all had aggravation on them. It could just be bad luck, of course...
It is. I have generated dozens of sets of randarts since cutting down the number of aggravators, and I've paid special attention to the elven rings. Fewer than one in three should aggravate now - more like one in five. To find three consecutive aggravating elven rings is pretty unfortunate.
Magnate is offline   Reply With Quote
Old January 23, 2010, 16:47   #6
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,024
Derakon is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Fewer than one in three should aggravate now - more like one in five. To find three consecutive aggravating elven rings is pretty unfortunate.
I've long since lost count of the number of times that something unlikely has happened multiple times in a row to me in Angband.

.2^3 is only .008, or 1 in 125. Not hugely likely, I'll grant, but such odds seem to happen downright regularly with Angband's RNG.
Derakon is offline   Reply With Quote
Old January 23, 2010, 17:55   #7
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Derakon View Post
I've long since lost count of the number of times that something unlikely has happened multiple times in a row to me in Angband.

.2^3 is only .008, or 1 in 125. Not hugely likely, I'll grant, but such odds seem to happen downright regularly with Angband's RNG.
Indeed. Some people think that randarts should never aggravate, for precisely this reason. I am not one of them. When curses are reworked, annoying binary aggravate will go away. Until then, it stays on randarts just like it stays on standard artifacts.
Magnate is offline   Reply With Quote
Old January 23, 2010, 19:10   #8
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by Magnate View Post
It is. I have generated dozens of sets of randarts since cutting down the number of aggravators, and I've paid special attention to the elven rings. Fewer than one in three should aggravate now - more like one in five. To find three consecutive aggravating elven rings is pretty unfortunate.
So 3 elven rings * two games * 1/5 > 1, meaning I can expect an elven ring to aggravate every other game. No wonder I gave up on randarts due to excessive aggravation.
PowerDiver is offline   Reply With Quote
Old January 23, 2010, 19:50   #9
Malatar
Rookie
 
Join Date: Dec 2009
Posts: 23
Malatar is on a distinguished road
It's worse than that actually. At .2 probability (1/5), the odds for one or more of the 3 elven rings to have "aggravate" on them in just one game is .488, or just under 1 in 2.
Malatar is offline   Reply With Quote
Old January 23, 2010, 21:04   #10
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by PowerDiver View Post
So 3 elven rings * two games * 1/5 > 1, meaning I can expect an elven ring to aggravate every other game. No wonder I gave up on randarts due to excessive aggravation.
Ok folks, don't quote me on the one in five.
Magnate is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Randarts dhegler Vanilla 30 November 5, 2009 22:51
feature request - spellbook number OPTION PowerDiver Vanilla 18 July 18, 2009 18:16
Number and arrow keys Nick Vanilla 3 December 6, 2008 21:58
Where to find all the number-key maps Dawnmist Vanilla 6 March 24, 2008 19:47
Steam - What is that number after my damage dice? ekolis Variants 2 December 31, 2007 02:51


All times are GMT +1. The time now is 00:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.