summaryrefslogtreecommitdiff
path: root/npc/instances/SealedShrine.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/instances/SealedShrine.txt')
-rw-r--r--npc/instances/SealedShrine.txt82
1 files changed, 41 insertions, 41 deletions
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
index da2244323..9f8dc6620 100644
--- a/npc/instances/SealedShrine.txt
+++ b/npc/instances/SealedShrine.txt
@@ -1,38 +1,44 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) Joseph
+//= Copyright (C) Gepard
+//= Copyright (C) L0ne_W0lf
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Sealed Shrine
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 2.3
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Seal away the Great Demon Baphomet.
-//===== Additional Comments: =================================
-//= 1.0 First version. [L0ne_W0lf]
-//= 1.1 Added setquest for instance cooldown. [L0ne_W0lf]
-//= 1.2 Fixed Torch#12 not being disabled. (bugreport:4044) [L0ne_w0lf]
-//= 1.3 Fixed cutins not being removed. (bugreport:4117) [L0ne_w0lf]
-//= 1.4 Fixed some typos. [Gepard]
-//= 1.5 Fixed not being able to enter dungeon for the first two hours.
-//= 1.6 Players should be able to re-take the quest after 12 hours now.
-//= Changed quest 3046 to 3040. This is the correct quest id.
-//= Removed checking quest 3045, unofficial check.
-//= 1.7 Fixed a checkquest condition never setting quest. [L0ne_W0lf]
-//= 1.8 Added 'instance_check_party' command to the script for proper checking if
-//= the invoking party meets the requirements to join the Memorial Dungeon.
-//= 1.9 Fixed broken else/if chaining. [Joseph]
-//= 2.0 Some optimization. [Euphy]
-//= 2.1 Fixed quest being removed before the 12 hours cool down. [Joseph]
-//= 2.2 Removed extra setquest (quest id:3040). [Joseph]
-//= 2.3 Instance system rewrite. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 2.3
+//=========================================================================
1@cata mapflag src4instance
2@cata mapflag src4instance
-//============================================================
-// Sealed Catacomb Entrance
-//============================================================
+//== Sealed Catacomb Entrance ==============================
monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{
cutin "ins_cata_pri_n",2;
mes "[Friar Patrick]";
@@ -430,8 +436,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{
}
}
-// Sealed Shrine Interior
-//============================================================
+//== Sealed Shrine Interior ================================
1@cata,1,2,0 script ins_baphomet_lotto -1,{
OnInstanceInit:
// Pick one "true" Gravestone and 12 "false" Gravestones.
@@ -484,8 +489,7 @@ OnMyMobDead:
end;
}
-// Soul of hero near the north grave
-//============================================================
+//== Soul of hero near the north grave =====================
1@cata,141,221,0 script Gravestone# CLEAR_NPC,3,3,{
.@party_id = getcharid(1);
if ('ins_baphomet == 0) {
@@ -812,8 +816,7 @@ OnInstanceInit:
end;
}
-// To 2F Warp
-//============================================================
+//== To 2F Warp ============================================
1@cata,281,12,0 script ins_bapho_to_2f WARPNPC,1,1,{
OnTouch:
if (countitem(6002) > 0) {
@@ -833,8 +836,7 @@ OnInstanceInit:
end;
}
-// Gravestones
-//============================================================
+//== Gravestones ===========================================
- script Gravestone#SS1 -1,{
if ('ins_baphomet == 1) {
getitem 6003,1; //Soul_Pendant
@@ -882,8 +884,7 @@ OnInstanceInit:
1@cata,127,32,0 duplicate(Gravestone#SS2) Gravestone#1F_12F CLEAR_NPC
1@cata,267,30,0 duplicate(Gravestone#SS2) Gravestone#1F_13F CLEAR_NPC
-// Bobbing Torches
-//============================================================
+//== Bobbing Torches =======================================
- script Bobbing Torch#SS -1,{
.@party_id = getcharid(1);
if (getpartyleader(.@party_id,2) == getcharid(0)) {
@@ -1084,8 +1085,7 @@ OnTouch:
end;
}
-// Magical Seals
-//============================================================
+//== Magical Seals =========================================
- script Magical Seal#SS -1,{
.@seal_check = questprogress(3041,PLAYTIME);
if (.@seal_check == 1) {