changeset 66:5c7192f709cc

Non-visible changes to battle_target handling.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 25 Sep 2005 07:21:38 +0000
parents 0fc92cc675fc
children b7bce888a8e8
files ggrtf.tf
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf.tf	Sun Sep 25 07:21:18 2005 +0000
+++ b/ggrtf.tf	Sun Sep 25 07:21:38 2005 +0000
@@ -32,7 +32,7 @@
 /set set_prexpr=embedded
 
 ;; Misc
-/set battle_target=off
+/set battle_target=
 /set battle_st=off
 /set spell_st=off
 /set skill_st=off
@@ -743,7 +743,7 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Report shape
 /def shape =\
-/if ({battle_target}!~"off")\
+/if ({battle_target}!~"")\
 	/msr %{battle_shape} (%{battle_target})%;\
 	/else \
 	/msr %{battle_shape}%;\
@@ -804,10 +804,10 @@
 ;; End of battle
 /def -F -i -p9999 -aCgreen -mregexp -t"^[A-Za-z ,.'-]+ is DEAD, R.I.P.$" battle_rip =\
 	/set battle_st=off%;\
-	/set battle_target=off%;\
+	/set battle_target=%;\
 	/prexecfuncs %{battle_ripfuncs}
 
 /def -F -i -p9999 -aCyellow -msimple -t"You are not in combat right now." battle_end =\
 	/set battle_st=off%;\
-	/set battle_target=off
+	/set battle_target=