diff options
Diffstat (limited to 'npc')
-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) |