diff options
-rw-r--r-- | npc/soren-2/main.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/npc/soren-2/main.txt b/npc/soren-2/main.txt index 23a0d5ed1..cbae53d7a 100644 --- a/npc/soren-2/main.txt +++ b/npc/soren-2/main.txt @@ -43,8 +43,9 @@ OnTouch: end; OnCheck: - if (!mobcount(.map$, "#SorenSanctum::OnCheck")) - setnpcdisplay .name$, NPC_SUMMONING_CIRC; + // This doesn't works (or didn't used to), maybe because the way it's called + if (!mobcount("soren-2", "#SorenSanctum::OnCheck")) + setnpcdisplay "#SorenSanctum", NPC_SUMMONING_CIRC; end; OnSanctum: @@ -153,7 +154,11 @@ OnSanctum: } // Random 20~40 seconds before next cycle. (Minimum 100~200 seconds, or 1m40s~3m20s) - addtimer(rand(20000, 40000), "#SorenSanctum::OnSanctum"); + // If you're past minimum, it'll be a little slower to don't affect other players too much. + if (@sorensanctum < 5) + addtimer(rand(20000, 40000), "#SorenSanctum::OnSanctum"); + else + addtimer(rand(30000, 40000), "#SorenSanctum::OnSanctum"); end; |