From 6c46e622c11a412d4083b78a62f557c24b8e2d03 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Apr 2020 02:35:07 -0300 Subject: It might be worth saving how many players a guild have in a variable. This could also be manipulated. (Yes, we still need to catch guild formation changes D:) --- npc/042-0/arthur.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/042-0') diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt index f6cb6d64c..f2a7e870b 100644 --- a/npc/042-0/arthur.txt +++ b/npc/042-0/arthur.txt @@ -71,8 +71,10 @@ L_Quest: mes l("Be careful! ")+col(l("AFTER THEM!!"), 9); next; // Be sure the quest only starts now, and destroy any eventual artifact + getguildmember(.@g, 2); // 2 = count by account IDs $KAMELOT_QUEST[.@g]=1; $KAMELOT_MX[.@g]=getguildavg(.@g); + $KAMELOT_PC[.@g]=$@guildmembercount; $KAMELOT_KEYMASK[.@g]=any(1,2,4,8); if (!is_admin()) // FIXME: This should be unconditional $KAMELOT_COOLDOWN[.@g] = gettimeparam(GETTIME_WEEKDAY); -- cgit v1.2.3-60-g2f50