X-Git-Url: https://git.distorted.org.uk/~mdw/newkind/blobdiff_plain/1a8abebd82b12bd24a5418adab3e8c15d7a521c9..419dfc818f70155e4be4b0bd0d15c3d47b4d7653:/swat.c diff --git a/swat.c b/swat.c index d564db6..c44d939 100644 --- a/swat.c +++ b/swat.c @@ -321,7 +321,12 @@ void make_angry (int un) universe[un].flags |= FLG_ANGRY; return; } - + + if (!(universe[un].flags & FLG_TARGET) && + (universe[1].type == SHIP_CORIOLIS || + universe[1].type == SHIP_DODEC)) + universe[1].flags |= FLG_ANGRY; + if (type > SHIP_ROCK) { universe[un].rotx = 4; @@ -713,7 +718,7 @@ void tactics (int un) { if (cmdr.legal_status >= 64) { - flags |= FLG_ANGRY; + flags |= FLG_ANGRY | FLG_TARGET; ship->flags = flags; } } @@ -1048,7 +1053,7 @@ void create_trader (void) if (rnd & 1) universe[newship].flags |= FLG_HAS_ECM; - if (rnd > 200) + if (rnd > (type == SHIP_ANACONDA ? 250 : 220)) universe[newship].flags |= FLG_ANGRY | FLG_TARGET; } } @@ -1145,7 +1150,7 @@ void check_for_cops (void) if (newship != -1) { - universe[newship].flags |= FLG_ANGRY; + universe[newship].flags |= FLG_ANGRY | FLG_TARGET; if (rand255() > 245) universe[newship].flags |= FLG_HAS_ECM;