Defilers no longer cast hellfire
authorMartin Read <martin@blackswordsonics.com>
Thu, 13 Feb 2014 17:19:15 +0000 (17:19 +0000)
committerMartin Read <martin@blackswordsonics.com>
Thu, 13 Feb 2014 17:19:15 +0000 (17:19 +0000)
Hellfire is not thematically appropriate for a decay-themed demon, so
defilers no longer cast this spell.

sorcery.cc

index e25f62b..badc1ae 100644 (file)
@@ -299,8 +299,10 @@ int mon_use_sorcery(int mon)
     case PM_DEFILER:
         if (cansee)
         {
-            if (!meleerange)
+            if (!meleerange || !zero_die(3))
             {
+                // 1-in-7 chance of cursing you when in melee range
+                // 3-in-7 chance when out of melee range
                 switch (zero_die(7))
                 {
                 case 6:
@@ -324,7 +326,7 @@ int mon_use_sorcery(int mon)
                     }
                     /* fall through */
                 default:
-                    to_cast = MS_FIRE_COLUMN;
+                    to_cast = MS_REJECT;
                     break;
                 }
             }