TeamLapen / Werewolves

addon mod for Vampirism which add Werewolves
https://wiki.werewolves.dev
GNU Lesser General Public License v3.0
36 stars 13 forks source link

[Feature]: Config to change infection chance by player or wild werewolf attacks #133

Closed AshIndigo closed 1 year ago

AshIndigo commented 1 year ago

What?

Could a config option be added to prevent player infection upon getting hit by a werewolf entity or player? Maybe even as a configurable chance?

Similar to the config option that is in Vampirism itself. image

Mod experience

I'd say it's a positive for server owners or players, the reason I'm asking this actually is because me and some others were looking to setup a 1.18.2 server and some members don't want to align themselves with any faction. And if we could say disable getting infected by wild werewolves and only get infected by the werewolf tooth that would be nice.

Contributions

I have a modified version of this for 1.18 good to go and it should be easier enough to port to other versions. I've attached an image of the two config settings I added in the Server config

image

Edit: Modified suggestion to be more configurable for players as well as the config example I made

Cheaterpaul commented 1 year ago

Will be added and ported back :+1: