Hero6
It is currently Mon, 25 Nov 2024 14:45

All times are UTC - 8 hours


Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon, 25 Aug 2014 11:33 
Offline
Casual Adventurer

Joined: Sat, 26 Jul 2014 22:29
Posts: 15
Hey guys

I'm trying to wrap up the climbing script and I have a couple of questions (and I'm too tired to start digging in the code to find out). Do we have specific functions or particular manners of handling:
a) Decreasing character health?
b) Increasing a skill?

Thanks


Top
 Profile  
 
PostPosted: Mon, 25 Aug 2014 12:52 
Offline
Glory Hound
User avatar

Joined: Mon, 27 Jan 2014 21:45
Posts: 65
I just took a quick look through and found two functions which seems to match your needs.

a) DecreaseHealth(short val) line 793 in Combat.asc
b) All skill increases are found in Statistics.asc

Remember that we are taking over code from a team that was in a rush to port the game from the MAD engine over to the AGS engine. So a part of the job is to clean up the messy code so we don't lose our hairs when the real work with the plot comes in.

Just with a quick glance I noticed that both DecreaseStamina and DecreaseHealth functions were both in Combat.asc, which doesn't make much sense to me, they should be in Statistics.asc.

If you could migrate any stray function with nonsensical placements over to a better place along as you work, it would be much appreciated.


Top
 Profile  
 
PostPosted: Mon, 25 Aug 2014 19:24 
Offline
Casual Adventurer

Joined: Sat, 26 Jul 2014 22:29
Posts: 15
Will do, thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours

Who is online

Users browsing this forum: No registered users and 11 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group