- Added new flags8 actor field. Isn't it frightening how quickly how we got to our 8th flag field?
- Speaking of frightening, added +FRIGHTENING flag.
This commit is contained in:
parent
3b20c26275
commit
a96ef5276d
6 changed files with 18 additions and 2 deletions
|
|
@ -996,7 +996,8 @@ void P_NewChaseDir(AActor * actor)
|
|||
if (!(actor->flags6 & MF6_NOFEAR))
|
||||
{
|
||||
if ((actor->target->player != NULL && (actor->target->player->cheats & CF_FRIGHTENING)) ||
|
||||
(actor->flags4 & MF4_FRIGHTENED))
|
||||
(actor->flags4 & MF4_FRIGHTENED) ||
|
||||
(actor->target->flags8 & MF8_FRIGHTENING))
|
||||
{
|
||||
delta = -delta;
|
||||
}
|
||||
|
|
@ -2655,7 +2656,7 @@ void A_DoChase (AActor *actor, bool fastchase, FState *meleestate, FState *missi
|
|||
|
||||
// [RH] Scared monsters attack less frequently
|
||||
if (((actor->target->player == NULL ||
|
||||
!(actor->target->player->cheats & CF_FRIGHTENING)) &&
|
||||
!((actor->target->player->cheats & CF_FRIGHTENING) || (actor->target->flags8 & MF8_FRIGHTENING))) &&
|
||||
!(actor->flags4 & MF4_FRIGHTENED)) ||
|
||||
pr_scaredycat() < 43)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue