spell parameter effect?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tibarius
    Swordsman
    • Jun 2011
    • 429

    spell parameter effect?

    spell:Magic Missile:1:1:22:4
    effect:BOLT_OR_BEAM:MISSILE:-10

    What does the -10 parameter influence please?
    Blondes are more fun!
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9634

    #2
    That's reducing the beam chance.

    You're probably best looking at the code in effects.c for working out exactly what spells do. Ideally it would all be documented clearly somewhere, but (a) it isn't and (b) I'm not actually clear on what the best way to do that would be.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • Tibarius
      Swordsman
      • Jun 2011
      • 429

      #3
      beam chance

      Thanks Nick, and you are right that looking at the code would be best. And the best documentation is readable and clear code ...

      but i wanted mainly to remove those things which utterly feel wrong for me, not do a rewrite.
      Blondes are more fun!

      Comment

      • Pete Mack
        Prophet
        • Apr 2007
        • 6883

        #4
        Tiberius--
        There is a lot of room between a quick familiarization with the code and '[doing] a rewrite.' Some of the issues I have with Nick's changes would require minor code changes. The biggest is the change to randomize individual 'pvals' on ego items. The reault is to make them all good but not great. Crown of Might is the obvious one--they were all either +1, +2, ir +3--mediocre*, good, and phenomenal. Now they are all a mixture of the three values--never more than a bit above or below average.

        * even a +1 Crown of Might was not actually a bad find.

        Comment

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