The Dink Network

Reply to Re: A Note About Trimming Background Sprites

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:
 
 
October 14th 2013, 09:25 PM
wizardg.gif
I'd add a global "skillpoints" then make the lraise.c script basically just go, &level += 1; &skillpoints += 1;

Then I'd edit the escape.c script and add a choice for skillpoints.

if(&skillpoints >= 1)
{
choice_start();
"strength"
"defense"
"magic"
choice_end();

if(&result == 1)
{
&strength += 1;
&skillpoints -= 1;
}

And so on. That'd work right?

Instead of doing something in escape.c, it might be nicer to set something up using keys. so like,
[ - strength
' - defense
/ - magic

Though it might seem a little pointless to set keys for such small tasks. Though it's not like those keys are going to be used anyways.