mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-09 09:33:10 +00:00
Bots: Nudge towards other Ring Shooters
This commit is contained in:
parent
728cd1bd7b
commit
f66798f0a7
1 changed files with 10 additions and 0 deletions
|
|
@ -642,6 +642,16 @@ static BlockItReturn_t K_FindObjectsForNudging(mobj_t *thing)
|
|||
}
|
||||
}
|
||||
break;
|
||||
case MT_RINGSHOOTER:
|
||||
if (anglediff >= 45)
|
||||
{
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
K_AddAttackObject(thing, side, 50);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (thing->flags & (MF_SOLID|MF_ENEMY|MF_BOSS|MF_PAIN|MF_MISSILE))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue