X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=rip.c;h=5c5accde8157cd90c07f4031a5a469d00acfccbf;hp=43240e10ec942898a3d261627d1859d2a8169ce9;hb=167796e68e373813c676765504ada731ebd36913;hpb=7b22b2ac9aec39574258cabfc45fb426ff7254f4 diff --git a/rip.c b/rip.c index 43240e1..5c5accd 100644 --- a/rip.c +++ b/rip.c @@ -389,6 +389,12 @@ char monster; } mvprintw(c - 'a' + 1, 0," %5d Gold Peices ", oldpurse); refresh(); + if (monster) + { + purse += 10 * monsters[monster - 'A'].m_stats.s_exp; + mvprintw(c - 'a' + 1, 0, "and one cute %s (priceless)", + monsters[monster - 'A'].m_name); + } score(purse, flags, monster); getch(); endwin();