From cba4de9a5f7b9de412b9f458c80904cee9764a85 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Thu, 8 Sep 2011 19:33:15 +0200 Subject: Tutorial: small fixes and adjustments Tanisha: goto L_CleanUp whenever no players are in the area anymore and have one maggot in the area permanently Hasan: small typing error fixed --- world/map/npc/042-2/tanisha.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'world/map/npc/042-2') diff --git a/world/map/npc/042-2/tanisha.txt b/world/map/npc/042-2/tanisha.txt index c3c0d199..cc5d307a 100644 --- a/world/map/npc/042-2/tanisha.txt +++ b/world/map/npc/042-2/tanisha.txt @@ -209,7 +209,7 @@ L_Sleep: set @Maggot_Kills, 0; set @time, 0; if (getareausers("042-2.gat", 30, 85, 36, 89) == 0) - stopnpctimer; + goto L_CleanUp; goto L_Close; L_Fail: @@ -245,6 +245,7 @@ L_CleanUp: killmonster "042-2.gat", "Tanisha::OnMaggotDeath"; set $@Maggot_Hunters, 0; stopnpctimer; + areamonster "042-2.gat", 30, 85, 36, 89, "", 1002, 1, "Tanisha::OnMaggotDeath"; end; OnTick: @@ -276,7 +277,7 @@ OnMaggotDeath: set @Maggot_Kills, 0; set @time, 0; if (getareausers("042-2.gat", 30, 85, 36, 89) == 0) - stopnpctimer; + goto L_CleanUp; end; L_Close: @@ -285,4 +286,5 @@ L_Close: OnInit: set $@Maggot_MaxHunters, 4; + areamonster "042-2.gat", 30, 85, 36, 89, "", 1002, 1, "Tanisha::OnMaggotDeath"; } -- cgit v1.2.3-60-g2f50