corruption_blocked.xml

<statusEffects>
  <statusEffect>
    <name>Corruption (blocked)</name>
    <key>corruption_blocked</key>
    <type>Debuff</type>
    <icon>status_corruption</icon>
    <description>
      You are protected from corruption.
    </description>
    <hasTurns>false</hasTurns>
    <triggers>
      <triggers>
        KEY corruption_blocked_remove_1;
        WHEN DungeonEntered;
        AND NOT RoomIs -> key:gremlin_king_boss;
        THEN RemoveStatusEffect -> key:«LINK:corruption_blocked», target:player;
      </triggers>
      <triggers>
        KEY corruption_blocked_remove_2;
        WHEN OverworldEntered;
        THEN RemoveStatusEffect -> key:«LINK:corruption_blocked», target:player;
      </triggers>
      <triggers>
        KEY corruption_blocked_remove_3;
        WHEN PlayerUnEquipsItem;
        AND NOT HasStat -> key:IsCorruptionAuraImmune;
        THEN RemoveStatusEffect -> key:«LINK:corruption_blocked», target:player;
        THEN ApplyStatusEffect -> key:«LINK:corruption», target:player;
      </triggers>
    </triggers>
  </statusEffect>
</statusEffects>