Monster fear

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jungle_Boy
    Swordsman
    • Nov 2008
    • 428

    Monster fear

    Were ny changes made to monster fear recently? It seems when monsters get afraid they stay afraid longer now. Specifically I noticed this with an Umber Hulk and Adunaphel the Quiet. I literally chased that umber hulk in multiple complete circles of the entire level and he never stopped being afraid. Adunaphel I got down to one or two stars and he got afraid and hid in the rock and never came out again while I cleared the whole level. He was at 7 stars when I gave up and left but he was still showing as afraid. This is in the August 15th nightly
    My first winner: http://angband.oook.cz/ladder-show.php?id=10138
  • Magnate
    Angband Devteam member
    • May 2007
    • 4916

    #2
    Originally posted by Jungle_Boy
    Were ny changes made to monster fear recently? It seems when monsters get afraid they stay afraid longer now. Specifically I noticed this with an Umber Hulk and Adunaphel the Quiet. I literally chased that umber hulk in multiple complete circles of the entire level and he never stopped being afraid. Adunaphel I got down to one or two stars and he got afraid and hid in the rock and never came out again while I cleared the whole level. He was at 7 stars when I gave up and left but he was still showing as afraid. This is in the August 15th nightly
    Thanks for the report - I don't think this was a conscious change, but may be a side effect of some refactoring of the mon_timed code.
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • Nomad
      Knight
      • Sep 2010
      • 951

      #3
      I've just encountered this same issue, also with an Umber hulk. Not sure it happens every time, but I was able to replicate the effect by zapping another hulk with a wand of scare monster.

      Comment

      • Magnate
        Angband Devteam member
        • May 2007
        • 4916

        #4
        Originally posted by Nomad
        I've just encountered this same issue, also with an Umber hulk. Not sure it happens every time, but I was able to replicate the effect by zapping another hulk with a wand of scare monster.
        I find it hard to believe that it's specific to umber hulks (though that wouldn't be the strangest quirk in the code). Let's see if it be replicated on orcs or trolls or whatever.
        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

        Comment

        • Nomad
          Knight
          • Sep 2010
          • 951

          #5
          Originally posted by Magnate
          I find it hard to believe that it's specific to umber hulks (though that wouldn't be the strangest quirk in the code). Let's see if it be replicated on orcs or trolls or whatever.
          I think the hulks are just the most visible because you can't trap them in a corner and kill them. After zapping a few random monsters I came across, it does affect others, but it seems to be intermittent: a Forest troll recovered as normal, but a Vampire lord stayed afraid even after I rested 9999 turns; 9-headed hydra stayed afraid, Stegocentipede recovered.

          Comment

          • Timo Pietilä
            Prophet
            • Apr 2007
            • 3964

            #6
            Originally posted by Nomad
            I think the hulks are just the most visible because you can't trap them in a corner and kill them. After zapping a few random monsters I came across, it does affect others, but it seems to be intermittent: a Forest troll recovered as normal, but a Vampire lord stayed afraid even after I rested 9999 turns; 9-headed hydra stayed afraid, Stegocentipede recovered.
            Sounds like higher the level they are afraid longer. Kind of opposite that it should be. Some logic error somewhere?

            Comment

            • CunningGabe
              Adept
              • Feb 2008
              • 247

              #7
              I think I see the problem -- I had put in a check to prevent overflow, but ended up in most cases setting the fear or whichever effect to its maximum amount instead. I'll push a fix shortly!

              EDIT: by the way, the weirdness of which monsters recovered probably has to do with the fact that if a monster is afraid and it has no valid moves, then it becomes unafraid.

              Comment

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