summaryrefslogtreecommitdiff
path: root/npc/042-0
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-29 02:35:07 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-29 02:35:07 -0300
commit6c46e622c11a412d4083b78a62f557c24b8e2d03 (patch)
treebecdaf82b320d734ea506ad85f78f2dc9ca51fba /npc/042-0
parentc079edf4b4fcdc64700ade996d9e88f6da26de70 (diff)
downloadserverdata-6c46e622c11a412d4083b78a62f557c24b8e2d03.tar.gz
serverdata-6c46e622c11a412d4083b78a62f557c24b8e2d03.tar.bz2
serverdata-6c46e622c11a412d4083b78a62f557c24b8e2d03.tar.xz
serverdata-6c46e622c11a412d4083b78a62f557c24b8e2d03.zip
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:)
Diffstat (limited to 'npc/042-0')
-rw-r--r--npc/042-0/arthur.txt2
1 files changed, 2 insertions, 0 deletions
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);