Comp 228

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Derakon
    Prophet
    • Dec 2009
    • 9022

    #16
    Originally posted by malcontent
    I also noticed that when I take fox form, my inventory window does not update to my new strength situation, so I need to do something on my screen to make it update (roguelike i, followed by ESC).
    Does ^R fix it? If so it's just a display update issue.

    Comment

    • DavidMedley
      Veteran
      • Oct 2019
      • 1004

      #17
      Did a little research into what "more effective against animals" means. It's definitely 50% more effective, but does that mean duration and duration only?

      from project-mon.c
      Code:
      if (context->charm && rf_has(context->mon->race->flags, RF_ANIMAL)) {
      		context->dam += context->dam / 2;
      	}
      Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9639

        #18
        Originally posted by DavidMedley
        Did a little research into what "more effective against animals" means. It's definitely 50% more effective, but does that mean duration and duration only?

        from project-mon.c
        Code:
        if (context->charm && rf_has(context->mon->race->flags, RF_ANIMAL)) {
        		context->dam += context->dam / 2;
        	}
        Yes, precisely.
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • DavidMedley
          Veteran
          • Oct 2019
          • 1004

          #19
          Great! While I'm on a roll, can someone verify my conclusions about Lightning Strike?

          The sound part of lightning strike causes stunning one time in three. Its duration is adjust_radius(context, 5 + randint1(10)). adjust_radius returns (amount + context->r) / (context->r + 1);

          So, at the center (radius=0) it lasts 5+1d10. And at the edge (radius=3) it lasts (8+1d10)/4. The difference between "strike" and "ball" appears to be purely cosmetic. The sound damage is likewise decreased by adjust_radius - a hair more damage than 1, 1/2, 1/3, 1/4th as you go from radius 0 to 3.

          The lighting damage seems very straightforward and has no status effects or radius.
          Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

          Comment

          • Nick
            Vanilla maintainer
            • Apr 2007
            • 9639

            #20
            Originally posted by DavidMedley
            Great! While I'm on a roll, can someone verify my conclusions about Lightning Strike?

            The sound part of lightning strike causes stunning one time in three. Its duration is adjust_radius(context, 5 + randint1(10)). adjust_radius returns (amount + context->r) / (context->r + 1);

            So, at the center (radius=0) it lasts 5+1d10. And at the edge (radius=3) it lasts (8+1d10)/4. The difference between "strike" and "ball" appears to be purely cosmetic. The sound damage is likewise decreased by adjust_radius - a hair more damage than 1, 1/2, 1/3, 1/4th as you go from radius 0 to 3.

            The lighting damage seems very straightforward and has no status effects or radius.
            Without more than a brief check, yes that looks right.

            The difference between strike and ball is to do solely with how their projection path is calculated, not the damage or other effects when they explode.
            One for the Dark Lord on his dark throne
            In the Land of Mordor where the Shadows lie.

            Comment

            • DavidMedley
              Veteran
              • Oct 2019
              • 1004

              #21
              Originally posted by Nick
              how their projection path is calculated
              OK, that's interesting. How do their projection paths differ?
              Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

              Comment

              • malcontent
                Adept
                • Jul 2019
                • 166

                #22
                Originally posted by Derakon
                Does ^R fix it? If so it's just a display update issue.
                Good question, probably, but I can't tell right now because my STR seems to be above a threshold where it makes a difference.

                Comment

                • Nick
                  Vanilla maintainer
                  • Apr 2007
                  • 9639

                  #23
                  Originally posted by DavidMedley
                  OK, that's interesting. How do their projection paths differ?
                  Ball maps a path to the targeted grid, and then explodes there; if no targeted grid (just a direction), it just goes in the direction until it hits something. Strike just hits the targeted grid directly, which probably amounts to the same thing as a ball in effect, except that you don't have the option to just fire in a direction.
                  One for the Dark Lord on his dark throne
                  In the Land of Mordor where the Shadows lie.

                  Comment

                  • DavidMedley
                    Veteran
                    • Oct 2019
                    • 1004

                    #24
                    Yeah, that would make a big difference if you're firing blind!
                    Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                    Comment

                    • DavidMedley
                      Veteran
                      • Oct 2019
                      • 1004

                      #25
                      I've added what I learned about the first two Druid spellbooks into my spreadsheet:


                      @Nick: Would you be OK with me adding some info to the in-game documentation? Like, the duration of Confuse Monster and Slow Monster jump out at me immediately.
                      Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                      Comment

                      • DavidMedley
                        Veteran
                        • Oct 2019
                        • 1004

                        #26
                        Originally posted by Nick
                        you don't have the option to just fire in a direction.
                        You actually do have the option to fire in a direction, but you're going to be deeply disappointed if you do because it centers on the player.
                        Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                        Comment

                        • wobbly
                          Prophet
                          • May 2012
                          • 2631

                          #27
                          Originally posted by Nick
                          Ball maps a path to the targeted grid, and then explodes there; if no targeted grid (just a direction), it just goes in the direction until it hits something. Strike just hits the targeted grid directly, which probably amounts to the same thing as a ball in effect, except that you don't have the option to just fire in a direction.
                          The other difference is not being able to splash by targeting a wall

                          Comment

                          • DavidMedley
                            Veteran
                            • Oct 2019
                            • 1004

                            #28
                            Originally posted by wobbly
                            The other difference is not being able to splash by targeting a wall
                            I checked this... you can still target an empty square next to a wall.
                            Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                            Comment

                            • wobbly
                              Prophet
                              • May 2012
                              • 2631

                              #29
                              Food use for rapid heal seems high? If you're using it regularly you really want to be carrying a full stack of food rations. My suggestion is halving that.

                              Comment

                              • malcontent
                                Adept
                                • Jul 2019
                                • 166

                                #30
                                Originally posted by wobbly
                                Food use for rapid heal seems high? If you're using it regularly you really want to be carrying a full stack of food rations. My suggestion is halving that.
                                Me thinks you have lost sight that the first spell book provides remove hunger? I occasionally find myself using the two spells in close succession, sometimes for several heal/hunger cycles.

                                Of course, if you managed to win in 30K turns while forgetting about resist poison and remove hunger in your spell books then you clearly know some things that I don't

                                Comment

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