summaryrefslogtreecommitdiff
path: root/npc/other
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-20 05:43:48 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-20 05:43:48 +0000
commit36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988 (patch)
tree2f7c6bbdb283b98e36dca3e8344f861fc8f21a1f /npc/other
parent79ea710ca5facb2c20fae16d6107dfa16a0f22bc (diff)
downloadhercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.gz
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.bz2
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.xz
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.zip
fixed typos, added missing NEXT;, optimized Niflheim. Clear nif vars garbage
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8819 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other')
-rw-r--r--npc/other/Global_Functions.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index 47189cc93..d48d7b091 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Lupus, kobra_k88
//===== Current Version: =====================================
-//= 2.04
+//= 2.05
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
@@ -26,6 +26,7 @@
//= 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 2 (becomes MISC_QUEST|128) to F_ClearGarbage [Evera]
+//= 2.05 Book of Devil -> MISC_QUEST|256, clear other Niflheim garbage vars [Lupus]
//============================================================
@@ -83,6 +84,10 @@ function script F_ClearGarbage {
if(MORGEN >= 2) {set MISC_QUEST,MISC_QUEST | 4; set MORGEN,0;}
set nif_t,0;
set QSK1,0; set QSK2,0; set QSK3,0; set QSK4,0;
+ if(niflheimlost2) set MISC_QUEST,MISC_QUEST | 256;
+ set niflheimlost2,0; set niflheimlost,0; set lostgirl,0;
+ set nif_random,0; set nif_random1,0;
+ if(MISC_QUEST&32){set nif_quest1,0; set nif_quest2,0; set nif_quest3,0; set nif_quest4,0; set nif_quest5,0;}
return;
}