changeset 664:74b1f07a72c8

Changed training lite to use yellow for skils/spells under racemax.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 09 Sep 2007 14:11:18 +0000
parents 4b4f49f5a4ba
children fbe727e4dd9b
files ggrtf-misc.tf
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf-misc.tf	Thu Sep 06 16:35:32 2007 +0000
+++ b/ggrtf-misc.tf	Sun Sep 09 14:11:18 2007 +0000
@@ -118,7 +118,11 @@
 ;; Lite skills/spells you can train with current exp
 /def -i -F -p9999 -mregexp -t"^\| ([A-Z][A-Za-z ]+) +\| +([0-9]+) \| +([0-9]+) \| +([0-9]+) \| +([0-9]+) \|$" glite_trainexp =\
 	/if ({P5} <= status_qexp)\
-		/let _tcs=Cgreen%;\
+		/if ({P2} < {P3})\
+			/let _tcs=Cgreen%;\
+		/else \
+			/let _tcs=Cyellow%;\
+		/endif%;\
 	/else \
 		/let _tcs=n%;\
 	/endif%;\