Jump to content

How to make zombies immune to ranged attacks and only vulnerable to melee damage?


adrian

Recommended Posts

4 hours ago, Gazz said:

As a mod / buff, yes.

 

If you greatly decrease the entityDamage passive, tagged for ranged and explosives then those damage types will do at most 1 point of damage.

 

 

I tried copying the wrestler effect buff from Snufkin's mod which reduces entity damage and increases melee damage but I can't get it to work. 

Can I see a sample code on how to implement it? Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...