The Dink Network

Reply to Re: magic

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:
 
 
September 14th 2006, 01:36 AM
death.gif
I did not mess with the fireball spell... I pulled it from the source code. I will try getting another copy of the script and see if that solves my problems.

heres a sample from my start1.c

&strength = 3;
&defense = 2;
&magic = 2;
&gold = 0;
&lifemax = 20;
&life = &lifemax;

//lets give him fists to start out with, and arm him with the fists.
add_item("item-fst",438, 1);
&cur_weapon = 1;
arm_weapon(1);

add_magic ("item-fb", 437, 1);
&cur_magic = 1;
arm_magic (1);

//Clear the screen black in preparation for the first room of the game.
fill_screen(0);
draw_status (1);
spawn ("intro");
kill_this_task();
}