From b2ce50be2a8f9c4c98b55191dc13ec9d2035efb4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 27 May 2019 10:13:52 -0300 Subject: Attempt to fix a bug with mobpoint system for Hinnak --- npc/012-1/hinnak.txt | 1 + npc/functions/mobpoint.txt | 2 ++ 2 files changed, 3 insertions(+) (limited to 'npc') diff --git a/npc/012-1/hinnak.txt b/npc/012-1/hinnak.txt index df7bb1c0d..931027e55 100644 --- a/npc/012-1/hinnak.txt +++ b/npc/012-1/hinnak.txt @@ -48,6 +48,7 @@ OnKillPinkie: if (! (.@q2+1) % 10) dispbottom l("@@ pinkies killed on @@'s field.", .@q2+1, l("Oscar")); } + killedrid=Pinkie; doevent "#mobptsys::OnNPCKillEvent"; end; diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 8b88c1cb2..0b38d3311 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -43,6 +43,8 @@ OnNPCKillEvent: callfunc "mobpoint"; callfunc "mobhunter"; callfunc "SQuest_Hasan"; + + killedrid=0; end; // When you kill a player, some special care is needed -- cgit v1.2.3-70-g09d2