rathena/npc/guild2/agit_start_se.txt
euphyy f488861298 * Implemented Buwaya Cave instance.
* Implemented Bakonawa Lake instance.
* Monsters can now spawn on unwalkable cells, as required by the new instances. (credits: Akinari)
* Implemented 2012 RWC Enchants script, disabled by default.
* Reverted change to Mora Enchants from r17387, as the additional items are only present on iRO. (credits: Ziu)
* Fixed some errors from recent updates.
* Applied eol-style:native property to newly added files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-07-01 00:16:43 +00:00

46 lines
1.3 KiB
Plaintext

//===== 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 SE.
//= For instructions, see doc/woe_time_explanation.txt.
//===== Additional Comments: =================================
//= 1.0 Copy/Paste of the original setter.
//============================================================
- 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;
}