summaryrefslogtreecommitdiff
path: root/npc/other
diff options
context:
space:
mode:
authorevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-15 20:48:32 +0000
committerevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-15 20:48:32 +0000
commit728b7c8ee510fe2b1f2a322f0b4d37823c61c49a (patch)
treef65f3943c155b8f5e01bef747897e218e99834e1 /npc/other
parent53e681e337208c6496d670284d984f7d793413cb (diff)
downloadhercules-728b7c8ee510fe2b1f2a322f0b4d37823c61c49a.tar.gz
hercules-728b7c8ee510fe2b1f2a322f0b4d37823c61c49a.tar.bz2
hercules-728b7c8ee510fe2b1f2a322f0b4d37823c61c49a.tar.xz
hercules-728b7c8ee510fe2b1f2a322f0b4d37823c61c49a.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7695 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other')
-rw-r--r--npc/other/Global_Functions.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index 451f937bf..d6a8eb869 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Lupus, kobra_k88
//===== Current Version: =====================================
-//= 2.01
+//= 2.02
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
@@ -23,6 +23,7 @@
//= 1.91 Added "F_SaveQuestSkills","F_Load?Skills" functions [Lupus]
//= 2.0 Fixed F_Save/LoadQuestSkills functions. Had to split in into 2 vars [Lupus]
//= 2.01 Added $talk to F_ClearGarbage [Evera]
+//= 2.02 Added $dtsglobalelig and $dts|(1<<6) to F_ClearGarbage [Evera]
//============================================================
@@ -67,6 +68,8 @@ function script F_ClearJobVar {
function script F_ClearGarbage {
// Clear outdated global VARS
if($talk) set $talk,0;
+ if($dtsglobalelig) set $dtsglobalelig,0;
+ if($dts&(1<<6)) set $dts,$dts&~(1<<6);
if(MARIANNE) {set MISC_QUEST,MISC_QUEST | 1; set MARIANNE,0;}
set MEAT,0; set MORRISON,0;
set BUNYBND,0; set TEMPESTRA,0;