From b7dee52a419fd5470a063b2e34b3d2bfb7a04e5f Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Sun, 4 Oct 2009 18:15:56 +0200 Subject: Amulet of guardian spirit, it comes as an amulet or a cap. When worn, all non-poison damage will drain mana instead, hurting hp only after mana is depleted. The cap brand is intended only for a fixedart, but per dpeg's request, it will be generated on ordinary caps for now, as a test. --- crawl-ref/source/output.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/output.cc') diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index da8a9fc8da..ea936a3c29 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -2108,6 +2108,7 @@ static std::vector _get_overview_resistances( const int rlife = player_prot_life(calc_unid); const int rpois = player_res_poison(calc_unid); const int relec = player_res_electricity(calc_unid); + const int rspir = player_spirit_shield(calc_unid); const int rsust = player_sust_abil(calc_unid); const int rmuta = (wearing_amulet(AMU_RESIST_MUTATION, calc_unid) || player_mutation_level(MUT_MUTATION_RESISTANCE) == 3 @@ -2120,7 +2121,7 @@ static std::vector _get_overview_resistances( "%sLife Prot.: %s\n" "%sRes.Poison: %s\n" "%sRes.Elec. : %s\n" - "\n" + "%sSpirit.Shd: %s\n" "%sSust.Abil.: %s\n" "%sRes.Mut. : %s\n" "%sRes.Slow : %s\n", @@ -2129,6 +2130,7 @@ static std::vector _get_overview_resistances( _determine_colour_string(rlife, 3), itosym3(rlife), _determine_colour_string(rpois, 1), itosym1(rpois), _determine_colour_string(relec, 1), itosym1(relec), + _determine_colour_string(rspir, 1), itosym1(rspir), _determine_colour_string(rsust, 1), itosym1(rsust), _determine_colour_string(rmuta, 1), itosym1(rmuta), _determine_colour_string(rslow, 1), itosym1(rslow)); -- cgit v1.2.3-54-g00ecf