summaryrefslogtreecommitdiff
path: root/npc/003-1/ishi.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-15 16:32:07 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-15 16:32:07 -0300
commit539f4cf48008033982fd580a573234da27305c3b (patch)
tree89ebafae5acb702da8ea8dfe17c3068a6af8a712 /npc/003-1/ishi.txt
parent75dc7f31e327f0ca19da493b2b4ef02031131b3c (diff)
downloadserverdata-539f4cf48008033982fd580a573234da27305c3b.tar.gz
serverdata-539f4cf48008033982fd580a573234da27305c3b.tar.bz2
serverdata-539f4cf48008033982fd580a573234da27305c3b.tar.xz
serverdata-539f4cf48008033982fd580a573234da27305c3b.zip
Remove atoi() from Ishi, allow Ancient Blueprints to be found on treasure maps
Diffstat (limited to 'npc/003-1/ishi.txt')
-rw-r--r--npc/003-1/ishi.txt4
1 files changed, 2 insertions, 2 deletions
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]);
}
}