forked from github/server
Dracoiden greifen in der Runde an, in der sie "rekrutiert" wurden
This commit is contained in:
parent
6f51f73769
commit
279a791c9b
|
@ -758,6 +758,8 @@ recruit_dracoids(unit * dragon, int size)
|
|||
order * new_order;
|
||||
unit *un = createunit(r, f, size, new_race[RC_DRACOID]);
|
||||
|
||||
fset(un, UFL_ISNEW|UFL_MOVED);
|
||||
|
||||
name_unit(un);
|
||||
change_money(dragon, -un->number * 50);
|
||||
|
||||
|
|
|
@ -465,7 +465,7 @@ get_allies(region * r, unit * u)
|
|||
newunit->irace = u->irace;
|
||||
}
|
||||
if (fval(u, UFL_PARTEITARNUNG)) fset(newunit, UFL_PARTEITARNUNG);
|
||||
fset(u, UFL_ISNEW);
|
||||
fset(newunit, UFL_ISNEW);
|
||||
|
||||
sprintf(buf, "Plötzlich stolper%c %s über einige %s. Nach kurzem "
|
||||
"Zögern entschließen sich die %s, sich Deiner Partei anzuschließen.",
|
||||
|
|
|
@ -2499,6 +2499,7 @@ patzer_peasantmob(castorder *co)
|
|||
assert(rpeasants(r) >= 0);
|
||||
|
||||
u = createunit(r, f, n, new_race[RC_PEASANT]);
|
||||
fset(u, UFL_ISNEW);
|
||||
set_string(&u->name, "Bauernmob");
|
||||
/* guard(u, GUARD_ALL); hier zu früh! Befehl BEWACHE setzten */
|
||||
addlist(&u->orders, parse_order(LOC(lang, keywords[K_GUARD]), lang));
|
||||
|
@ -4281,6 +4282,7 @@ sp_raisepeasantmob(castorder *co)
|
|||
assert(rpeasants(r) >= 0);
|
||||
|
||||
u = createunit(r, findfaction(MONSTER_FACTION), n, new_race[RC_PEASANT]);
|
||||
fset(u, UFL_ISNEW);
|
||||
set_string(&u->name, "Aufgebrachte Bauern");
|
||||
guard(u, GUARD_ALL);
|
||||
a = a_new(&at_unitdissolve);
|
||||
|
|
Loading…
Reference in New Issue