From fbdb8546a37363185972c6d5e9cff7d0617945e9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jun 2018 13:01:06 -0300 Subject: Hide the summon circle when monsters are spawn at Soren's House. Ready for testing! --- npc/soren-2/main.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/soren-2') 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) { -- cgit v1.2.3-60-g2f50