diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-15 23:56:02 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-15 23:56:02 +0000 |
commit | 83b417f2fc902edcfea7cc5726c856af7a611dbb (patch) | |
tree | 40123899ccb3d3ac8766982df98f6bef7e25f6e5 | |
parent | 6c1c71a64485cb196aaa21082d04246bfe922466 (diff) | |
download | crawl-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.cc | 4 | ||||
-rw-r--r-- | crawl-ref/source/spells4.cc | 2 |
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; |