summaryrefslogtreecommitdiff
path: root/npc/other/Global_Functions.txt
diff options
context:
space:
mode:
authorevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-14 08:13:21 +0000
committerevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-14 08:13:21 +0000
commit554942bb8205a0b2b3f136242c6824b3d7285c0e (patch)
tree0808fadf2a8318a06f7b46411ae2034f5bc5b90d /npc/other/Global_Functions.txt
parentb69a878e648239e073a422e7cb8d10aea5ba55e3 (diff)
downloadhercules-554942bb8205a0b2b3f136242c6824b3d7285c0e.tar.gz
hercules-554942bb8205a0b2b3f136242c6824b3d7285c0e.tar.bz2
hercules-554942bb8205a0b2b3f136242c6824b3d7285c0e.tar.xz
hercules-554942bb8205a0b2b3f136242c6824b3d7285c0e.zip
updated dts_warper.txt to use MISC_QUEST|128 instead of dtseligible,2
Added that to garbage cleaning Added garbage cleaning func call to dts_warper.txt (only makes sense) And I did this at 1am, so look for bugs before I merge to stable, and report on forums. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8266 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/Global_Functions.txt')
-rw-r--r--npc/other/Global_Functions.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index 8ffb48686..1b54e5059 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -25,6 +25,7 @@
//= 2.01 Added $talk to F_ClearGarbage [Evera]
//= 2.02 Added $dtsglobalelig and $dts|(1<<6) to F_ClearGarbage [Evera]
//= 2.03 Added Gunslinger vars to F_ClearJobVar [Lupus]
+//= 2.04 Added dtseligible 3 (becomes MISC_QUEST|128) to F_ClearGarbage [Evera]
//============================================================
@@ -69,6 +70,8 @@ function script F_ClearJobVar {
function script F_ClearGarbage {
// Clear outdated global VARS
+ if(dtseligible == 2) set MISC_QUEST,MISC_QUEST|128;
+ if(dtseligible == 3) set dtseligible,0;
if($talk) set $talk,0;
if($dtsglobalelig) set $dtsglobalelig,0;
if($dts&(1<<6)) set $dts,$dts&~(1<<6);