From a571612ea5ed381d88e4319345a035fbb2dbe1d2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 30 Jun 2018 16:22:14 -0300 Subject: Fix bugs or add security --- npc/005-1/warpcandorbattle.txt | 2 +- npc/006-1/crazyfefe.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/005-1/warpcandorbattle.txt b/npc/005-1/warpcandorbattle.txt index be0e8d622..197443974 100644 --- a/npc/005-1/warpcandorbattle.txt +++ b/npc/005-1/warpcandorbattle.txt @@ -9,7 +9,7 @@ OnTouch: if (BaseLevel >= 40 && !$@FEFE_CAVE_LEVEL) warp "006-1", 49, 53; - else if (BaseLevel >= 40) + else if (BaseLevel < 40) npctalk l("You don't have the required level to pass this barrier."); else npctalk l("You can't pass this barrier while people are fighting inside!"); diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 556e57e8c..7e812fc6e 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -207,6 +207,8 @@ L_CleanUp: $@FEFE_CAVE_HERO$ = ""; killmonster "006-1", "Crazyfefe::OnPetDeath"; stopnpctimer; + initnpctimer; + stopnpctimer; end; -- cgit v1.2.3-70-g09d2