Переглянути джерело

fixed bug in dts warper that votes weren't counted on suunday

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7499 54d463be-8e91-2dee-dedb-b68131a5f0ec
evera 19 роки тому
батько
коміт
caf52acfd0
2 змінених файлів з 3 додано та 1 видалено
  1. 1 0
      npc/Changelog.txt
  2. 2 1
      npc/other/dts_warper.txt

+ 1 - 0
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]

+ 2 - 1
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;