summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-04 13:12:09 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-04 13:12:09 -0300
commitd3c1cd41f4cd29c77d824403006abce26f6e5b07 (patch)
tree452c3134187f1012122942e22f5bda5dd7523be0 /npc/functions
parent6b23cb7f0e5479ae13d15b4ea4bf832c570943ff (diff)
downloadserverdata-d3c1cd41f4cd29c77d824403006abce26f6e5b07.tar.gz
serverdata-d3c1cd41f4cd29c77d824403006abce26f6e5b07.tar.bz2
serverdata-d3c1cd41f4cd29c77d824403006abce26f6e5b07.tar.xz
serverdata-d3c1cd41f4cd29c77d824403006abce26f6e5b07.zip
Disable debug marker. Also, strmobinfo returns numbers sometimes.
And I was using atoi() this whole time......
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/mobhunter.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index a19a595a1..f0fa46834 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -87,8 +87,8 @@ function script GHQ_GetRewardsOnMilestone {
// Setup
.@old=GHMEMO[getq(General_Hunter)];
.@new=getq2(General_Hunter);
- .@blv=atoi(strmobinfo(3, .@monsterId));
- .@bhp=atoi(strmobinfo(4, .@monsterId));
+ .@blv=strmobinfo(3, .@monsterId);
+ .@bhp=strmobinfo(4, .@monsterId);
.@xp=0;
.@gp=0;
.@jp=0;