Drugs Don't Work

Curated user bug reports with enough information to reproduce problem. Moderators will move topics here from Help & Support once a bug has been confirmed and enough information has been provided.
Post Reply
User avatar
Magicono43
Posts: 630
Joined: Tue Nov 06, 2018 7:06 am

Drugs Don't Work

Post by Magicono43 »

Simple as the title, the 4 drug items don't actually put on their intended incumbent effects when used. The reason for this appears to be a simple mathematical error.
When trying to use drug items without fixed math value
When trying to use drug items without fixed math value
Capture.JPG (26.77 KiB) Viewed 82 times
The underlined value is currently 66 in the current fork, if you change to 58 the drug effects work
The underlined value is currently 66 in the current fork, if you change to 58 the drug effects work
Capture1.JPG (59.23 KiB) Viewed 82 times
As the second image says, the drug items will properly apply their poison effects if you turn the 66 value to 58, because at 66 the key value goes outside the range of the enum values and gets no valid effect key.

User avatar
Interkarma
Posts: 6131
Joined: Sun Mar 22, 2015 1:51 am

Re: Drugs Don't Work

Post by Interkarma »

Thanks for information. I now also have the Verve song stuck in my head. :)

I'll move this to bug reports and take a look to confirm later. Cheers!

User avatar
Magicono43
Posts: 630
Joined: Tue Nov 06, 2018 7:06 am

Re: Drugs Don't Work

Post by Magicono43 »

Interkarma wrote: Sun Feb 14, 2021 9:56 pm Thanks for information. I now also have the Verve song stuck in my head. :)

I'll move this to bug reports and take a look to confirm later. Cheers!
No problem. If you test it yourself, just make sure to setlevel to something higher than one or you might be confused from the level 1 protection, lol.

Post Reply