mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-15 03:27:46 +00:00
* Fixes an edge case where you can get incurable plasma damage, & fixes healing sources that don't have biotype restrictions not working if the mob doesn't have the MOB_ORGANIC biotype (#73017) ## About The Pull Request Fixes #72962 The plasma river applies toxins damage to a mob as it transforms individual limbs into plasmaman ones. Once all limbs have been transformed, the mob's species changes to plasmaman. This currently leads to incurable toxin damage as antitoxin drugs do not work on plasmamen. Made it so that upon transforming fully, the toxin damage is cleared. Also fixed an issue where healing sources that do not have a required_biotype parameter (e.g. `adjustToxLoss(-5)` vs `adjustToxLoss(-5, required biotype=whatever)`) will not work on mobs that do not have the `MOB_ORGANIC` biotype (e.g. plasmamen) due to it defaulting to `MOB_ORGANIC`. For now those use the `forced` param to accomplish this. ## Why It's Good For The Game Incurable damage is no good. ## Changelog 🆑 fix: fixed getting incurable tox damage when fully transformed into a plasmaman via plasma rivers fix: fixed rod of asclepius/medibeam etc not being able to heal tox damage despite not having biotype restrictions /🆑 * Fixes an edge case where you can get incurable plasma damage, & fixes healing sources that don't have biotype restrictions not working if the mob doesn't have the MOB_ORGANIC biotype --------- Co-authored-by: Bloop <vinylspiders@gmail.com>