changeset 1447:83c1ea5b4400

For players whose name ends in "s", the animist soul companion line name field is punctuated as it should be ("Xxxxxs' soul"), but we didn't handle that case. Fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 29 Aug 2011 19:33:06 +0300
parents e05353343873
children 8d07f07bd72b
files gm-pssmangle.tf
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gm-pssmangle.tf	Fri Aug 26 08:38:32 2011 +0300
+++ b/gm-pssmangle.tf	Mon Aug 29 19:33:06 2011 +0300
@@ -230,7 +230,7 @@
 	/if (opt_prettypss=~"on") /substitute -ag%;/endif%;\
 	/test gparty_set({P2},{P3},{P4},{P5},{P6},{P7},{P8},{P9},{P10},{P1})
 
-/def -i -F -Egparty_grab<0 -p999 -mregexp -t"^\| ([A-Z][a-z]+)'s soul\ {1,8}( fol|form|    |stun) (.........)" gpss_getps2 =\
+/def -i -F -Egparty_grab<0 -p999 -mregexp -t"^\| ([A-Z][a-z]+)'s? soul\ {1,8}( fol|form|    |stun) (.........)" gpss_getps2 =\
 	/if (opt_prettypss=~"on") /substitute -ag%;/endif%;\
 	/test gparty_set_soul({P1},{P2},{P3})