summaryrefslogtreecommitdiff
path: root/npc/027-1_Graveyard
diff options
context:
space:
mode:
authortoni <toni@toni-EP45-UD3L.(none)>2011-01-23 16:33:15 -0200
committertoni <toni@toni-EP45-UD3L.(none)>2011-01-23 16:33:15 -0200
commitaa90af84e6bed1fc06b294f2694e24bb31f14353 (patch)
tree188bdcf196803c0fe0f153a8662ea84ccfdb96df /npc/027-1_Graveyard
parentc78188c84eb69b026754fe2887aca2c80acb0e70 (diff)
downloadserverdata-aa90af84e6bed1fc06b294f2694e24bb31f14353.tar.gz
serverdata-aa90af84e6bed1fc06b294f2694e24bb31f14353.tar.bz2
serverdata-aa90af84e6bed1fc06b294f2694e24bb31f14353.tar.xz
serverdata-aa90af84e6bed1fc06b294f2694e24bb31f14353.zip
Crying child subquest.
Diffstat (limited to 'npc/027-1_Graveyard')
-rw-r--r--npc/027-1_Graveyard/_mobs.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/npc/027-1_Graveyard/_mobs.txt b/npc/027-1_Graveyard/_mobs.txt
index 372c2833..118ce586 100644
--- a/npc/027-1_Graveyard/_mobs.txt
+++ b/npc/027-1_Graveyard/_mobs.txt
@@ -42,6 +42,7 @@ On1024:
On1036:
set @mobID, 1036;
+ callsub _MOBCOUNT_ZOMBIES;
callfunc "MobPoints";
break;
@@ -67,6 +68,7 @@ On1044:
On1045:
set @mobID, 1045;
+ callsub _MOBCOUNT_FALLENS;
callfunc "MobPoints";
break;
@@ -75,5 +77,27 @@ On1047:
callfunc "MobPoints";
break;
+_MOBCOUNT_ZOMBIES:
+ if (QUEST_GYINN != 1) return;
+// You have to kill 50?(or more?) zombies OR 50?(or more?) fallens. If you close the client, the @zombies count go back to zero.
+ set @zombies, @zombies + 1;
+// This is in DEBUG mode. That is the reason for the message.
+ message strcharinfo(0), "I killed " +@zombies+ " zombies. Now I need to kill only " +(50-@zombies)+ ".";
+ if (@zombies < 50) return;
+ message strcharinfo(0), "You found a strange bracelet hidden in the zombie's rotten rags. Maybe this is what the Crying child was looking for...";
+ set QUEST_GYINN, 2;
+ return;
+
+_MOBCOUNT_FALLENS:
+ if (QUEST_GYINN != 1) return;
+// You have to kill 50?(or more?) fallens OR 50?(or more?) zombies. If you close the client, the @fallens count go back to zero.
+ set @fallens, @fallens + 1;
+// This is in DEBUG mode. That is the reason for the message.
+ message strcharinfo(0), "I killed " +@fallens+ " fallens. Now I need to kill only " +(50-@fallens)+ ".";
+ if (@fallens < 50) return;
+ message strcharinfo(0), "You found a strange bracelet inside the fallen's broken helmet. Maybe this is what the Crying child was looking for...";
+ set QUEST_GYINN, 2;
+ return;
+
end;
}