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.
|