Browse Source

[fixed] There are no $start_type[1] called 'magic' so it need to be $start_type[1] ! 'nomagic', plus more sensible why to mke sure the massege is only shown once each time magic increases.

bgkjdgbizgblzdgbr 1 year ago
parent
commit
51d1caff15
1 changed files with 3 additions and 2 deletions
  1. 3 2
      locations/stat.qsrc

+ 3 - 2
locations/stat.qsrc

@@ -156,9 +156,10 @@ if boxing > 100: boxing = 100
 
 manamax = (pcs_intel * pcs_magik) + pcs_magik * 100 + pcs_vital * 10 + rikudo
 
-if $start_type[1] = 'magic':
+!! Set the massage displayed each time the magik attribute is increased.
+if $start_type[1] ! 'nomagic':
 	if pcs_magik > magikhigh:
-		magikhigh += 1
+		magikhigh = pcs_magik
 		rikudo += pcs_magik * 100
 		$stat_msg += '<BR><b>You feel like a strength has been revealed within you, and you gush with magic, lifting you to a new energy level.</b>'
 !!		This will be replaced when a more advanced physical system is made