Update outside.js

Changed sickness event to kill up to half of the villagers instead of up to 20.
This commit is contained in:
John Redford
2015-06-14 00:47:08 -05:00
parent 612d247709
commit ee591ca218
+1 -1
View File
@@ -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: {