![]() |
#1 |
Swordsman
Join Date: May 2008
Location: Saratoga, California (in the midst of Silicon Valley)
Posts: 485
![]() |
Tiny Display bug with 4.2
I'm playing in the current competition, and I notice something odd: my Priest character has cast Heroism, and this does show correctly in the status line at the bottom of the normal play screen, but in the character status screen where the resists (etc.) are shown, it does NOT have the expected '!' in the '@' slot of the 'pFear' line.
|
![]() |
![]() |
![]() |
#2 | |
Prophet
Join Date: Apr 2008
Posts: 2,672
![]() |
Quote:
__________________
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! |
|
![]() |
![]() |
![]() |
#3 |
Swordsman
Join Date: May 2008
Location: Saratoga, California (in the midst of Silicon Valley)
Posts: 485
![]() |
Humm .. if true, then the bug is in the documentation - the description of the Priestly "Heroism" spell says that it provides resistance to fear. I will say that my character has not been made afraid ever since I started running with Heroism on all the time, so it certainly *seems* like I'm getting pFear. OTOH, the character has a high saving throw (as of now, it's 100%, although it wasn't earlier), so maybe I just got really lucky (?)
|
![]() |
![]() |
![]() |
#4 |
Adept
Join Date: Oct 2016
Location: Finland
Posts: 192
![]() |
Does pFear show after you've reached CL 20?
|
![]() |
![]() |
![]() |
#5 |
Swordsman
Join Date: May 2008
Location: Saratoga, California (in the midst of Silicon Valley)
Posts: 485
![]() |
The character is CL41 at the moment, and there is no indication on the character status screen (as shown, e.g. in the char dump for Morin in competition 223). The "Browse" description of the Prayer is still the same, and the "Hero" indication is shown on the bottom of the main play screen.
|
![]() |
![]() |
![]() |
#6 |
Swordsman
Join Date: May 2008
Location: Saratoga, California (in the midst of Silicon Valley)
Posts: 485
![]() |
Looking at calc_bonuses in player-calcs.c I see that both heroism (HERO) and berserk (SHERO) *do* set the PROT_FEAR flag. So it kinda looks like the original post was correct and this is just a (very minor) issue with the character status display.
|
![]() |
![]() |
![]() |
#7 |
Swordsman
Join Date: May 2008
Location: Saratoga, California (in the midst of Silicon Valley)
Posts: 485
![]() |
So .. I'm no expert on the Angband code, but a quick look at it makes me think the problem is that in calc_bonuses, both p->timed[TMD_HERO] and p->timed[TMD_SHERO] set OF_PROT_FEAR directly, but display_resistance_panel in ui-player.c appears to use player->timed[TMD_BOLD] when figuring out whether or not to display the '!'
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[3.5.1] display bug? | Bogatyr | Vanilla | 2 | February 1, 2015 22:14 |
v3.5 tiny quiver bug | MattB | Vanilla | 0 | May 1, 2014 15:05 |
[3.5 dev] Tiny bug in dev 581 (permanent scrolls!) | Ingwe Ingweron | Vanilla | 8 | October 15, 2013 06:21 |
tiny little unimportant DJA bug that's been bugging me | will_asher | Development | 7 | November 30, 2009 20:21 |
Tiny 3.1 bug | Zikke | Vanilla | 1 | January 8, 2009 22:41 |