summaryrefslogtreecommitdiff
path: root/npc/020-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-02 11:01:14 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-02 11:01:14 -0300
commitf02709508e6393f9049cb50c8b4a353d2b0b236d (patch)
treec84c9a158f1e5f54ce68c9bde423f88373afad36 /npc/020-5
parent3fe40e84f260d60db62abd5118278156f9702d98 (diff)
downloadserverdata-f02709508e6393f9049cb50c8b4a353d2b0b236d.tar.gz
serverdata-f02709508e6393f9049cb50c8b4a353d2b0b236d.tar.bz2
serverdata-f02709508e6393f9049cb50c8b4a353d2b0b236d.tar.xz
serverdata-f02709508e6393f9049cb50c8b4a353d2b0b236d.zip
Throttler at Bracco (hotfix)
Diffstat (limited to 'npc/020-5')
-rw-r--r--npc/020-5/bracco.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt
index f30bc7fd9..38690d036 100644
--- a/npc/020-5/bracco.txt
+++ b/npc/020-5/bracco.txt
@@ -11,6 +11,11 @@
function Meltdown {
if (getargcount() < 2 || getargcount() % 2 != 0)
return Exception("Faulty learning Meltdown command invoked - error");
+ if (@indexisbroken) {
+ mesc l("Wait, if you try to melt more than one item at login, manaplus will get buggy."), 1;
+ mesc l("Please try again later!"), 1;
+ close;
+ }
.@index=getarg(0);
.@price=getarg(1);
@@ -38,6 +43,7 @@
}
.@i++;
}
+ @indexisbroken=true;
return;
}