From d0c648193f1f0d265d7daba473b95eaa871d849f Mon Sep 17 00:00:00 2001 From: Brandon Cornejo Date: Tue, 10 Feb 2026 22:03:02 -0600 Subject: [PATCH] MKII and EFF updates to group.tin --- src/group.tin | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/group.tin b/src/group.tin index 479175b..7ae310c 100644 --- a/src/group.tin +++ b/src/group.tin @@ -14,9 +14,14 @@ #nop ======================================================; #nop EFF -#ACTION {^ * %1 is floating around {him|her|it}:$} { - #variable {group_shields[$group_shields_current][eff]} {1}; - /writegroupshieldstofile; +#ACTION {^ * %1 is floating around {him|her|it|you}:$} { + #if {"%2" == "you"} { + #variable {group_shields[$GMCP[charinfo][capname]][eff]} {1}; + }; + #else { + #variable {group_shields[$group_shields_current][eff]} {1}; + } + /softwritegroupshieldstofile; } #nop TPA @@ -54,8 +59,13 @@ } #nop KII -#ACTION {^ * {She|He|It} is surrounded by a {handful|cloud|small swarm|large swarm|vast sawrm|plague} of} { - #variable {group_shields[$group_shields_current][kii]} {1}; +#ACTION {^ * {You|She|He|It} are surrounded by a {handful|cloud|small swarm|large swarm|vast sawrm|plague} of} { + #if {"%1" == "You"} { + #variable {group_shields[$GMCP[charinfo][capname]][kii]} {1}; + }; + #else { + #variable {group_shields[$group_shields_current][kii]} {1}; + }; /softwritegroupshieldstofile; };