From f02709508e6393f9049cb50c8b4a353d2b0b236d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Sep 2019 11:01:14 -0300 Subject: Throttler at Bracco (hotfix) --- npc/020-5/bracco.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'npc/020-5') 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; } -- cgit v1.2.3-60-g2f50