mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Merge branch 'fuckeggguard' into 'next'
Make Armageddon Shield instantly kill Egg Guards (Closes #225) Closes #225 See merge request STJr/SRB2!1378
This commit is contained in:
commit
33d0438033
1 changed files with 4 additions and 1 deletions
|
@ -9019,8 +9019,11 @@ void P_NukeEnemies(mobj_t *inflictor, mobj_t *source, fixed_t radius)
|
|||
if (mo->type == MT_MINUS && !(mo->flags & (MF_SPECIAL|MF_SHOOTABLE)))
|
||||
mo->flags = (mo->flags & ~MF_NOCLIPTHING)|MF_SPECIAL|MF_SHOOTABLE;
|
||||
|
||||
if (mo->type == MT_EGGGUARD && mo->tracer) //nuke Egg Guard's shield!
|
||||
if (mo->type == MT_EGGGUARD && mo->tracer) // Egg Guard's shield needs to be removed if it has one!
|
||||
{
|
||||
P_KillMobj(mo->tracer, inflictor, source, DMG_NUKE);
|
||||
P_KillMobj(mo, inflictor, source, DMG_NUKE);
|
||||
}
|
||||
|
||||
if (mo->flags & MF_BOSS || mo->type == MT_PLAYER) //don't OHKO bosses nor players!
|
||||
P_DamageMobj(mo, inflictor, source, 1, DMG_NUKE);
|
||||
|
|
Loading…
Reference in a new issue