From d3c1cd41f4cd29c77d824403006abce26f6e5b07 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 4 May 2019 13:12:09 -0300 Subject: Disable debug marker. Also, strmobinfo returns numbers sometimes. And I was using atoi() this whole time...... --- npc/items/teleporter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/items') diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt index 887121a98..dad9b97a7 100644 --- a/npc/items/teleporter.txt +++ b/npc/items/teleporter.txt @@ -35,7 +35,7 @@ OnUse: // Chances begin at 100%, and lower in 0.01% each second // It will never be below 30%, which happens after 7000 seconds .@adj_breakrate=max(3000, 10000-(gettimetick(2)-TELEPORTER_TIME) ); - debugmes "Adjusted break ratio: %d", .@adj_breakrate; + //debugmes "Adjusted break ratio: %d", .@adj_breakrate; if (rand(0,10000) > .@adj_breakrate) getitem @itemid, 1; else -- cgit v1.2.3-60-g2f50