summaryrefslogtreecommitdiff
path: root/npc/other/dts_warper.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-21 11:38:07 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-21 11:38:07 +0000
commit92213a099890fab33c501f69c6ca7bd2c44bd307 (patch)
tree5446405056d186ea14208c80a854440a68e6ebd6 /npc/other/dts_warper.txt
parent348cd330565c71c6468f55dc15bef2f6a4042cd1 (diff)
downloadhercules-92213a099890fab33c501f69c6ca7bd2c44bd307.tar.gz
hercules-92213a099890fab33c501f69c6ca7bd2c44bd307.tar.bz2
hercules-92213a099890fab33c501f69c6ca7bd2c44bd307.tar.xz
hercules-92213a099890fab33c501f69c6ca7bd2c44bd307.zip
fixed 2 bugs in DTS.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8832 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/dts_warper.txt')
-rw-r--r--npc/other/dts_warper.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/other/dts_warper.txt b/npc/other/dts_warper.txt
index 8f36f9d95..7e6fc9129 100644
--- a/npc/other/dts_warper.txt
+++ b/npc/other/dts_warper.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Evera
//===== Current Version: =====================================
-//= 2.3
+//= 2.3a
//===== Compatible With: =====================================
//= eAthena
//===== Description: =========================================
@@ -69,6 +69,7 @@
//= Added $dtsday for vote session counter
//= Fixed bug that involved having both warpers enabled at the same time. [Evera]
//= New $dtsday system and bug fix[Evera]
+//= 2.3a fixed 2 bugs with comparision [Lupus]
//============================================================
//Yuno
@@ -222,7 +223,7 @@ lhz_in02.gat,36,274,3 script Cool Event Staff#02 831,{
mes "selecting our valued customers";
mes "to choose the company they want.";
next;
- if(dtseligible == 0 && baselevel >= 60 && MISC_QUEST&128 == 0 || dtseligible == 3 && baselevel >= 60 && MISC_QUEST&128 == 0) set dtseligible,1; //Clear previous var of dtseligible,3 being tried for eligibility already
+ if((dtseligible == 0 || dtseligible == 3) && baselevel >= 60 && MISC_QUEST&128 == 0)) set dtseligible,1; //Clear previous var of dtseligible,3 being tried for eligibility already
if(dtseligible != $dtsday && baselevel >= 60 && MISC_QUEST&128){
set MISC_QUEST,MISC_QUEST&~128;
set dtseligible,1;
@@ -519,7 +520,7 @@ function script F_DTS_Warp {
set $dts,$dts|(1<<0);
set $dts,$dts|(1<<3);
}
- if(dtseligible == 0 && baselevel >= 60 && MISC_QUEST&128 == 0 || dtseligible == 3 && baselevel >= 60 && MISC_QUEST&128 == 0) set dtseligible,1; //Clear previous var of dtseligible,3 being tried for eligibility already
+ if((dtseligible == 0 || dtseligible == 3) && baselevel >= 60 && MISC_QUEST&128 == 0) set dtseligible,1; //Clear previous var of dtseligible,3 being tried for eligibility already
if(dtseligible != $dtsday && baselevel >= 60 && MISC_QUEST&128){
set MISC_QUEST,MISC_QUEST&~128;
set dtseligible,1;