summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-15 23:56:02 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-15 23:56:02 +0000
commit83b417f2fc902edcfea7cc5726c856af7a611dbb (patch)
tree40123899ccb3d3ac8766982df98f6bef7e25f6e5
parent6c1c71a64485cb196aaa21082d04246bfe922466 (diff)
downloadcrawl-ref-83b417f2fc902edcfea7cc5726c856af7a611dbb.tar.gz
crawl-ref-83b417f2fc902edcfea7cc5726c856af7a611dbb.zip
Fix messages for expiring divine robustness and disappearing divine
shields. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5069 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/spells1.cc4
-rw-r--r--crawl-ref/source/spells4.cc2
2 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 38730a9477..110d66cca5 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -791,7 +791,7 @@ void reduce_vitalisation_chain(int amount)
void remove_divine_robustness()
{
- mpr("Your divine robustness is withdrawn.");
+ mpr("Your divine robustness fades.", MSGCH_DURATION);
you.duration[DUR_DIVINE_ROBUSTNESS] = 0;
you.attribute[ATTR_DIVINE_ROBUSTNESS] = 0;
calc_hp();
@@ -903,6 +903,7 @@ int cast_vitalisation(int pow)
(step == 3) ? "grants you" :
(step == 4) ? "strengthens your"
: "maximises your");
+
you.attribute[ATTR_DIVINE_ROBUSTNESS]++;
you.duration[DUR_DIVINE_ROBUSTNESS] +=
(step == 3) ? (you.skills[SK_INVOCATIONS] * 2) :
@@ -1010,6 +1011,7 @@ int cast_vitalisation(int pow)
(step == 3) ? "grants you" :
(step == 4) ? "strengthens your"
: "maximises your");
+
you.attribute[ATTR_DIVINE_STAMINA]++;
you.duration[DUR_DIVINE_STAMINA] +=
(step == 3) ? (you.skills[SK_INVOCATIONS] * 2) :
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 9860f45ecf..69d1ec0a97 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -2682,7 +2682,7 @@ void cast_condensation_shield(int pow)
void remove_divine_shield()
{
- mpr("Your divine shield disappears!");
+ mpr("Your divine shield disappears!", MSGCH_DURATION);
you.duration[DUR_DIVINE_SHIELD] = 0;
you.attribute[ATTR_DIVINE_SHIELD] = 0;
you.redraw_armour_class = true;