diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-04 13:12:09 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-04 13:12:09 -0300 |
commit | d3c1cd41f4cd29c77d824403006abce26f6e5b07 (patch) | |
tree | 452c3134187f1012122942e22f5bda5dd7523be0 /npc/functions/mobhunter.txt | |
parent | 6b23cb7f0e5479ae13d15b4ea4bf832c570943ff (diff) | |
download | serverdata-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/mobhunter.txt')
-rw-r--r-- | npc/functions/mobhunter.txt | 4 |
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; |