Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Vanilla (http://angband.oook.cz/forum/forumdisplay.php?f=3)
-   -   Is this a bug or by design? (http://angband.oook.cz/forum/showthread.php?t=8917)

Timo Pietilš May 12, 2018 11:38

Is this a bug or by design?
 
I just found weapon of *slay orc* in 4.1.2 and it gave me telepathy.

Looking at ego-item.txt it has RAND_RES_POWER and item like lothlorien has RAND_POWER. I guess RAND_RES_POWER should give random resistance/protection and not random ability?

Sky May 12, 2018 12:33

by design.

Timo Pietilš May 13, 2018 13:01

Quote:

Originally Posted by Sky (Post 129795)
by design.

How does that work? I was pretty sure it was a bug because I have seen (now) only two *slay* -items with abilities, and dozens of items with one of the basic four resist. There are more abilities than there are basic resists, so it should not be that much in favor of resists if the chance is flat.

Nick May 13, 2018 13:53

RAND_RES_POWER has 1 chance in 3 of giving an ability and 2 chances in 3 of giving a base resistance.

Timo Pietilš May 13, 2018 16:49

Quote:

Originally Posted by Nick (Post 129825)
RAND_RES_POWER has 1 chance in 3 of giving an ability and 2 chances in 3 of giving a base resistance.

Not as big difference as I expected, but I guess RNG just didn't like to give me any abilities after giving ESP. :-) It was nice for her to give the best one as first.


All times are GMT +1. The time now is 07:13.

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