summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-31 14:40:31 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-31 14:40:31 +0000
commite02748aa46423607dd0710cf44efeb855bf3acb4 (patch)
treee1da0c5d886c82d6f5bdfa559006d5e5464751c7 /crawl-ref/source
parent7bb498ce91c021bc6ee5133b0330b6cb7fdda06d (diff)
downloadcrawl-ref-e02748aa46423607dd0710cf44efeb855bf3acb4.tar.gz
crawl-ref-e02748aa46423607dd0710cf44efeb855bf3acb4.zip
Fix monster durations for TSO's halo and "extended stay" blessing:
they're in tenths of a turn. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3983 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/mon-util.cc2
-rw-r--r--crawl-ref/source/religion.cc2
-rw-r--r--crawl-ref/source/spells3.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 71c2cc633c..bc381f03dc 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -4220,7 +4220,7 @@ void monsters::remove_enchantment_effect(const mon_enchant &me, bool quiet)
case ENCH_BACKLIGHT:
// monsters inside a halo don't lose backlight
if (mons_inside_halo(x, y))
- add_ench(mon_enchant(ENCH_BACKLIGHT, 0, KC_YOU, 1));
+ add_ench(mon_enchant(ENCH_BACKLIGHT, 0, KC_YOU, 10));
else if (!quiet)
{
if (player_monster_visible(this))
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index d758c5bcad..eeed2c156e 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -918,7 +918,7 @@ static bool tso_blessing_extend_stay(monsters *mon)
// that we have to delete the enchantment without removing the
// enchantment effect, in order to keep the monster from
// disappearing.
- if (abj.duration > 374)
+ if (abj.duration > 3749)
mon->del_ench(ENCH_ABJ, true, false);
else
mon->update_ench(abj);
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 23607a1a84..cb2046c459 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1045,7 +1045,7 @@ void manage_halo()
monsters *mon = &menv[monster];
if (!mon->has_ench(ENCH_BACKLIGHT))
- mon->add_ench(mon_enchant(ENCH_BACKLIGHT, 0, KC_YOU, 1));
+ mon->add_ench(mon_enchant(ENCH_BACKLIGHT, 0, KC_YOU, 10));
}
}
}