Search found 1 match

by Multimodcrafter
Wed May 08, 2019 11:15 am
Forum: Won't implement
Topic: [Lua] Event on_pre_entity_damaged
Replies: 5
Views: 2508

Re: [Lua] Event on_pre_entity_damaged

I too would be grateful for the old health passed to the event. The problem with the on_entity_damaged event ist the following.

Consider an item that protects me from all damage done to me. I would implement an event handler which looks something like this:

if entity is player and player has ...

Go to advanced search