Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 5, 2010, 03:26   #1
kurie
Scout
 
Join Date: Feb 2010
Posts: 39
kurie is on a distinguished road
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.
kurie is offline   Reply With Quote
Old October 5, 2010, 04:14   #2
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
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.
PowerDiver is offline   Reply With Quote
Old October 5, 2010, 04:34   #3
kurie
Scout
 
Join Date: Feb 2010
Posts: 39
kurie is on a distinguished road
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.
kurie is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing lib/edit files moonsdad Vanilla 0 November 9, 2008 11:48
Editing the monster.txt file Jothar Hillpeople Vanilla 3 September 4, 2008 21:23
Misc editing/changing Angband gameplay AirBreather Variants 7 August 19, 2008 07:53


All times are GMT +1. The time now is 00:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.