Make vrocks emit a poison cloud when they flee

This commit is contained in:
Pasi Kallinen
2021-12-25 10:47:20 +02:00
parent 6c0bc4fe25
commit 4b525374d0
4 changed files with 10 additions and 2 deletions

View File

@@ -29,7 +29,8 @@
#define resists_ston(mon) \
((mon_resistancebits(mon) & MR_STONE) != 0)
#define immune_poisongas(ptr) ((ptr) == &mons[PM_HEZROU])
#define immune_poisongas(ptr) ((ptr) == &mons[PM_HEZROU] \
|| (ptr) == &mons[PM_VROCK])
#define is_lminion(mon) \
(is_minion((mon)->data) && mon_aligntyp(mon) == A_LAWFUL)