summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNetSysFire <59517351+NetSysFire@users.noreply.github.com>2022-09-17 21:53:22 +0200
committerJesusaves <cpntb1@ymail.com>2022-09-25 21:53:59 -0300
commitfa3736643aa254064cbd64cbce3a8ec3e7bf6d0d (patch)
tree6281a1d81968ff77e80dfac3d19827cab3fef235
parent328adfad074abebd419591039c14f6f1fce115f5 (diff)
downloadserverdata-fa3736643aa254064cbd64cbce3a8ec3e7bf6d0d.tar.gz
serverdata-fa3736643aa254064cbd64cbce3a8ec3e7bf6d0d.tar.bz2
serverdata-fa3736643aa254064cbd64cbce3a8ec3e7bf6d0d.tar.xz
serverdata-fa3736643aa254064cbd64cbce3a8ec3e7bf6d0d.zip
setq3 properly
-rw-r--r--npc/003-10/kreist.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/003-10/kreist.txt b/npc/003-10/kreist.txt
index 2c02c901a..9f15b2c19 100644
--- a/npc/003-10/kreist.txt
+++ b/npc/003-10/kreist.txt
@@ -105,7 +105,6 @@ L_QuestMaster:
// Explanation why the city needs that
if (.@q2 == Maggot ) {
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) {
mesq l("The %ss are the cause for all the little maggots to appear, so we need you to stop the problem at the source.", getmonsterlink(.@q2));
@@ -137,6 +136,7 @@ L_QuestMaster:
} else if (.@q2 == DesertLogHead) {
mesq l("The %ss are growing and disturbing the already rather infertile desert soil, preventing our crops from growing.", getmonsterlink(.@q2));
}
+ setq3 .@q3;
mesq l("So, please kill %d/%d %ss for us and make the city a better place!", get_byte(.@q3, 1), get_byte(.@q3, 0), getmonsterlink(.@q2));
close;
@@ -171,7 +171,8 @@ function script Guardhouse_RandQuestCheck {
getq2(General_MobHunting1) == .@mobId) {
.@q3=getq3(General_MobHunting1);
.@killamount=get_byte(.@q3, 1);
- setq3 General_MobHunting1, set_byte(.@q3, 1, .@killamount+1);
+ set_byte(.@q3, 1, .@killamount+1);
+ setq3 General_MobHunting1 .@q3;
if (!(.@killamount % 5))
dispbottom l("%d/%d %s killed", .@killamount, get_byte(.@q3, 0), getmonsterlink(.@mobId));
}