summaryrefslogtreecommitdiff
path: root/npc/other
diff options
context:
space:
mode:
authorevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-16 04:33:08 +0000
committerevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-16 04:33:08 +0000
commit8a854736a84b90fa3cd8cb487d5e6c375c1ef04a (patch)
treed84d49daf15f6299b33cd0953633eedf0acc3a5a /npc/other
parentf161d9dbb231bcf1ed0cfda89eeba5589faf3cd2 (diff)
downloadhercules-8a854736a84b90fa3cd8cb487d5e6c375c1ef04a.tar.gz
hercules-8a854736a84b90fa3cd8cb487d5e6c375c1ef04a.tar.bz2
hercules-8a854736a84b90fa3cd8cb487d5e6c375c1ef04a.tar.xz
hercules-8a854736a84b90fa3cd8cb487d5e6c375c1ef04a.zip
fixed dts, changed kafra_pay, kafra_dungeons, and functions_kafra
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6616 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other')
-rw-r--r--npc/other/dts_warper.txt15
1 files changed, 5 insertions, 10 deletions
diff --git a/npc/other/dts_warper.txt b/npc/other/dts_warper.txt
index 5c63c662e..c68d0cf78 100644
--- a/npc/other/dts_warper.txt
+++ b/npc/other/dts_warper.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Evera
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena
//===== Description: =========================================
@@ -44,8 +44,10 @@
//= Pretty sure there are more locations I didn't find.
//= Uses random (1/4) chance of being eligible to vote. Real quest is that you can vote after doing
//= President's Quest, which isn't yet released.
+//= Default time to check votes is Sunday at 0:00. GM Configurable through Saera.
//===== Version History: ====================================
-//= 1.2 Mushed some variables together, optimized a bit
+//= 1.3 Removed selfconfig [Evera]
+//= 1.2 Mushed some variables together, optimized a bit [Evera]
//= 1.1 SVN release, removed from major town (found true info after research),
//= put more arg(2) parameters, fixed a few bugs [Evera] (5/11/06)
//= 1.0 Initial release [Evera] (5/10/06)
@@ -1027,7 +1029,7 @@ function script F_DTS_Warp {
//Elections administration NPC (hidden)
- script DTS_Admin -1,{
- OnHour1:
+ OnHour01:
if($dtsday == gettime(4)) goto Lcheck; //Works only at 1am
end; //Goes to Lcheck for ability of manual check.
Lcheck: //Checks to see if today is day to count votes
@@ -1069,11 +1071,4 @@ function script F_DTS_Warp {
set $dtskafra,0;
}
end;
- OnInit:
- if($dtsdaydef == 0) goto Lselfconfig; //If $dtsdaydef is 0 (not run before), start self config
- end;
- Lselfconfig: //Self config, for first time run.
- set $dtsday,gettime(4); //Sets day to count votes and change services
- set $dtsdaydef,1; //Sets $dtsdaydef 1 to avoid self config again
- end; //GM can change day by talking to NPC in Cool Corp Headquarters
} \ No newline at end of file