summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/005-3/barrel.txt2
-rw-r--r--npc/005-7/trainer.txt6
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/005-3/barrel.txt b/npc/005-3/barrel.txt
index d01200f3f..7330129de 100644
--- a/npc/005-3/barrel.txt
+++ b/npc/005-3/barrel.txt
@@ -37,7 +37,7 @@ L_BarrelTally:
message strcharinfo(0), "You found the bug bomb.";
specialeffect(14);
specialeffect(51);
- killmonsterall("005-3");
+ killmonster("005-3", "Trainer::OnKillHouseMaggot");
setq CandorQuest_Barrel, 3;
}
@rand = rand(7);
diff --git a/npc/005-7/trainer.txt b/npc/005-7/trainer.txt
index ca8a8b24d..c7005eb4c 100644
--- a/npc/005-7/trainer.txt
+++ b/npc/005-7/trainer.txt
@@ -98,7 +98,7 @@ L_Trainment:
} else if (.@q == 3) {
mesq l("Less maggots means more food to the town. So, this time the monsters will be a little stronger.");
next;
- mesq l("In the storehouse, kill 5 @@. They keep respawning and are annoying.", getmonsterlink(HouseMaggot));
+ mesq l("In the storehouse, kill 4 @@. They keep respawning and are annoying.", getmonsterlink(HouseMaggot));
setq CandorQuest_Trainer, 4, 0;
} else if (.@q == 4) {
mesq l("You are killing @@ at the storehouse.", getmonsterlink(HouseMaggot));
@@ -514,12 +514,12 @@ OnKillHouseMaggot:
.@q=getq(CandorQuest_Trainer);
.@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2)
if (.@q == 4) {
- if (.@k+1 >= 5) {
+ if (.@k+1 >= 4) {
trainer_max_kills();
message strcharinfo(0), l("All house maggots are dead!");
} else {
trainer_add_kills();
- message strcharinfo(0), l("@@/5 House Maggots", .@k+1);
+ message strcharinfo(0), l("@@/4 House Maggots", .@k+1);
}
} else {
if (is_staff())