summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 13:01:06 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 13:01:06 -0300
commitfbdb8546a37363185972c6d5e9cff7d0617945e9 (patch)
tree8dbd9dfd6ccd3836bfde0c07411c4d4598f97c86
parent698624844aad54ad2c382a105b5fb24d3261d7c0 (diff)
downloadserverdata-fbdb8546a37363185972c6d5e9cff7d0617945e9.tar.gz
serverdata-fbdb8546a37363185972c6d5e9cff7d0617945e9.tar.bz2
serverdata-fbdb8546a37363185972c6d5e9cff7d0617945e9.tar.xz
serverdata-fbdb8546a37363185972c6d5e9cff7d0617945e9.zip
Hide the summon circle when monsters are spawn at Soren's House.
Ready for testing!
-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) {