summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-18 16:43:31 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-18 16:43:31 -0300
commit6a95ce40b375973430f50a6cbb4ac35564caf1be (patch)
tree6d8056353dca6fd138cddbf724bc056f5b78eaa2 /npc/functions
parent99a7d6266ff2f40a602df2355928b040d19ec632 (diff)
downloadserverdata-6a95ce40b375973430f50a6cbb4ac35564caf1be.tar.gz
serverdata-6a95ce40b375973430f50a6cbb4ac35564caf1be.tar.bz2
serverdata-6a95ce40b375973430f50a6cbb4ac35564caf1be.tar.xz
serverdata-6a95ce40b375973430f50a6cbb4ac35564caf1be.zip
Set a default Captcha mode for new servers, and fix a forgotten logging
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/captcha.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/captcha.txt b/npc/functions/captcha.txt
index d7dc45aae..e34ef6397 100644
--- a/npc/functions/captcha.txt
+++ b/npc/functions/captcha.txt
@@ -206,6 +206,8 @@ OnClinic:
} // Caster loop
} // for loop
} // Map loop
+ // If we went this far, it is fine to log the result
+ logmes sprintf("@treat: \"%s\" treated \"%s\" Botter's Syndrome.", .@benef$, strcharinfo(0)), LOGMES_ATCOMMAND;
// The chance is further modified by how intense the syndrome is
// Every 5% effect steals 1% of treatment chance
.@chance -= limit(0, getstatus(SC_BOTTER_SYNDROME, 1) / 5, 25);