FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.72k stars 400 forks source link

No interval in applying buffs causes massive medical skill gain (foods and drinks) #14404

Open Regalis11 opened 1 month ago

Regalis11 commented 1 month ago

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14379

Originally posted by **ubertpendragon** July 31, 2024 ### Disclaimers - [X] I have searched the issue tracker to check if the issue has already been reported. - [X] My issue happened while using mods. ### What happened? When applying buffs using a statuseffect with no interval (per frame), it's possible to get massive amounts of skill. Example: Vanilla energy drink (applies at 0 condition)) vs Hungry Europans energy drink (no interval) vs Hungry Europans cola (with interval) https://github.com/user-attachments/assets/d088724b-3ca3-4ebd-bc17-fc204d0e07cf Modded Energy drink xml Uses a shootable, meaning you must hold RMB+LMB to drink ```xml ``` ### Reproduction steps 1. Download Dynamic Europa (has the foods and drinks) 2. Drink a can of energy drink ### Bug prevalence Just once ### Single player or multiplayer? Single player ### - _No response_ ### Version v1.5.9.1 (Summer Update Hotfix 2) ### - _No response_ ### Which operating system did you encounter this bug on? Windows ### Relevant error messages and crash reports _No response_
Regalis11 commented 1 month ago

Fixed in https://github.com/FakeFishGames/Barotrauma-development/commit/8c1be8b1cfc4f5715dff33f2435c566e6000c3cf