From d61e5ee20a7e7ac8605c33f9ca3bf5e4cc8cc541 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 6 May 2022 23:32:30 -0300 Subject: Replace Candor points on Lightbringer with the great deeds --- npc/functions/gmbot.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt index 1b70d1cb3..cbcd79917 100644 --- a/npc/functions/gmbot.txt +++ b/npc/functions/gmbot.txt @@ -232,9 +232,15 @@ function matrixlb { .@pts+=min(3, reputation("Fortress")/33); // What about Lilit? - // Temporaly I'll use Candor Battle Top 3 - .@cr=array_find($@cfefe_name$, strcharinfo(0)); - .@cr=limit(0, (.@cr >= 0 ? 3-.@cr : 0), 3); + // Having accomplished deeds + .@cr=0; + .@cr+=(YETIKING_WINNER ? 1 : 0); + .@cr+=(HEROESHOLD_WINNER ? 1 : 0); + .@cr+=(QUIRINO_WINNER ? 1 : 0); + .@cr+=(GEMINI_WINNER ? 1 : 0); + .@cr+=(GHQ_WINNER ? 1 : 0); + .@cr+=(FORT_1ST_VISIT ? 1 : 0); + .@cr=limit(0, .@cr / 2, 3); .@pts+=.@cr; // What about Doppelganger TOP 3? -- cgit v1.2.3-60-g2f50