Skip to content

Make hazmat protection block IC2 radiation and electricity damage - #7937

Open
Eldrinn-Elantey wants to merge 2 commits into
masterfrom
fix-ic2-hazard-damage-hazmat
Open

Make hazmat protection block IC2 radiation and electricity damage#7937
Eldrinn-Elantey wants to merge 2 commits into
masterfrom
fix-ic2-hazard-damage-hazmat

Conversation

@Eldrinn-Elantey

@Eldrinn-Elantey Eldrinn-Elantey commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

IC2 deals radiation damage from an overheated nuclear reactor and electricity damage with sources flagged as bypassing armor, absorbed only by ISpecialArmor on IC2's own hazmat suit. Anything else providing hazard protection, the Hazmat augment on mechanical armor or the Hazmat enchantment, never got a chance to stop it.

A LivingAttackEvent handler now cancels those two damage sources when HazardProtection reports full protection against the matching hazard. Fire and lava are left alone, they belong to the Fire Immunity augment.

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

@Eldrinn-Elantey
Eldrinn-Elantey requested a review from a team September 4, 2026 13:21
@Eldrinn-Elantey Eldrinn-Elantey added the Bug Fix Fixes a bug. Please link it in the PR if an issue exists for it. label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Fix Fixes a bug. Please link it in the PR if an issue exists for it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants