From 1428924fc286b2b1f7f0a8330715bd514a181a59 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 5 Jun 2018 19:11:34 -0300 Subject: Small optimization to Crazyfefe's cave --- npc/006-1/crazyfefe.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index fff57a68e..870c618e8 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -66,7 +66,7 @@ L_StartFight: $@FIGHT_CAVE_LEVEL = 1; $@FEFE_DELAY = gettimetick(2)+.delay; $@FIGHT_CAVE_PLAYER_COUNT = getmapusers("006-1"); - mapannounce("006-1", "Let the battle begin!", bc_map); + mapannounce("006-1", "The battle is about to begin!", bc_map); initnpctimer; end; @@ -86,6 +86,10 @@ L_AlreadyStarted: L_Wait: .@time$=FuzzyTime($@FEFE_DELAY,2,2); + if ($@FEFE_DELAY-gettimetick(2) <= 30) { + npctalk3 l("@@!", .@time$); + end; + } mesn; mesq l("Be Patient... You still need to wait @@.", .@time$); goto L_Exit; @@ -181,7 +185,7 @@ L_Summon: default: .@monsterId = AngryScorpion ; break; } - areamonster "006-1", 20, 20, 70, 60, "", .@monsterId, .@amount, "Crazyfefe::OnPetDeath"; + areamonster "006-1", 20, 20, 70, 60, strmobinfo(1, .@monsterId), .@monsterId, .@amount, "Crazyfefe::OnPetDeath"; } initnpctimer; end; @@ -235,6 +239,6 @@ OnInit: .sex=G_OTHER; .distance=5; .price=8000; - .delay=(60*60*4); + .delay=(60*60*1); end; } -- cgit v1.2.3-60-g2f50