//Normal stuff
addHook("MobjCollide", function(mobj, playermobj)
if playermobj.skin == "player" and playermobj.player.dashmode >= 3*TICRATE and mobj.flags & MF_ENEMY then
P_KillMobj(mobj, playermobj, playermobj)
end
end)
addHook("MobjCollide", function(mobj, playermobj)
if playermobj.skin == "player" and playermobj.player.dashmode >= 3*TICRATE and mobj.flags & MF_MONITOR then
P_KillMobj(mobj, playermobj, playermobj)
end
end)
//Spikes
addHook("MobjCollide", function(mobj, playermobj)
if playermobj.skin == "player" and playermobj.player.dashmode >= 3*TICRATE then
P_KillMobj(mobj, playermobj, playermobj)
end
end, MT_SPIKE)
addHook("MobjCollide", function(mobj, playermobj)
if playermobj.skin == "bluestreak" and playermobj.player.dashmode >= 3*TICRATE then
P_KillMobj(mobj, playermobj, playermobj)
end
end, MT_WALLSPIKE)