diff options
author | NetSysFire <59517351+NetSysFire@users.noreply.github.com> | 2022-09-26 09:31:35 +0200 |
---|---|---|
committer | NetSysFire <59517351+NetSysFire@users.noreply.github.com> | 2022-09-26 09:31:35 +0200 |
commit | 943b66a0ccf2ead307c99bde513b3acc5bea958e (patch) | |
tree | 53fdfce842ccae88255b50ef10060a54654e2794 /npc | |
parent | 0f304fd93e2c14562aa2c4cbf1344ef8395732db (diff) | |
download | serverdata-kreist-grind.tar.gz serverdata-kreist-grind.tar.bz2 serverdata-kreist-grind.tar.xz serverdata-kreist-grind.zip |
actually fix the killamount thingkreist-grind
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-10/kreist.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/003-10/kreist.txt b/npc/003-10/kreist.txt index c4ca9b312..834433d20 100644 --- a/npc/003-10/kreist.txt +++ b/npc/003-10/kreist.txt @@ -170,33 +170,33 @@ function script Guardhouse_RandQuestCheck { if (getq(General_MobHunting1) == .@d && getq2(General_MobHunting1) == .@mobId) { .@q3=getq3(General_MobHunting1); - .@killamount=get_byte(.@q3, 1); - set_byte(.@q3, 1, min(255, .@killamount+1)); + .@killamount=get_byte(.@q3, 1)+1; + set_byte(.@q3, 1, min(255, .@killamount)); setq3 General_MobHunting1, .@q3; if (!(.@killamount % 5)) - dispbottom l("%d/%d %s killed", .@killamount+1, get_byte(.@q3, 0), getmonsterlink(.@mobId)); + dispbottom l("%d/%d %s killed", .@killamount, get_byte(.@q3, 0), getmonsterlink(.@mobId)); } // Medium Task if (getq(General_MobHunting2) == .@d && getq2(General_MobHunting2) == .@mobId) { .@q3=getq3(General_MobHunting2); - .@killamount=get_byte(.@q3, 1); - set_byte(.@q3, 1, .@killamount+1); + .@killamount=get_byte(.@q3, 1)+1; + set_byte(.@q3, 1, .@killamount); setq3 General_MobHunting2, .@q3; if (!(.@killamount % 5)) - dispbottom l("%d/%d %s killed", .@killamount+1, get_byte(.@q3, 0), getmonsterlink(.@mobId)); + dispbottom l("%d/%d %s killed", .@killamount, get_byte(.@q3, 0), getmonsterlink(.@mobId)); } // Hard Task if (getq(General_MobHunting3) == .@d && getq2(General_MobHunting3) == .@mobId) { .@q3=getq3(General_MobHunting3); - .@killamount=get_byte(.@q3, 1); - set_byte(.@q3, 1, .@killamount+1); + .@killamount=get_byte(.@q3, 1)+1; + set_byte(.@q3, 1, .@killamount); setq3 General_MobHunting3, .@q3; if (!(.@killamount % 5)) - dispbottom l("%d/%d %s killed", .@killamount+1, get_byte(.@q3, 0), getmonsterlink(.@mobId)); + dispbottom l("%d/%d %s killed", .@killamount, get_byte(.@q3, 0), getmonsterlink(.@mobId)); } // Frostia's Task |