yogstation13 / Yogstation

Discord: https://discord.gg/yogs13 Forums: https://forums.yogstation.net
GNU Affero General Public License v3.0
128 stars 447 forks source link

Fixes jungleland mobs dying to toxic water + deep toxic not being stronger #22212

Closed Moltijoe closed 1 week ago

Moltijoe commented 1 week ago

I just copied from old code, apparently it never checked for WEATHER_ACID immunity but it also never checked anything other than a human so they were immune, not because of their immunity, but because they weren't even being looked at in the first place

this also meant that if a human got acid weather immunity, they'd still be affected anyway

also, i removed an unintentional part of deep toxic water being significantly more dangerous

Testing

image

:cl:
bugfix: Fixes jungleland mobs not being immune to toxic water bugfix: Fixes deep toxic water not being more dangerous bugfix: Fixes jungleland plant people not being immune to toxic water like intended bugfix: Fixes objects being unaffected by the toxic water acid (cardboard boxes) /:cl:

AMyriad commented 1 week ago

thank god finally image