Mrbysco / Unhealthy-Dying

Reducing your maximum health any time you die.
https://www.curseforge.com/minecraft/mc-mods/unhealthy-dying
MIT License
3 stars 2 forks source link

[Suggestion] Set starting health; set certain mobs to only regen under a specific threshold #6

Open LukewarmYeti opened 5 years ago

LukewarmYeti commented 5 years ago

SUGGESTIONS

  1. Since this mod adds a nice way to lose/gain hearts through specific mob kills, could you add a way to set players starting health?

  2. So, if you set "maxRegenned=" to over 20, you can gain further hearts on top of the vanilla 20 (you can basically set max health). Now my suggestion: adding a way to only obtain/regen hearts by killing certain mobs if you were under a threshold of hearts. e.g.:

If you kill the end dragon, you would gain/regen 4 (for example) hearts, but only if you were at or under 10 vanilla half hearts. So if you already had/gained/regenned more than 10 half hearts (lets say you had the vanilla 20) and killied the end dragon, you wouldn't gain/regen any hearts.

The config file could look something like this:

minecraft:ender_dragon, 8,1,20 - so every 1 kill of the ender dragon would gain you 4 regenned hearts, but only if you have 20 half hearts or under.

This is quite hard to explain so sorry if I sound condescending. Also I don't know how ridiculous this would be to implement, I just had this idea one day. o/