This adds status effects support to splash, melee and death damage.
Status effects were introduced in rP22304/D1252, but support for other attack types than ranged was not implemented. Here the code for is moved to cause damage, so there is less duplication and any script causing damage can also use status effects.