summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNetSysFire <59517351+NetSysFire@users.noreply.github.com>2022-09-17 21:44:45 +0200
committerJesusaves <cpntb1@ymail.com>2022-09-25 21:53:58 -0300
commit328adfad074abebd419591039c14f6f1fce115f5 (patch)
tree8d9b3c2784867803935c1112f7eb1ee3f7aafc45
parent98fbcb6770e7f1e196ce871b9cb3074f0cc8a97c (diff)
downloadserverdata-328adfad074abebd419591039c14f6f1fce115f5.tar.gz
serverdata-328adfad074abebd419591039c14f6f1fce115f5.tar.bz2
serverdata-328adfad074abebd419591039c14f6f1fce115f5.tar.xz
serverdata-328adfad074abebd419591039c14f6f1fce115f5.zip
some fixes for the last commit
-rw-r--r--npc/003-10/kreist.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/npc/003-10/kreist.txt b/npc/003-10/kreist.txt
index 5f5a26ffb..2c02c901a 100644
--- a/npc/003-10/kreist.txt
+++ b/npc/003-10/kreist.txt
@@ -73,9 +73,9 @@ L_QuestMaster:
}
// Maybe you finished the quest?
- if (!.q3 == 0 && get_byte(.@q3, 1) >= get_byte(.@q3, 0)) {
+ if (!.@q3 == 0 && get_byte(.@q3, 1) >= get_byte(.@q3, 0)) {
mesn l("Kreist, Taskmaster");
- mesq l("Good job, you've killed the @@ @@ and reported back in time!", .@killamount, getmonsterlink(.@q2));
+ mesq l("Good job, you've killed the %d %s and reported back in time!", get_byte(.@q3, 0), getmonsterlink(.@q2));
next;
inventoryplace MercBoxA, 1;
if (MERCENARY_DAILYQUEST == 100) {
@@ -103,9 +103,8 @@ L_QuestMaster:
set_byte(.@q3, 0, 15);
// amount already killed
// Explanation why the city needs that
- // FIXME: plural
if (.@q2 == Maggot ) {
- mesq l("%s have infested the store houses, spilling onto the streets. Stop them from destroying even more food.", getmonsterlink(.@q2));
+ mesq l("%ss have infested the store houses, spilling onto the streets. Stop them from destroying even more food.", getmonsterlink(.@q2));
.@killamount=30;
set_byte(.@q3, 0, 30);
} else if (.@q2 == GiantMaggot) {
@@ -171,7 +170,7 @@ function script Guardhouse_RandQuestCheck {
if (getq(General_MobHunting1) == .@d &&
getq2(General_MobHunting1) == .@mobId) {
.@q3=getq3(General_MobHunting1);
- .@killamount=get_byte(.@q3, 1)
+ .@killamount=get_byte(.@q3, 1);
setq3 General_MobHunting1, set_byte(.@q3, 1, .@killamount+1);
if (!(.@killamount % 5))
dispbottom l("%d/%d %s killed", .@killamount, get_byte(.@q3, 0), getmonsterlink(.@mobId));
@@ -201,7 +200,7 @@ function script Guardhouse_RandQuestCheck {
.@q3=getq3(General_MobHunting4)+1;
setq3 General_MobHunting4, .@q3;
if (!(.@q3 % 10))
- dispbottom l("@@/@@ @@ killed", .@q3, .@killamount, getmonsterlink(.@mobId));
+ dispbottom l("@@/@@ @@ killed", .@q3, 50, getmonsterlink(.@mobId));
}
@@ -211,7 +210,7 @@ function script Guardhouse_RandQuestCheck {
.@q3=getq3(General_MobHunting5)+1;
setq3 General_MobHunting5, .@q3;
if (!(.@q3 % 10))
- dispbottom l("@@/@@ @@ killed", .@q3, .@killamount, getmonsterlink(.@mobId));
+ dispbottom l("@@/@@ @@ killed", .@q3, 50, getmonsterlink(.@mobId));
}
// Frostia - Hard Task
@@ -220,7 +219,7 @@ function script Guardhouse_RandQuestCheck {
.@q3=getq3(General_MobHunting6)+1;
setq3 General_MobHunting6, .@q3;
if (!(.@q3 % 10))
- dispbottom l("@@/@@ @@ killed", .@q3, .@killamount, getmonsterlink(.@mobId));
+ dispbottom l("@@/@@ @@ killed", .@q3, 50, getmonsterlink(.@mobId));
}
// Frostia - Nightmare Task
@@ -229,7 +228,7 @@ function script Guardhouse_RandQuestCheck {
.@q3=getq3(General_MobHunting7)+1;
setq3 General_MobHunting7, .@q3;
if (!(.@q3 % 10))
- dispbottom l("@@/@@ @@ killed", .@q3, .@killamount, getmonsterlink(.@mobId));
+ dispbottom l("@@/@@ @@ killed", .@q3, 50, getmonsterlink(.@mobId));
}
// Frostia - Boss Task