Bug and Questions about curses

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bron
    Knight
    • May 2008
    • 515

    Bug and Questions about curses

    Are curses supposed to be defendable ? For example, I'm wielding a object with the "it occasionally paralyzes you" curse. I also have Free Action. I occasionally gets a "your equipment grabs you!" message, but do not, in fact, get paralyzed. The question is, is that intended, i.e. the protection overcomes the curse? Or is the curse intended to overcome the protection ?

    In this vein, I have observed a bug: I am wielding am object with the "occasionally makes you hallucinate" curse. Not only do I never hallucinate, but it actually has the opposite effect of protecting me against hallucination. For example, if I eat a Mushroom of Emergency, I get healed, but no hallucinations. If I remove the "cursed" object, and then eat the mushroom, the hallucinations come on as expected. I attach a savefile demonstrating this.

    I'm still running v4.1.0
    Attached Files
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9634

    #2
    Originally posted by bron
    Are curses supposed to be defendable ? For example, I'm wielding a object with the "it occasionally paralyzes you" curse. I also have Free Action. I occasionally gets a "your equipment grabs you!" message, but do not, in fact, get paralyzed. The question is, is that intended, i.e. the protection overcomes the curse? Or is the curse intended to overcome the protection ?
    In this case, it's intended that the protection overcomes the curse - which is not to say that there might not be a case where it doesn't.

    Originally posted by bron
    In this vein, I have observed a bug: I am wielding am object with the "occasionally makes you hallucinate" curse. Not only do I never hallucinate, but it actually has the opposite effect of protecting me against hallucination. For example, if I eat a Mushroom of Emergency, I get healed, but no hallucinations. If I remove the "cursed" object, and then eat the mushroom, the hallucinations come on as expected. I attach a savefile demonstrating this.
    I couldn't actually test this, I'm afraid, as I need your randart file as well. It does look like a bug - although if that item also has RChaos, that would explain it. Although probably things with that curse and RChaos shouldn't be generated, so it's still a bug.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • bron
      Knight
      • May 2008
      • 515

      #3
      Originally posted by Nick
      if that item also has RChaos, that would explain it.
      Yes, the randart in question does indeed have RChaos.

      So RChaos protects against hallucination from other sources as well?? I never knew that. I'm not complaining mind you, but it seems a bit inconsistent. For example, RSound protects you against Stunning due to sound attacks, but not Stunning due to other reasons.

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9634

        #4
        Originally posted by bron
        So RChaos protects against hallucination from other sources as well?? I never knew that. I'm not complaining mind you, but it seems a bit inconsistent. For example, RSound protects you against Stunning due to sound attacks, but not Stunning due to other reasons.
        IIRC RSound used to protect against any breath/spell stunning, until pStun was introduced. So I guess we could introduce a protection against hallucination and split it out from RChaos in the same way, but I think it would probably make both of them a bit too weak. Still, it's probably worth keeping in mind as a possibility.
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • bron
          Knight
          • May 2008
          • 515

          #5
          Originally posted by Nick
          it's intended that the protection overcomes the curse
          Thanks, Nick. That's very good to know. In particular, it turns the "paralysis" curse into almost a no-op, rather than certain death. Which is what I thought, but it's good to be sure.

          So I guess the only (minor) issue here is that you probably shouldn't generate a randart that has both "hallucination curse" and RChaos.

          Comment

          • Nick
            Vanilla maintainer
            • Apr 2007
            • 9634

            #6
            Originally posted by bron
            So I guess the only (minor) issue here is that you probably shouldn't generate a randart that has both "hallucination curse" and RChaos.
            Correct, and I have a fix for that in development.
            One for the Dark Lord on his dark throne
            In the Land of Mordor where the Shadows lie.

            Comment

            • PowerWyrm
              Prophet
              • Apr 2008
              • 2986

              #7
              Here are more redundant or conflicting cases:
              - teleportation curse on an item with OF_NO_TELEPORT
              - impair mana recovery curse on an item with OF_IMPAIR_MANA
              - impair hitpoint recovery curse on an item with OF_IMPAIR_HP
              - cowardice curse on an item with OF_AFRAID
              - anti-teleportation curse on an item with OF_NO_TELEPORT
              PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

              Comment

              • Pete Mack
                Prophet
                • Apr 2007
                • 6883

                #8
                Also electric immunity with Steelskin, etc.

                Comment

                Working...
                😀
                😂
                🥰
                😘
                🤢
                😎
                😞
                😡
                👍
                👎