summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/soren-2/main.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/soren-2/main.txt b/npc/soren-2/main.txt
index a844634b4..f4be7b56d 100644
--- a/npc/soren-2/main.txt
+++ b/npc/soren-2/main.txt
@@ -47,7 +47,6 @@ OnCheck:
end;
OnSanctum:
- //setnpcdisplay .name$, NPC_NO_SPRITE;
++@sorensanctum;
// Decide if we'll spawn or add items. Previous failures are NOT considerated.
@@ -131,6 +130,10 @@ OnSanctum:
areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount;
}
+ // Revert sprite if needed
+ if (.@odds > 2000) {
+ setnpcdisplay .name$, NPC_NO_SPRITE;
+ }
// Handle maximum overtime you can do here: 10 cycles, or 3m20s ~ 6m40s
if (@sorensanctum == 8) {