From 539f4cf48008033982fd580a573234da27305c3b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 15 Jul 2019 16:32:07 -0300 Subject: Remove atoi() from Ishi, allow Ancient Blueprints to be found on treasure maps --- npc/003-1/ishi.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/003-1/ishi.txt') diff --git a/npc/003-1/ishi.txt b/npc/003-1/ishi.txt index a4cbb5a9c..ab463ac40 100644 --- a/npc/003-1/ishi.txt +++ b/npc/003-1/ishi.txt @@ -147,12 +147,12 @@ L_Items: //debugmes l("Check @@ <= @@", @lucky, @Rares[.@b+1]); if (.@b == 0) @control = 0; - if(@lucky >= (@control + 1) && @lucky <= @control + atoi(@Rares[.@b+1])) + if(@lucky >= (@control + 1) && @lucky <= @control + (@Rares[.@b+1])) { .@lucked=1; .@reward = @Rares[.@b]; } - @control = @control + atoi(@Rares[.@b+1]); + @control = @control + (@Rares[.@b+1]); } } -- cgit v1.2.3-60-g2f50