From ead07b277116fb09788d5138c3d6917414ecbe6e Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Mon, 6 Jun 2011 13:30:57 +0200 Subject: fix for a problem in maggot fight --- npc/042-2/mapflags.txt | 2 +- npc/042-2/tanisha.txt | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/042-2/mapflags.txt b/npc/042-2/mapflags.txt index b1cd5ab2..dab75985 100644 --- a/npc/042-2/mapflags.txt +++ b/npc/042-2/mapflags.txt @@ -1 +1 @@ -042-2.gat mapflag nosave 042-1,46,26; +042-2.gat mapflag nosave 042-1,82,78; diff --git a/npc/042-2/tanisha.txt b/npc/042-2/tanisha.txt index bbaf4b4b..6cb7f2d4 100644 --- a/npc/042-2/tanisha.txt +++ b/npc/042-2/tanisha.txt @@ -1,5 +1,10 @@ 042-2.gat,37,90,0 script Tanisha 114,{ +//TODO: fix the mapflag in 042-2 +//TODO: limit number of players for maggot fight + + if ((getx(0) > 29) && (getx(0) < 37) && (gety(0) > 84) && (gety(0) < 90)) goto L_Fighting; + if (FLAGS & FLAG_TUTORIAL_DONE) goto L_Tut_Done; if (tanisha == 4) goto L_Again; if (tanisha == 3) goto L_Stats; @@ -160,6 +165,10 @@ L_Tut_Done: mes "She sighs."; close; +L_Fighting: + message strcharinfo(0), "Tanisha: I believe in you!"; + end; + OnTimer1000: setnpctimer 0; if (getareausers("042-2.gat", 29, 85, 36, 90) < 1) -- cgit v1.2.3-70-g09d2