summaryrefslogtreecommitdiff
path: root/npc/soren-2/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 20:11:01 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 20:11:01 -0300
commit2515af4bad801f6db1b44309c3a558607fe92b2d (patch)
treec8ab4643f67a9bf3716ea50d1edb6eca8144336b /npc/soren-2/main.txt
parentfa7d289d7ad96ba2f0a49f826aee00086f1cf411 (diff)
downloadserverdata-2515af4bad801f6db1b44309c3a558607fe92b2d.tar.gz
serverdata-2515af4bad801f6db1b44309c3a558607fe92b2d.tar.bz2
serverdata-2515af4bad801f6db1b44309c3a558607fe92b2d.tar.xz
serverdata-2515af4bad801f6db1b44309c3a558607fe92b2d.zip
Modify soren-2 spawn/item cycles to consider nº of players around.
Each player gives you 10 extra seconds to deal with mobs.
Diffstat (limited to 'npc/soren-2/main.txt')
-rw-r--r--npc/soren-2/main.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/soren-2/main.txt b/npc/soren-2/main.txt
index 404cb66b5..adb3fd4e9 100644
--- a/npc/soren-2/main.txt
+++ b/npc/soren-2/main.txt
@@ -169,10 +169,11 @@ OnSanctum:
// Random 20~40 seconds before next cycle. (Minimum 100~200 seconds, or 1m40s~3m20s)
// If you're past minimum, it'll be a little slower to don't affect other players too much.
+ // These values are for single player. If there are more users, the timer will tick for longer.
if (@sorensanctum < 5)
- addtimer(rand(20000, 40000), "#SorenSanctum::OnSanctum");
+ addtimer(rand(10000, 30000)+getusers(1)*10000, "#SorenSanctum::OnSanctum");
else
- addtimer(rand(30000, 40000), "#SorenSanctum::OnSanctum");
+ addtimer(rand(20000, 30000)+getusers(1)*10000, "#SorenSanctum::OnSanctum");
end;