forked from github/server
New and simplified combat rules.
To activate, define SIMPLE_COMBAT in your settings.h
This commit is contained in:
parent
5e57e78818
commit
50b94b730d
File diff suppressed because it is too large
Load Diff
|
@ -44,7 +44,9 @@ extern "C" {
|
||||||
struct bfaction * next;
|
struct bfaction * next;
|
||||||
struct side * sides;
|
struct side * sides;
|
||||||
struct faction *faction;
|
struct faction *faction;
|
||||||
|
#ifndef SIMPLE_COMBAT
|
||||||
int lastturn; /* last time this struct faction was involved in combat */
|
int lastturn; /* last time this struct faction was involved in combat */
|
||||||
|
#endif
|
||||||
boolean attacker;
|
boolean attacker;
|
||||||
} bfaction;
|
} bfaction;
|
||||||
|
|
||||||
|
@ -174,7 +176,9 @@ extern "C" {
|
||||||
struct item * items; /* items they take */
|
struct item * items; /* items they take */
|
||||||
#endif
|
#endif
|
||||||
} run;
|
} run;
|
||||||
|
#ifndef SIMPLE_COMBAT
|
||||||
int action_counter; /* number of active actions the struct unit did in the fight */
|
int action_counter; /* number of active actions the struct unit did in the fight */
|
||||||
|
#endif
|
||||||
#ifdef SHOW_KILLS
|
#ifdef SHOW_KILLS
|
||||||
int kills;
|
int kills;
|
||||||
int hits;
|
int hits;
|
||||||
|
|
Loading…
Reference in New Issue