/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
* Known contributors to this file:
* Pat Loney, 1992
* Steve McClure, 1997
+ * Markus Armbruster, 2004-2012
*/
#include <config.h>
+#include "chance.h"
#include "commands.h"
#include "item.h"
-#include "lost.h"
#include "optlist.h"
/*
sect.sct_mobil = 0;
}
sect.sct_loyal = sect.sct_loyal * 0.5;
- n_cheleft = (random() % 4);
+ n_cheleft = roll0(4);
/* 75% chance some che will get left */
if (n_cheleft) {
/* Ok, now leave anywhere from 16% to 25% of the che */