diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-10/kreist.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/npc/003-10/kreist.txt b/npc/003-10/kreist.txt index 9cc95e3da..21fc18745 100644 --- a/npc/003-10/kreist.txt +++ b/npc/003-10/kreist.txt @@ -180,19 +180,23 @@ function script Guardhouse_RandQuestCheck { // Medium Task if (getq(General_MobHunting2) == .@d && getq2(General_MobHunting2) == .@mobId) { - .@q3=getq3(General_MobHunting2)+1; + .@q3=getq3(General_MobHunting2); + .@killamount=get_byte(.@q3, 1); + set_byte(.@q3, 1, .@killamount+1); setq3 General_MobHunting2, .@q3; - if (!(.@q3 % 10)) - dispbottom l("@@/@@ @@ killed", .@q3, .@killamount, getmonsterlink(.@mobId)); + if (!(.@killamount % 5)) + 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)+1; + .@q3=getq3(General_MobHunting3); + .@killamount=get_byte(.@q3, 1); + set_byte(.@q3, 1, .@killamount+1); setq3 General_MobHunting3, .@q3; - if (!(.@q3 % 10)) - dispbottom l("@@/@@ @@ killed", .@q3, .@killamount, getmonsterlink(.@mobId)); + if (!(.@killamount % 5)) + dispbottom l("%d/%d %s killed", .@killamount, get_byte(.@q3, 0), getmonsterlink(.@mobId)); } // Frostia's Task |