From 8832adba3ec9df0f7f890154f69f0993b8d1d8e5 Mon Sep 17 00:00:00 2001 From: daegaladh Date: Wed, 1 Aug 2012 04:29:56 +0000 Subject: Full npc folder reorganization. (I hope I didn't break anything D:) -Now common scripts goes to the main npc folder, and pre-re-only/re-only ones goes to their respective folders. -NPCs with practically the same script but little differences have been left in the main folder and uses the command checkre() for the differences. -For those NPCs with different coordinates but same script, the script has been left in the main folder but the NPCs splitted as duplicates. -All pre-renewal files has been reverted back to their pre-renewal behavior. TODO: -Correct pre-re quest rewards. -Check for pre-re/re differences in mapflags. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16545 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/guild2/agit_start_se.txt | 51 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 npc/guild2/agit_start_se.txt (limited to 'npc/guild2/agit_start_se.txt') diff --git a/npc/guild2/agit_start_se.txt b/npc/guild2/agit_start_se.txt new file mode 100644 index 000000000..81e16ac36 --- /dev/null +++ b/npc/guild2/agit_start_se.txt @@ -0,0 +1,51 @@ +//===== rAthena Script ======================================= +//= War of Emperium SE - Auto-Start +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= rAthena SVN; RO Episode 11.3 +//===== Description: ========================================= +//= Auto Start for War of Emperium +//= To know how to set up WoE times, go to doc\woe_time_explanation.txt +//============================================= +//= gettime(3): Gets hour (24 hour time) +//= gettime(4): Gets day of week 1=Monday, 2=Tuesday, +//= 3=Wednesday, 4=Thursday, etc. +//===== Additional Comments: ================================= +//= 1.0 Copy/Paste of the original setter. +//============================================================ + +// WoE Start/Stop times +//============================================================ +- script Agit2_Event -1,{ + end; + +OnClock1800: //start time for Tues(2), Thurs(4) +OnClock2000: //end time for Tues(2), Thurs(4) +OnClock2100: //start time for Sat(6) +OnClock2300: //end time for Sat(6) + +OnAgitInit2: + // starting time checks + if((gettime(4)==2) && (gettime(3)>=18 && gettime(3)<21) || + (gettime(4)==4) && (gettime(3)>=18 && gettime(3)<21) || + (gettime(4)==6) && (gettime(3)>=22 && gettime(3)<23)) { + if (!agitcheck2()) { + AgitStart2; + } + end; + } + + // end time checks + if ((gettime(4)==2) && (gettime(3)==21) || + (gettime(4)==4) && (gettime(3)==21) || + (gettime(4)==6) && (gettime(3)==23)) { + if (agitcheck2()) { + AgitEnd2; + } + end; + } + end; +} -- cgit v1.2.3-60-g2f50