From 554942bb8205a0b2b3f136242c6824b3d7285c0e Mon Sep 17 00:00:00 2001 From: evera Date: Mon, 14 Aug 2006 08:13:21 +0000 Subject: 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 --- npc/other/Global_Functions.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc/other/Global_Functions.txt') 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); -- cgit v1.2.3-60-g2f50