summaryrefslogtreecommitdiff
path: root/npc/functions/mobhunter.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/mobhunter.txt')
-rw-r--r--npc/functions/mobhunter.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index e08ac4429..464a88ef9 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -99,7 +99,7 @@ function script GHQ_GetRewardsOnMilestone {
//if (getq2(General_Hunter) >= 10000) goto L_Finish;
// 1st step: 1000 kills
- if (VarDiffValue(.@old, .@new, 1000)) {
+ if (is_between(.@old, .@new, 1000)) {
mesc l("Goal: @@/@@ reached!", .@new, 1000), 2;
.@xp+=.@blv*10;
.@gp+=(.@bhp/2);
@@ -109,7 +109,7 @@ function script GHQ_GetRewardsOnMilestone {
}
// 2nd step: 2500 kills
- if (VarDiffValue(.@old, .@new, 2500)) {
+ if (is_between(.@old, .@new, 2500)) {
mesc l("Goal: @@/@@ reached!", .@new, 2500), 2;
.@xp+=.@blv*25;
.@gp+=.@bhp;
@@ -119,7 +119,7 @@ function script GHQ_GetRewardsOnMilestone {
}
// 3rd step: 5000 kills
- if (VarDiffValue(.@old, .@new, 5000)) {
+ if (is_between(.@old, .@new, 5000)) {
mesc l("Goal: @@/@@ reached!", .@new, 5000), 2;
.@xp+=.@blv*50;
.@gp+=.@bhp;
@@ -129,7 +129,7 @@ function script GHQ_GetRewardsOnMilestone {
}
// 4th step: 7500 kills
- if (VarDiffValue(.@old, .@new, 7500)) {
+ if (is_between(.@old, .@new, 7500)) {
mesc l("Goal: @@/@@ reached!", .@new, 7500), 2;
.@xp+=.@blv*75;
.@gp+=.@bhp;
@@ -139,7 +139,7 @@ function script GHQ_GetRewardsOnMilestone {
}
// 5th step: 10000 kills
- if (VarDiffValue(.@old, .@new, 10000)) {
+ if (is_between(.@old, .@new, 10000)) {
mesc l("Goal: @@/@@ reached!", .@new, 10000), 2;
// Main reward