diff --git a/src/monster.cpp b/src/monster.cpp index 8fd559d401584..5026c65a2bea0 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -88,6 +88,8 @@ static const efftype_id effect_run( "run" ); static const efftype_id effect_stunned( "stunned" ); static const efftype_id effect_supercharged( "supercharged" ); static const efftype_id effect_tied( "tied" ); +static const efftype_id effect_venom_dmg( "venom_dmg" ); +static const efftype_id effect_venom_weaken( "venom_weaken" ); static const efftype_id effect_webbed( "webbed" ); static const itype_id itype_corpse( "corpse" ); @@ -1289,6 +1291,8 @@ bool monster::is_immune_effect( const efftype_id &effect ) const if( effect == effect_paralyzepoison || effect == effect_badpoison || + effect == effect_venom_dmg || + effect == effect_venom_weaken || effect == effect_poison ) { return !has_flag( MF_WARM ) || ( !made_of( material_id( "flesh" ) ) && !made_of( material_id( "iflesh" ) ) );