Started by
masterkostas
on
Topic category: Advanced modding
Hi i need some help with this i really cannot find a way to make it happen!
Apparently if you set the Damage source to a custom type unless it's higher than the player damage dealt by that weapon doesn't override the value.
So far it tried both the "Entity Hurt" and "Entity Attacked" triggers.
It should be possible to override the damage type but if it isn't for you for some reason, your next best option is to detect the event like normal then cancel it and perform your own damage event using your damage type.
I found a way to fix it thank you very much. I just made the damage bypass the invinsibility frames after damage and for some reason it cancelled generic.player.attack damage type.
I have no idea how to detect and cancel the event, i'd be interested in learning how if you have a proc for it and you are willing to share it.