summaryrefslogtreecommitdiff
path: root/npc/soren
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 20:03:41 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 20:03:41 -0300
commitdefb7ecaaabcbaca879e559c3f87daf1d4456510 (patch)
tree7bc7ee4963f4afcc49296fe3416b6dc9ccefbe99 /npc/soren
parent08283fa5f2fd38eccb37076c422bfe677af837c7 (diff)
downloadserverdata-defb7ecaaabcbaca879e559c3f87daf1d4456510.tar.gz
serverdata-defb7ecaaabcbaca879e559c3f87daf1d4456510.tar.bz2
serverdata-defb7ecaaabcbaca879e559c3f87daf1d4456510.tar.xz
serverdata-defb7ecaaabcbaca879e559c3f87daf1d4456510.zip
Change soren spawn amount rules, to take nº of players around in account.
It starts with higher numbers, but end with lower numbers.
Diffstat (limited to 'npc/soren')
-rw-r--r--npc/soren/main.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/soren/main.txt b/npc/soren/main.txt
index 539f10342..161086c81 100644
--- a/npc/soren/main.txt
+++ b/npc/soren/main.txt
@@ -117,7 +117,7 @@ OnTimer31000:
percentheal .@val, -15;
// Monster Gen
- .@amount=rand(.st/2+1, .st+1);
+ .@amount=rand(.st/3+1, .st/2+1)+getareausers("001-7", 12);
.@mid=rand(1,3)+.st;
switch (.@mid) {
case 1:
@@ -265,7 +265,7 @@ OnTimer30900:
percentheal .@val, -15;
// Monster Gen. Lake spawns less
- .@amount=rand(.st/3+1, .st/2+1);
+ .@amount=rand(.st/3+1, .st/2+1)+getareausers("001-7", 12)-1;
.@mid=rand(1,3)+.st;
switch (.@mid) {
case 1:
@@ -410,7 +410,7 @@ OnTimer31200:
percentheal .@val, -15;
// Monster Gen. Gizmo spawns more monsters because you can move more
- .@amount=rand(.st/2+2, .st+2);
+ .@amount=rand(.st/3+1, .st/2+1)+getareausers("001-7", 12)+1;
.@mid=rand(1,3)+.st;
switch (.@mid) {
case 1: