From 25a64bfba88fc3b03a6f8ebef897f447fb3fc61d Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 16 Feb 2007 20:53:05 +0000 Subject: - Updated the Dancer job quest to attach a player to the main timer script. - Updated script commands startnpctimer, stopnpctimer, initnpctimer so you can attach a player to them, this is done because the attach/detach functions can't be used to attach to a different script than the one currently running. - Some script code cleaning - Updated the script_command reference with the new flag values of [start/stop/init]npctimer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9872 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/2-2/dancer.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'npc/jobs/2-2') diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt index 459e93c94..b49fb7a3b 100644 --- a/npc/jobs/2-2/dancer.txt +++ b/npc/jobs/2-2/dancer.txt @@ -4,7 +4,7 @@ //= Kalen - Original jAthena //= Fredzilla - Converted //===== Current Version: ===================================== -//= 2.2 +//= 2.3 //===== Compatible With: ===================================== //= eAthena Final //===== Description: ========================================= @@ -24,6 +24,7 @@ //= 2.0 Changed numbers to constants. [Vicious] //= 2.1 Script check #1. [Lance] //= 2.2 Fixed unpassable part, thx2 Alis [Lupus] +//= 2.3 Updated initnpctimer to attach player to jobDq script [Skotlex] //============================================================ //= Warning Warp to escape the quest if need be @@ -689,7 +690,7 @@ job_duncer.gat,32,152,6 script Guide::dancew 69,{ OnWarp: warpwaitingpc "job_duncer.gat",70,112,1; disablewaitingroomevent; - initnpctimer "jobDq"; + initnpctimer "jobDq",1; end; OnInit: waitingroom "Dance lesson waiting room",20,"dancew::OnWarp",1; @@ -1052,6 +1053,6 @@ OnInit: // close; //Lgo: // warp "job_duncer.gat",70,112; -// initnpctimer "jobDq"; +// initnpctimer "jobDq",1; // end; //} -- cgit v1.2.3-70-g09d2