summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/beam.cc5
-rw-r--r--crawl-ref/source/mon-data.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 7063ee21a4..484e0926c5 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3798,8 +3798,11 @@ static int affect_monster_enchantment(struct bolt &beam, struct monsters *mon)
mpr( info, MSGCH_DIAGNOSTICS );
#endif
- if (mon->hit_dice * 4 >= random2(beam.ench_power))
+ if (mon->hit_dice * 7 >= random2(beam.ench_power)
+ || mons_is_unique(mon->type))
+ {
return (MON_RESIST);
+ }
simple_monster_message(mon, " is enslaved.");
beam.obvious_effect = true;
diff --git a/crawl-ref/source/mon-data.h b/crawl-ref/source/mon-data.h
index 1f1b0a1409..79f63c0807 100644
--- a/crawl-ref/source/mon-data.h
+++ b/crawl-ref/source/mon-data.h
@@ -3855,7 +3855,7 @@
{
MONS_ORB_OF_FIRE, '*', RED, "orb of fire",
M_SPELLCASTER | M_FLIES | M_SEE_INVIS,
- MR_RES_ELEC | MR_RES_FIRE | MR_RES_COLD | MR_RES_POISON,
+ MR_RES_ELEC | MR_RES_FIRE | MR_RES_HELLFIRE | MR_RES_COLD | MR_RES_POISON,
0, 10, MONS_ORB_OF_FIRE, MONS_ORB_OF_FIRE, MH_NONLIVING, MAG_IMMUNE,
{ {AT_NONE, AF_PLAIN, 0}, {AT_NONE, AF_PLAIN, 0}, {AT_NONE, AF_PLAIN, 0}, {AT_NONE, AF_PLAIN, 0} },
{ 30, 0, 0, 150 },