From aa90af84e6bed1fc06b294f2694e24bb31f14353 Mon Sep 17 00:00:00 2001 From: toni Date: Sun, 23 Jan 2011 16:33:15 -0200 Subject: Crying child subquest. --- npc/027-1_Graveyard/_mobs.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'npc/027-1_Graveyard/_mobs.txt') 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; } -- cgit v1.2.3-70-g09d2