forked from github/server
- Kleinkram, Reichweite der DrachenRegionsSuche erhöht.
This commit is contained in:
parent
e092cdf52b
commit
e84dffb9a2
|
@ -428,7 +428,7 @@ static boolean
|
||||||
set_movement_order(unit * u, const region * target, int moves, boolean (*allowed)(const region *, const region *))
|
set_movement_order(unit * u, const region * target, int moves, boolean (*allowed)(const region *, const region *))
|
||||||
{
|
{
|
||||||
region * r = u->region;
|
region * r = u->region;
|
||||||
region ** plan = path_find(r, target, DRAGON_RANGE, allowed);
|
region ** plan = path_find(r, target, DRAGON_RANGE*5, allowed);
|
||||||
int position = 0;
|
int position = 0;
|
||||||
char * c;
|
char * c;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#ifndef MONSTER_H
|
#ifndef MONSTER_H
|
||||||
#define MONSTER_H
|
#define MONSTER_H
|
||||||
|
|
||||||
#define DRAGON_RANGE 6 /* Max. Distanz zum nächsten Drachenziel */
|
#define DRAGON_RANGE 20 /* Max. Distanz zum nächsten Drachenziel */
|
||||||
|
|
||||||
void age_illusion(struct unit *u);
|
void age_illusion(struct unit *u);
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#define RESOURCE_QUANTITY 0.5
|
#define RESOURCE_QUANTITY 0.5
|
||||||
#define TEACHDIFFERENCE 2
|
#define TEACHDIFFERENCE 2
|
||||||
#define GIVERESTRICTION 0
|
#define GIVERESTRICTION 0
|
||||||
#define NEWATSROI 1
|
#define NEWATSROI 0
|
||||||
#if NEWATSROI == 1
|
#if NEWATSROI == 1
|
||||||
#define ATSBONUS 2
|
#define ATSBONUS 2
|
||||||
#define ROIBONUS 4
|
#define ROIBONUS 4
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
#undef XMAS1999
|
#undef XMAS1999
|
||||||
#undef XMAS2000
|
#undef XMAS2000
|
||||||
#undef XMAS2001
|
#undef XMAS2001
|
||||||
#define XMAS2002
|
#undef XMAS2002
|
||||||
|
|
||||||
extern void reorder_owners(struct region * r);
|
extern void reorder_owners(struct region * r);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue