changing minutes between skill/stat increase

For questions relating to POL scripting (not necessarily related to WoD)

Moderators: Siobhan, Sebastian, Drocket

changing minutes between skill/stat increase

Postby Fran on Sat Sep 20, 2003 7:48 pm

Which file changes the minutes between skill/stat gain?
Fran
Jr. Newbie
 
Posts: 1
Joined: Sat Sep 20, 2003 7:47 pm

Postby SDonald on Fri Oct 10, 2003 7:21 am

Take a look at your pkg/character/advancement directory. This sets how often skill/stat gains are applied.

logon.src says that your gainskill and gainstat scripts are started as you logon.

Look at gainskill.src and you will see that on line 15 it waits 5 minutes and then calls practice.src. It does this every 5 minutes as long as the player is logged on. So if you want the skills updated more often, change the wait - eg for 4 minutes it would read:
sleep ( 5 * 60 );

gainstat is similar.

regards,
Stephen Donald
SDonald
Regular Poster
 
Posts: 102
Joined: Fri Oct 11, 2002 7:47 am
Location: Australia


Return to Scripting Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron