From 6a95ce40b375973430f50a6cbb4ac35564caf1be Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 18 May 2024 16:43:31 -0300 Subject: Set a default Captcha mode for new servers, and fix a forgotten logging --- npc/003-3/malindou.txt | 2 ++ npc/functions/captcha.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 04f64ee53..ea51ccdf9 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -72,6 +72,8 @@ OnInit: $REFERRAL_ENABLED = false; //$NO_INTRO = false; //$HARDCORE = false; + $CAPTCHA = 3; // Banhammer + Advance Warning (TMW Classic style) + //$CAPTCHA = 28; // Syndrome + NoEvents + @treat (ML style) $ALLIANCE_TAX1 = 7500; $ALLIANCE_TAX2 = 60; $FIRESOFSTEAM[1] = 2000; 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); -- cgit v1.2.3-60-g2f50