summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-06 23:32:30 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-06 23:32:30 -0300
commitd61e5ee20a7e7ac8605c33f9ca3bf5e4cc8cc541 (patch)
tree8bdb1cbb1605e9cc233b891bd36317cc26b6c9b6
parent3366260e4106ea8cd2ddc6c7a3b8f3be163ad425 (diff)
downloadserverdata-d61e5ee20a7e7ac8605c33f9ca3bf5e4cc8cc541.tar.gz
serverdata-d61e5ee20a7e7ac8605c33f9ca3bf5e4cc8cc541.tar.bz2
serverdata-d61e5ee20a7e7ac8605c33f9ca3bf5e4cc8cc541.tar.xz
serverdata-d61e5ee20a7e7ac8605c33f9ca3bf5e4cc8cc541.zip
Replace Candor points on Lightbringer with the great deeds
-rw-r--r--npc/functions/gmbot.txt12
1 files changed, 9 insertions, 3 deletions
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?