morerokk / IreNFist

A continuation/fix of the IreNFist mod for PAYDAY 2
MIT License
4 stars 2 forks source link

AI is able to use Inspire to uncuff the player(?) #62

Closed ghost closed 3 years ago

ghost commented 3 years ago

I got cuffed by a Murky while interacting and got uncuffed by Scarface through Inspire. This also triggered the Inspire cooldown for AIs.

I'm actually not sure if this is possible in vanilla in Crime Spree mode where you get cuffed by a Cloaker. Regardless, can you clarify and look into it? Thanks.

morerokk commented 3 years ago

This happens with normal cuffing in vanilla too, it's just incredibly rare. I'll change this, or at least try to. Thanks!

ghost commented 3 years ago

A bit irrelevant, but apparently, the cuff works even if the host doesn't have the mod; Was this intentional?

morerokk commented 3 years ago

This was intentional yes, it's also the only way I was able to get this working properly on the clientside. I could build in a little "does host have InF check" if you really want to.

ghost commented 3 years ago

Nah, I just wanted some clarification.

morerokk commented 3 years ago

I looked into this, but the AI inspire code is a hot mess. It's not worth fixing as this would break compatibility with quite a few different mods.