changeset 633:7ad08f4c0514

Skill/spell breaks were not properly handled in some cases, this should now be fixed; Also paralyzes are now detected, like stuns were.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 07 Jun 2007 00:12:39 +0000
parents bd24438e5804
children 655f5cd43b83
files ggrtf.tf
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf.tf	Wed Jun 06 22:58:30 2007 +0000
+++ b/ggrtf.tf	Thu Jun 07 00:12:39 2007 +0000
@@ -1370,6 +1370,9 @@
 /def -i -F -aCgreen -msimple -t"You are STUNNED." rec_stun_start =\
 	/set stun_st=on%;/proff unstun
 
+/def -i -F -aCgreen -mregexp -t" paralyzes you with its mind\.$" rec_paralyzed_start =\
+	/gspell_interrupt%;/gskill_interrupt%;/set stun_st=on%;/proff unstun
+
 /def -i -F -aCgreen -msimple -t"You are no longer stunned." rec_stun_end =\
 	/set stun_st=off%;/msr No longer stunned
 
@@ -1377,6 +1380,7 @@
 	/proff unstun
 
 /def -i -F -aCgreen -msimple -t"It doesn't hurt at all!" rec_unstun_notall =\
+	/gspell_interrupt%;/gskill_interrupt%;\
 	/set prot_unstun_w=$[prot_unstun_w+1]%;\
 	/msr Unstun weakened [#%{prot_unstun_w}]%;\
 	/gstatus_update
@@ -1481,8 +1485,6 @@
 		/set cast_info=%;\
 		/gstatus_update%;\
 		/prexecfuncs %{event_skill_intr}%;\
-	/else \
-		/msq @{BCred}FAKE@{n} SKILL @{Cred}INTERRUPTED@{n}%;\
 	/endif