summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/033-1/kimarr.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt
index 0e4b77af..490ca063 100644
--- a/world/map/npc/033-1/kimarr.txt
+++ b/world/map/npc/033-1/kimarr.txt
@@ -185,7 +185,10 @@ OnTimer1000:
goto L_GotOut;
if (PC_DIE_COUNTER > $@Fluffy_PC_Deaths)
goto L_Died;
-
+// Checking if there is more than 1 player in the fight area
+ if (getareausers("033-1.gat", 79, 28, 88, 42) > 1)
+ areatimer "033-1.gat", 79, 28, 88, 42, 10, "Kimarr::OnToomany";
+
set $@Fluffy_Time, $@Fluffy_Time + 1;
if ($@Fluffy_Time > 180)
goto L_TimeOver;
@@ -201,6 +204,16 @@ L_GotOut:
callsub S_Clean;
end;
+OnToomany:
+ if (getcharid(3) != $@Fluffy_FighterID)
+ goto L_Warp;
+ end;
+
+L_Warp:
+ warp "033-1.gat", 77, 34;
+ npctalk "Hey " + strcharinfo(0) + "! What are you doing there? This hunt is for " + $@Fluffy_Fighter$ + " alone!";
+ end;
+
L_Died:
warp "033-1.gat", 77, 34;
message strcharinfo(0), "You are dead.";