In my game I have it that the player trains their skills at one point. I had it so the skills take a certain amount of time to level and then gave them a certain amount of time to train. This is the script I have on a certain link
IF %TRAINTIME < 9 THEN
BEGIN
%PRS := %PER + 1
%TRAINTIME := %TRAINTIME + 3
END
ELSE
BEGIN
%PRS := %PER + 1
$DEST := @P27
END
Traintime is 0 to 12, the player has 12 hours to train (from noon to midnight). PRS takes three hours to train. No matter what i do, PRS won't increase past 1 (the variable is 0 to 2). Can someone please tell me what's going wrong?
also, the training starts on a separate page whose script is just
%PRS := %PRS + 1
%TRAINTIME := %TRAINTIME + 3
but I still can only get PRS to 1 and not 2 even if I train another skill on the first page