changeset 91:dbc5c4170fb8

Update statusbar when skill or spell is interrupted
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 19 Oct 2005 19:39:41 +0000
parents 76369732f469
children a77436bb1f8b
files ggrtf-magical.tf ggrtf.tf
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf-magical.tf	Wed Oct 19 19:34:28 2005 +0000
+++ b/ggrtf-magical.tf	Wed Oct 19 19:39:41 2005 +0000
@@ -117,6 +117,7 @@
 	/set cnt_icasts=$[cnt_icasts + 1]%;\
 	/set spell_st=off%;\
 	/set cast_info=%;\
+	/status_update%;\
 	/endif
 
 /def -i -p9999 -aCred -mregexp -t"^You( interrupt|r movement prevents you from casting| have insufficient strength to cast| do not have enough spell points to cast| lose your concentration and cannot cast) the spell.$" spell_interrupt1 =\
--- a/ggrtf.tf	Wed Oct 19 19:34:28 2005 +0000
+++ b/ggrtf.tf	Wed Oct 19 19:39:41 2005 +0000
@@ -763,6 +763,7 @@
 	/set cnt_iskills=$[cnt_iskills + 1]%;\
 	/set skill_st=off%;\
 	/set cast_info=%;\
+	/status_update%;\
 	/else \
 	/msq @{BCred}FAKE@{n} SKILL @{Cred}INTERRUPTED@{n}%;\
 	/endif