Pyrolisk eggs explode when broken

This commit is contained in:
Pasi Kallinen
2024-06-02 10:50:58 +03:00
parent d8aa4c0b1f
commit 2bec685bae
6 changed files with 34 additions and 3 deletions

View File

@@ -1212,6 +1212,12 @@ hmon_hitmon_misc_obj(
obj->owt = weight(obj);
if (hmd->thrown)
place_object(obj, mon->mx, mon->my);
} else if (obj->corpsenm == PM_PYROLISK) {
useup_eggs(obj);
explode(mon->mx, mon->my, -11, d(3, 6), 0, EXPL_FIERY);
hmd->doreturn = TRUE;
hmd->retval = !DEADMONSTER(mon);
return;
} else {
pline("Splat!");
useup_eggs(obj);