I'm trying to redo do_show to display saving throws for PC. If it's easier to redo do_stat I'm open to that as well.
Do_stat has spaces for the values, however when I stat a PC it always returns a value of 0 but stating an NPC returns the value of the saving throw set in medit.
In do_show I've added the following lines:
send_to_char(ch, "Para: %d\r\n", saving_throws(GET_CLASS(ch), 0, GET_LEVEL(ch)));
send_to_char(ch, "Rod: %d\r\n", GET_SAVE(ch, SAVING_ROD));
I tried the variant for Para in an attempt to get the actual value to display when using the show player command.
In both cases the value shows as 0, although the table in class.c indicates that there should be a value.
When I type show player I have the spaces for the saving throw but not the value:
show player testmage
Player: Testmage (female) [15 Ma El]
Au: 514 Bal: 500 Exp: 1875000 Align: 89 Lessons: 96
Started: Sat Mar 10 13:41:54 2018 Last: Sun Apr 08 19:19:35 2018
Played: 4h 18m
Para: 0
Rod: 0
Petri: 0
Breath: 0
Spell: 0
What do I need to modify in order to display the actual value of a saving throw for a PC when I use that stat command or the show player command?
Nibiru