diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-18 16:43:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-18 16:43:31 -0300 |
commit | 6a95ce40b375973430f50a6cbb4ac35564caf1be (patch) | |
tree | 6d8056353dca6fd138cddbf724bc056f5b78eaa2 /npc | |
parent | 99a7d6266ff2f40a602df2355928b040d19ec632 (diff) | |
download | serverdata-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')
-rw-r--r-- | npc/003-3/malindou.txt | 2 | ||||
-rw-r--r-- | npc/functions/captcha.txt | 2 |
2 files changed, 4 insertions, 0 deletions
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); |