The Dink Network

Reply to Re: I'm new to developing and I need a little help.

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 6th 2005, 07:42 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
Look in the source.zip file in the develop directory, it has all the source files of the original game including the weapon files though you can find all the items with item-xxx.c. Take the source code of a normal sword and modify it. For example, in item-sw1.c you can find the source of a sword. To change the strength of the sword, look in void arm(void) and void disarm(void) and change these lines:

&strength -= 4; (in disarm)
&strength += 4; (in arm)

to:

&strength -= 10; (in disarm)
&strength += 10; (in arm)