Hezrou Stench and Necklace of Adaptation

Discussion in 'The Temple of Elemental Evil' started by Oryn, Apr 21, 2023.

Remove all ads!
  1. Oryn

    Oryn Member

    Joined:
    Jul 31, 2019
    Messages:
    1
    Likes Received:
    1
    Hmm so the code for Hezrou Stench (stench.py) seems to include the following lines checking for the Necklace of Adaptation, but I have a Necklace of Adaptation equipped on my character, but it does nothing to protect against Hezrou Stench. Does anyone know if this is a bug that can be fixed?

    elif has_necklace(critter):
    print critter, " unaffected"
    status = STATE_UNAFFECTED

    def has_necklace(critter):
    full = critter.item_worn_at(1)
    if full != OBJ_HANDLE_NULL and full.name == 6107:
    return 1
    return 0
     
    August likes this.
Our Host!