The Dink Network

Reply to Re: changing the damage for the fireball

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:
 
 
August 25th 2006, 12:58 AM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
Believe it or not, but the damage inflicted by the fireball is not in that script. The damage is set in item-fb.c with the line sp_strength(&junk, 10);

dam-fire.c is merely the script that is called after the fireball hits something. It gives the game instructions to create a little explosion sprite, get rid of its shadow, and for it burn a tree, if the object it hit is, in fact, a burnable tree.