From ee591ca2186a863e35c1535cae8284862c80d146 Mon Sep 17 00:00:00 2001 From: John Redford Date: Sun, 14 Jun 2015 00:47:08 -0500 Subject: [PATCH] Update outside.js Changed sickness event to kill up to half of the villagers instead of up to 20. --- script/events/outside.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/events/outside.js b/script/events/outside.js index c2baeb157..696f75d36 100644 --- a/script/events/outside.js +++ b/script/events/outside.js @@ -135,7 +135,7 @@ Events.Outside = [ _('the nights are rent with screams.') ], onLoad: function() { - var numKilled = Math.floor(Math.random() * 20) + 1; + var numKilled = Math.floor(Math.random() * Math.floor($SM.get('game.population', true)/2)) + 1; Outside.killVillagers(numKilled); }, buttons: {