Jump to content

Negate thorn damage?


Recommended Posts

hmm...
I think there is no easy way, at least I found none.

The only way I can imagine is to mod the combat component (and for clients maybe also combat_replica).
Change the function GetAttacked(attacker, damage, weapon, stimuli).
Check if self.inst is your character and if attacker:HasTag("thorny"). If yes, change damage to 0 and return the old function.
 

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
 Share

×
  • Create New...