RadiantRoma Posted March 30, 2017 Share Posted March 30, 2017 Anyone know of any lines of code or anything to remove the damage from picking thorny bushes, cacti, roses, etc? Link to comment Share on other sites More sharing options...
Serpens Posted March 30, 2017 Share Posted March 30, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now