diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 981e6298f8..d7f8d89bfb 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -3534,8 +3534,8 @@ int monsters::shield_bonus() const if (incapacitated()) return (0); - const int shld_c = property(*shld, PARM_AC); - return (random2(1 + shld_c) + random2(hit_dice / 2)); + int shld_c = property(*shld, PARM_AC); + return (random2avg(shld_c + hit_dice * 2 / 3, 2)); } return (-100); } |