Browse Source

[fixes] moved the csb start trait form stat_sklattrib tot _difficulty to avoid ridiculous large stat increases

julzor 5 years ago
parent
commit
7e89507737
3 changed files with 6 additions and 13 deletions
  1. 3 1
      locations/_difficulty.qsrc
  2. 1 5
      locations/preCSB.qsrc
  3. 2 7
      locations/stat_sklattrib.qsrc

+ 3 - 1
locations/_difficulty.qsrc

@@ -27,7 +27,9 @@ end &! --- getdifficulty ---
 !! easy peasy: 20
 !! use func('_difficulty','getexpadj')
 if $ARGS[0] = 'getexpadj':
-	result = 20 * difficulty
+	!!Trait ''Everything is new again'', gained from the cursed school boy start
+	if csb_start = 1 and daystart <= 84: result = 30 * difficulty
+	if csb_start = 0: result = 20 * difficulty
 end &! --- getexpadj ---
 
 !! following function adjusts money gain by difficulty.

+ 1 - 5
locations/preCSB.qsrc

@@ -368,10 +368,6 @@ end
 
 if $ARGS[0] = 'intro_9':
 	*clr & cla
-	!!Background:Black
-	fcolor = rgb(255, 255, 255)
-	bcolor = rgb(0, 0, 0)
-	lcolor = rgb(106, 90, 205)
 	'<center><img <<$set_imgh>> src="images/pre/csb/dyingforest.jpg"></center>'
 	'...'
 	wait 1500
@@ -391,7 +387,7 @@ if $ARGS[0] = 'intro_9':
 	act 'Wake up':		
 		*clr & cla
 		!!Background: White
-		bcolor = rgb(BColorBase, BColorBase, BColorBase)
+		bcolor = rgb(0, 0, 0)
 		lcolor = rgb(106, 90, 205)
 		fcolor = rgb(0, 0, 0)
 		'<center><img <<$set_imgh>> src="images/pre/shared/karinpre.jpg"></center>'

+ 2 - 7
locations/stat_sklattrib.qsrc

@@ -104,7 +104,6 @@ nat_athlete[41] = 2 & nat_athlete[42] = 21 & nat_athlete[43] = -6 & nat_athlete[
 !!Scholarly; Provides a 10% reduction in xp required to level Intelligence, easier to get good notes at school, faster studying in the university
 schlrly[1] = 1 & schlrly[2] = 3 & schlrly[3] = -6 & schlrly[4] = 0
 
-
 !!Trait variable list; only traits that can affect attribute or skill advancement or degradation goes here
 $traitattskl[0] = 'nat_dancer'
 $traitattskl[1] = 'nat_athlete'
@@ -115,11 +114,7 @@ $traitattskl[2] = 'schlrly'
 if attsklupdate = 0:
 	i = 0 & x = 1
 	:rstloop
-	expadj = func('_difficulty','getexpadj')
-	
-	!! Trait ''Everything is new again'', gained from the cursed school boy start
-	if csb_start = 1 and daystart <= 84: expadj += expadj/2
-	
+	expadj = func('_difficulty','getexpadj')	
 	tl = 0
 	:trtrstloop
 	tltp = 0
@@ -181,7 +176,7 @@ if $ARGS[0] = 'daycall':
 	:degloop
 	degadj = 60
 	if x = 2: degadj += 30
-	expadj = func('_difficulty','getexpadj')
+	expadj = func('_difficulty','getexpadj')	
 	tl = 0
 	:trtdegloop
 	tltp = 0