Bots: Nudge towards other Ring Shooters

This commit is contained in:
Sally Coolatta 2023-05-15 19:44:20 -04:00
parent 728cd1bd7b
commit f66798f0a7

View file

@ -642,6 +642,16 @@ static BlockItReturn_t K_FindObjectsForNudging(mobj_t *thing)
} }
} }
break; break;
case MT_RINGSHOOTER:
if (anglediff >= 45)
{
break;
}
else
{
K_AddAttackObject(thing, side, 50);
}
break;
default: default:
if (thing->flags & (MF_SOLID|MF_ENEMY|MF_BOSS|MF_PAIN|MF_MISSILE)) if (thing->flags & (MF_SOLID|MF_ENEMY|MF_BOSS|MF_PAIN|MF_MISSILE))
{ {