From cd71949def7c2c9b86991b92f4462136671757a3 Mon Sep 17 00:00:00 2001 From: wushin Date: Wed, 25 Dec 2013 09:08:06 -0600 Subject: Annual Xmas Event --- world/map/npc/019-1/mobmanager.txt | 40 -------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 world/map/npc/019-1/mobmanager.txt (limited to 'world/map/npc/019-1/mobmanager.txt') diff --git a/world/map/npc/019-1/mobmanager.txt b/world/map/npc/019-1/mobmanager.txt deleted file mode 100644 index 22917bea..00000000 --- a/world/map/npc/019-1/mobmanager.txt +++ /dev/null @@ -1,40 +0,0 @@ -// Spawns mobs - -019-1.gat,0,0,0|script|SpawnManager|-1, -{ - end; // just to be secure - -OnInit: - set $@019_1_SANTASLIME_MONSTER_MAX_NUMBER,15; - set $@019_1_SANTASLIME_MOMSTER_ID,1015; - set $@019_1_SANTASLIME_MONSTER_SPAWN_X1,32; - set $@019_1_SANTASLIME_MONSTER_SPAWN_Y1,31; - set $@019_1_SANTASLIME_MONSTER_SPAWN_X2,111; - set $@019_1_SANTASLIME_MONSTER_SPAWN_Y2,101; - set $@019_1_SANTASLIME_month,gettime(6); - set $@019_1_SANTASLIME_monster_number,0; - if (debug >= 2) end; - initnpctimer; - if ($@019_1_SANTASLIME_month == 12 || $@019_1_SANTASLIME_month == 1 || $@019_1_SANTASLIME_month == 2) goto L_Init_Spawn; - end; - -L_Init_Spawn: - areamonster "019-1.gat", $@019_1_SANTASLIME_MONSTER_SPAWN_X1, $@019_1_SANTASLIME_MONSTER_SPAWN_Y1, $@019_1_SANTASLIME_MONSTER_SPAWN_X2, $@019_1_SANTASLIME_MONSTER_SPAWN_Y2, "Santa Slime", $@019_1_SANTASLIME_MOMSTER_ID, $@019_1_SANTASLIME_MONSTER_MAX_NUMBER, "SpawnManager::OnMonsterDeath"; - set $@monster_number,$@019_1_SANTASLIME_MONSTER_MAX_NUMBER; - end; - -L_Spawn: - areamonster "019-1.gat", $@019_1_SANTASLIME_MONSTER_SPAWN_X1, $@019_1_SANTASLIME_MONSTER_SPAWN_Y1, $@019_1_SANTASLIME_MONSTER_SPAWN_X2, $@019_1_SANTASLIME_MONSTER_SPAWN_Y2, "Santa Slime", $@019_1_SANTASLIME_MOMSTER_ID, 1, "SpawnManager::OnMonsterDeath"; - set $@019_1_SANTASLIME_monster_number,$@019_1_SANTASLIME_monster_number+1; - end; - -OnTimer20000: - initnpctimer; - set $@019_1_SANTASLIME_month,gettime(6); - if (($@019_1_SANTASLIME_month == 12 || $@019_1_SANTASLIME_month == 1 || $@019_1_SANTASLIME_month == 2) && $@019_1_SANTASLIME_monster_number < $@019_1_SANTASLIME_MONSTER_MAX_NUMBER) goto L_Spawn; - end; - -OnMonsterDeath: - set $@019_1_SANTASLIME_monster_number,$@019_1_SANTASLIME_monster_number-1; - end; -} -- cgit v1.2.3-70-g09d2