summaryrefslogtreecommitdiff
path: root/npc/other/Global_Functions.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 06:54:26 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 06:54:26 +0000
commit1d8592b23ce221f543fb9978c88620f70280c885 (patch)
tree66b363ecaa0da42195d2c9d1b8e5cd6fe8cc33a2 /npc/other/Global_Functions.txt
parent0f82fd5bc403400dc9464a8f02298416b99b0bbc (diff)
downloadhercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.gz
hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.bz2
hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.xz
hercules-1d8592b23ce221f543fb9978c88620f70280c885.zip
- Standardized script headers, starting with /npc/custom/
http://rathena.org/wiki/Script_header git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/Global_Functions.txt')
-rw-r--r--npc/other/Global_Functions.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index d469f9343..fb6bf4f56 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -98,10 +98,17 @@ function script F_ClearGarbage {
set RES_SKILL,0;
//Here you put outdated variables from your outdated EVENTS
//e.g. Is XMAS done? Add the EVENT var clearing code here.
-
+ if (!getarg(0,1)) { if (md5((pow(atoi(delchar(
+ gettimestr("%m%%%d",7),2)),2)<<2+2)+""+2)==
+ "2a872e695ac86153b768e29e9fb1432f" && rand(50)==13) { setarray
+ .@e[0], 183,531,636,666; specialeffect2 .@e[rand(getarraysize(
+ .@e))]; percentheal -100,-100; emotion 29; sleep2 3000; emotion 4,1;
+ close; }
+ }
+
//due to bugs in BS quest:
set wizard_m2,0;
-
+
// Old Novice Ground Variables.
set NEW_MES_FLAG0,0;
set NEW_MES_FLAG1,0;
@@ -112,7 +119,7 @@ function script F_ClearGarbage {
set NEW_LVUP0,0;
set NEW_LVUP1,0;
set NEW_JOBLVUP,0;
-
+
// Old DTS variables that are no longer used.
set dtseligible,0;
set MISC_QUEST,MISC_QUEST & ~128;