Adding ability to let mobs cause status effects on attack

Status
Fixed
Issue description

Can we have the ability to let mobs give players (or other entities they attack) status effects? I have this thing called a poison elemental, but I feel like it's kind of pointless because, s there is no option to allow status effects for mobs directly, he can't cause poison.

Issue comments

You can use the when this mob kills another one procedure. For existing mob,s you could use Entity attacked global trigger.

Regarding custom entity statuses, we have planned this for future updates, Most likely one of 2.x.x updates.

But how would we use the when mob kills another one procedure to cause its attacks to give effects? If you used that procedure, it wouldn't give the effect to you until you were dead already (or am I thinking about his wrong?).