From defb7ecaaabcbaca879e559c3f87daf1d4456510 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jun 2018 20:03:41 -0300 Subject: Change soren spawn amount rules, to take nÂș of players around in account. It starts with higher numbers, but end with lower numbers. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/soren/main.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc') 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: -- cgit v1.2.3-60-g2f50