summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-04 04:38:20 +0000
committerevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-04 04:38:20 +0000
commitaf6ccb5031f502fcdc3e39dbe042cf292443da07 (patch)
tree3b159121a61f6a3a324ad5e4518581652c06b188
parent1f54f0e26332de0eaf71dd36643459a5084c5635 (diff)
downloadhercules-af6ccb5031f502fcdc3e39dbe042cf292443da07.tar.gz
hercules-af6ccb5031f502fcdc3e39dbe042cf292443da07.tar.bz2
hercules-af6ccb5031f502fcdc3e39dbe042cf292443da07.tar.xz
hercules-af6ccb5031f502fcdc3e39dbe042cf292443da07.zip
fixed bug in dts warper that votes weren't counted on suunday
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7499 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/Changelog.txt1
-rw-r--r--npc/other/dts_warper.txt3
2 files changed, 3 insertions, 1 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 18ce2aa5a..f829ee8b9 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -39,6 +39,7 @@ Playtester
Date Added
======
07/03
+ * Fixed bug in DTS warper that votes weren't counted on Sunday [Evera]
* eAAC update to donation girl. [erKURITA]
* Split cities/einbroch.txt to cities/einbroch.txt and quests/quests_einbroch.txt [Evera]
- Fixed some small typos [Evera]
diff --git a/npc/other/dts_warper.txt b/npc/other/dts_warper.txt
index 080f7d05a..4925f6552 100644
--- a/npc/other/dts_warper.txt
+++ b/npc/other/dts_warper.txt
@@ -46,6 +46,7 @@
//= Gives 1/4 chance of being eligible. Real way to be eligible is through
//= President's Quest, which isn't yet released.
//===== Version History: ====================================
+//= 1.7 Fixed bug of DTS_Admin not running by itself [Evera] (7/03/06)
//= 1.6 Removed Duplicates [Silent]
//= 1.5 Mushed voting varialbes into 1 variable. [Evera] (5/29/06)
//= 1.4 Changed global variables to read from 3 global variables, updated names,
@@ -879,7 +880,7 @@ function script F_DTS_Warp {
//Elections administration NPC (hidden)
- script DTS_Admin -1,{
- On000100: //Works only at 1am on sunday
+ OnSun0100: //Works only at 1am on sunday
if($dtsv == 0){ //If tied, gives random side 100 votes
set $@dtstemp,rand(1,2);
if($@dtstemp == 1) set $dtsv,$dtsv+100;