summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-16 21:56:40 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-16 21:56:40 -0300
commit85064ad81a5c08e5fd01949dc01662e396667e8f (patch)
tree49cf0b118e5fb737e32a8fcd46ee697242fc0eb4
parent3b2ce848eeaca9f3f21aa477031ad5386a9c7228 (diff)
downloadserverdata-85064ad81a5c08e5fd01949dc01662e396667e8f.tar.gz
serverdata-85064ad81a5c08e5fd01949dc01662e396667e8f.tar.bz2
serverdata-85064ad81a5c08e5fd01949dc01662e396667e8f.tar.xz
serverdata-85064ad81a5c08e5fd01949dc01662e396667e8f.zip
Add an extra check on captcha function
-rw-r--r--npc/functions/captcha.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/captcha.txt b/npc/functions/captcha.txt
index 1e886db11..5707204e4 100644
--- a/npc/functions/captcha.txt
+++ b/npc/functions/captcha.txt
@@ -272,7 +272,7 @@ OnTimer12000:
.@k5 = syndroCheck(.@k); .@k = BaseExp;
.@k6 = syndroCheck(.@k); .@k = BaseExp;
.@k7 = syndroCheck(.@k); .@k = BaseExp;
- sleep2(1000);
+ .@k8 = syndroCheck(.@k); .@k = BaseExp;
// You logged out? LAME! Anyway, carry on
if (!playerattached())
break;
@@ -294,6 +294,8 @@ OnTimer12000:
.@chance -= 15;
if (!.@k7)
.@chance -= 15;
+ if (!.@k8)
+ .@chance -= 15;
// You killed less than 7 monsters, fall to 40.0%
if (.@mpk + 7 > MONSTERS_KILLED)
.@chance -= 200;