summaryrefslogtreecommitdiff
path: root/npc/042-2/tanisha.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-2/tanisha.txt')
-rw-r--r--npc/042-2/tanisha.txt18
1 files changed, 2 insertions, 16 deletions
diff --git a/npc/042-2/tanisha.txt b/npc/042-2/tanisha.txt
index b75bc99d..6fc7de1d 100644
--- a/npc/042-2/tanisha.txt
+++ b/npc/042-2/tanisha.txt
@@ -1,21 +1,5 @@
042-2.gat,37,90,0 script Tanisha 114,{
-// Comments(Remove it later):
-
-// 1) I used a temporary variable to count the kills, so if the player relog he will have to
-// kill the 5 maggots in a single fight.
-
-// 2) Changed the maggots spawn to one by one, at the exact place the player is standing, so
-// there is less chances of someone getting your kills from outside (It is possible when the
-// maggots are in the corner). And if someone insists in killing your maggots during the fight,
-// all that will happen is this person will finish the fight quickly leaving you alone with your maggots.
-
-// 3) Also, in the L_noheal label, I put a check so when there is no one fighting the npc timer
-// is stopped and set to zero.
-
-// 4) And I put a message in the middle of the fight, with tanisha commenting about the way the
-// maggots just keep popping out from nowhere.
-
set @playerlimit, 4;
if ((getx(0) > 29) && (getx(0) < 37) && (gety(0) > 84) && (gety(0) < 90)) goto L_Fighting;
@@ -275,7 +259,9 @@ L_NoHeal:
close;
onMaggotDeath:
+ if (@maggot == 1) message strcharinfo(0), "Tanisha: Aaahhhh... another one! It will crawl up your legs!";
if (@maggot == 2) message strcharinfo(0), "Tanisha: Ohh... Irrhk... Eeeeww... They just appear from nowhere!";
+ if (@maggot == 3) message strcharinfo(0), "Tanisha: Yuck... I think I am getting sick.";
if ((getx(0) > 29) && (getx(0) < 37) && (gety(0) > 84) && (gety(0) < 90)) set @maggot, @maggot + 1;
if (@maggot < 5 && (getx(0) <= 29) || (getx(0) >= 37) || (gety(0) <= 84) || (gety(0) >= 90)) monster "042-2.gat", 33, 87, "", 1002, 1, "Tanisha::onMaggotDeath";
if (@maggot < 5 && (getx(0) > 29) && (getx(0) < 37) && (gety(0) > 84) && (gety(0) < 90)) monster "042-2.gat", getx(0), gety(0), "", 1002, 1, "Tanisha::onMaggotDeath";