diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-08 13:13:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-08 13:13:17 -0300 |
commit | 233b50661add05a5a80c7bd0d4bfece70ffba6fa (patch) | |
tree | d1f0328dc0b970040d7a9d4020e7e97c2a65640e /npc/soren-2/main.txt | |
parent | fbdb8546a37363185972c6d5e9cff7d0617945e9 (diff) | |
download | serverdata-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.txt | 8 |
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) |