tfv: adjust encounter rate

This commit is contained in:
Vince Weaver 2018-07-15 22:26:23 -04:00
parent 65f594ece1
commit 42fe42e537

View File

@ -17,6 +17,7 @@
#include "tfv_mapinfo.h"
// debug
static int random_encounters=1;
unsigned char map_location=LANDING_SITE;
@ -139,7 +140,7 @@ int world_map(void) {
int i,tree_limit;
int newx=0,newy=0,moved;
int special_destination=NOEXIT,destination_type=LOCATION_PLACE;
int next_encounter=20;
int next_encounter=32;
int odd=0;
int refresh=1;
int entry=0;
@ -251,7 +252,7 @@ int world_map(void) {
if (next_encounter==0) {
do_battle(map_info[map_location].ground_color);
refresh=1;
next_encounter=20+(random_8()%32);
next_encounter=32+(random_8()%32);
}
}