diff options
-rw-r--r-- | crawl-ref/source/monstuff.cc | 15 | ||||
-rw-r--r-- | crawl-ref/source/mutation.cc | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 47845a0c19..446c4f119b 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -5300,6 +5300,9 @@ bool mons_avoids_cloud(const monsters *monster, cloud_type cl_type, if (extra_careful) return (true); + if (mons_intel(monster) >= I_ANIMAL && mons_res_fire(monster) < 0) + return (true); + if (monster->hit_points >= 15 + random2avg(46, 5)) return (false); break; @@ -5307,10 +5310,16 @@ bool mons_avoids_cloud(const monsters *monster, cloud_type cl_type, case CLOUD_STINK: if (mons_res_poison(monster) > 0) return (false); + if (extra_careful) return (true); + + if (mons_intel(monster) >= I_ANIMAL && mons_res_poison(monster) < 0) + return (true); + if (x_chance_in_y(monster->hit_dice - 1, 5)) return (false); + if (monster->hit_points >= random2avg(19, 2)) return (false); break; @@ -5322,6 +5331,9 @@ bool mons_avoids_cloud(const monsters *monster, cloud_type cl_type, if (extra_careful) return (true); + if (mons_intel(monster) >= I_ANIMAL && mons_res_cold(monster) < 0) + return (true); + if (monster->hit_points >= 15 + random2avg(46, 5)) return (false); break; @@ -5333,6 +5345,9 @@ bool mons_avoids_cloud(const monsters *monster, cloud_type cl_type, if (extra_careful) return (true); + if (mons_intel(monster) >= I_ANIMAL && mons_res_poison(monster) < 0) + return (true); + if (monster->hit_points >= random2avg(37, 4)) return (false); break; diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index 4d9ea1e480..e9f0337dca 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -276,7 +276,7 @@ mutation_def mutation_defs[] = { "cold resistance" }, { MUT_SHOCK_RESISTANCE, 2, 1, false, false, - {"You are immune to electric shocks.", "", ""}, + {"You are resistant to electric shocks.", "", ""}, {"You feel insulated.", "", ""}, {"You feel conductive.", "", ""}, |