summaryrefslogtreecommitdiff
path: root/npc/soren-2/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 13:13:17 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 13:13:17 -0300
commit233b50661add05a5a80c7bd0d4bfece70ffba6fa (patch)
treed1f0328dc0b970040d7a9d4020e7e97c2a65640e /npc/soren-2/main.txt
parentfbdb8546a37363185972c6d5e9cff7d0617945e9 (diff)
downloadserverdata-233b50661add05a5a80c7bd0d4bfece70ffba6fa.tar.gz
serverdata-233b50661add05a5a80c7bd0d4bfece70ffba6fa.tar.bz2
serverdata-233b50661add05a5a80c7bd0d4bfece70ffba6fa.tar.xz
serverdata-233b50661add05a5a80c7bd0d4bfece70ffba6fa.zip
Safeguards
Diffstat (limited to 'npc/soren-2/main.txt')
-rw-r--r--npc/soren-2/main.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/npc/soren-2/main.txt b/npc/soren-2/main.txt
index f4be7b56d..b203a462d 100644
--- a/npc/soren-2/main.txt
+++ b/npc/soren-2/main.txt
@@ -38,6 +38,7 @@ OnTouch:
dispbottom l("Error, contact Jesusalva! Missing warp. Healing & Reseting temporaly.");
percentheal 100, 100;
@sorensanctum=@sorensanctum-5;
+ //compareandsetq HurnscaldQuest_Celestia, 4, 5;
}
end;
@@ -133,6 +134,8 @@ OnSanctum:
// Revert sprite if needed
if (.@odds > 2000) {
setnpcdisplay .name$, NPC_NO_SPRITE;
+ } else if (!mobcount(.map$, "#SorenSanctum::OnCheck")) {
+ setnpcdisplay .name$, NPC_SUMMONING_CIRC;
}
// Handle maximum overtime you can do here: 10 cycles, or 3m20s ~ 6m40s
@@ -153,8 +156,11 @@ OnSanctum:
addtimer(rand(20000, 40000), "#SorenSanctum::OnSanctum");
end;
+
+
+
OnStart:
- // If you're past stage 4, skip this. I could set here to stage 5, so this
+ // If you're not on stage 4, skip this. I could set here to stage 5, so this
// intro won't play again. But if it plays again, your progress is reset, and
// it is harder this way, so I'm not touching on quest state :>
if (getq(HurnscaldQuest_Celestia) != 4)