corruption.xml

<statusEffects>
  <statusEffect>
    <name>Corruption</name>
    <key>corruption</key>
    <type>Debuff</type>
    <icon>status_corruption</icon>
    <isHidden>false</isHidden>
    <description>
      A vile miasma seeps into your being, corrupting flesh and spirit. You should not be here.
      [p]Deals 5 true damage a turn.
    </description>
    <hasTurns>false</hasTurns>
    <turnEffects>
      <turnEffects>
        THEN DealTrueDamage -> amount:5;
      </turnEffects>
    </turnEffects>
    <triggers>
      <triggers>
        KEY corruption_standard_remove_1;
        WHEN DungeonEntered;
        AND NOT RoomIs -> key:gremlin_king_boss;
        THEN RemoveStatusEffect -> key:«LINK:corruption», target:player;
      </triggers>
      <triggers>
        KEY corruption_standard_remove_2;
        WHEN OverworldEntered;
        THEN RemoveStatusEffect -> key:«LINK:corruption», target:player;
      </triggers>
      <triggers>
        KEY corruption_standard_remove_3;
        WHEN PlayerEquipsItem -> withEnchantment:awakening;
        THEN RemoveStatusEffect -> key:«LINK:corruption», target:player;
        THEN ApplyStatusEffect -> key:«LINK:corruption_blocked», target:player;
      </triggers>
    </triggers>
  </statusEffect>
</statusEffects>