ClobberXD / gunslinger

[alpha] One of the most realistic ranged weapons mod for Minetest. Consists of a gun-registration API and a comprehensive arsenal of builtin guns.
https://content.minetest.net/packages/ANAND/gunslinger
MIT License
11 stars 3 forks source link

Make bullets punch() instead of set_hp() #10

Closed Elkien3 closed 5 years ago

Elkien3 commented 5 years ago

This allows armor to help against bullets, as well as my anticombatlog to detect fighting when someone is shot.

ClobberXD commented 5 years ago

I've been wanting to do this for a very long time, thanks. I'll review / test this today.

ClobberXD commented 5 years ago

Tested. Works as expected. Will merge once line comment has been attended to.