summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-30 16:22:14 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-30 16:22:14 -0300
commita571612ea5ed381d88e4319345a035fbb2dbe1d2 (patch)
tree95e0cc194eb29203439e9f381013958f8265a988
parent7c9def923c3230dc2b9cface610576678697a819 (diff)
downloadserverdata-a571612ea5ed381d88e4319345a035fbb2dbe1d2.tar.gz
serverdata-a571612ea5ed381d88e4319345a035fbb2dbe1d2.tar.bz2
serverdata-a571612ea5ed381d88e4319345a035fbb2dbe1d2.tar.xz
serverdata-a571612ea5ed381d88e4319345a035fbb2dbe1d2.zip
Fix bugs or add security
-rw-r--r--npc/005-1/warpcandorbattle.txt2
-rw-r--r--npc/006-1/crazyfefe.txt2
2 files changed, 3 insertions, 1 deletions
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;