Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 9, 2013, 16:01   #1
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,577
PowerWyrm is on a distinguished road
[3.5-dev] Pval strangeness: amulet of devotion

If you are aware of the flavor, an unidentified amulet of devotion will appear as "an amulet of devotion" if the hidden WIS bonus is +1. Otherwise, it will appear as "an amulet of devotion <+1>".

Looking at the code, pval is "visible" for jewelry if flavor is aware and pval is non-variable. In the case of amulet of devotion, a WIS bonus of +1 leads to one variable pval which is not displayed. This is correct. If the WIS bonus is not +1, two pvals are attached to the amulet: the first one for WIS (variable), the second one for +1 light radius (non-variable). So the second pval is displayed, which doesn't feel right... even more when you (I)nspect the amulet, which tells you that it affects wisdom, but doesn't tell anything about light.

To make things consistent (see describe_stats in obj-info which doesn't take into account OF_LIGHT), fixed pval with only OF_LIGHT should not be visible until the item is either identified or worn.

Same problem is occuring with rings of light.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old October 9, 2013, 16:06   #2
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,577
PowerWyrm is on a distinguished road
Filed as #1789.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm 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
Possible use of amulet of adornment emulord Vanilla 2 August 20, 2013 02:18
[3.3] Potential crash with multiple pval system PowerWyrm Vanilla 6 October 7, 2011 11:11
Pval oddness Faust Development 2 April 20, 2011 20:58
Squelch Amulet of Amulet? Ring of Ring? onigame Vanilla 6 March 15, 2011 19:52
Amulet of Inertia? Rizwan Vanilla 11 June 8, 2010 07:59


All times are GMT +1. The time now is 02:36.


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