Editing !CCW

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kurie
    Scout
    • Feb 2010
    • 39

    Editing !CCW

    I would like to increase the amount of HP restored by potions of cure critical wounds. I would like them to give about 150-200 HP, instead of the current 80 HP they restore. What do I need to change in the below text to accomplish this please?

    N:345:Cure Critical Wounds
    G:!:d
    I:75:36:100
    W:5:0:4:115
    P:0:1d1:0:0:0
    A:8/1
    F:EASY_KNOW
    D:It cures 8d10 points of damage, cures all stunning, heals all cut
    D: damage, neutralizes poison, and cures blindness and confusion. It
    D: also provides nourishment for about 50 turns under normal conditions.
  • PowerDiver
    Prophet
    • Mar 2008
    • 2820

    #2
    I think you need to change the source code, not the edit files. Then you would need to recompile.

    The relevant section is around line 329 in http://trac.rephial.org/browser/trunk/src/effects.c, the code for case EF_CURE_CRITICAL:

    Except, are you talking about a variant? The 8d10 in the description along with your 80 HP comment leaves me rather confused.

    Comment

    • kurie
      Scout
      • Feb 2010
      • 39

      #3
      I should have mentioned that. It's NPPangband. In the case of the source code, I guess I'll just have to like it. I don't know the first thing about source code. Thanks for the reply though.

      Comment

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