Starbound

Starbound

Ei tarpeeksi arvosteluja
NPC Combat Regen
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
284.805 KB
23.1.2023 klo 16.44
11.4.2023 klo 20.52
4 muutosilmoitusta ( näytä )

Tilaa ladataksesi
NPC Combat Regen

Kuvaus
Concept by Starlight Maiden
Coded by Void Eye Gaming

(Particles on Screenshot is only for demonstrative purposes. They are not present in the actual mod)

This mod aims to give NPCs and Monsters the ability to heal damage passively. This affects both friendly and hostile NPCs and Monsters. It should work retroactively, and be safe to uninstall if you find the healing to be too aggressive. After 3 seconds of no damage, entities will begin healing decently quick. This healing however doesn't apply to bosses, nor players. No particle effects will be shown when they are healing, so no need to worry about a constant aura of red crosses on random npcs and monsters that were damaged.
15 kommenttia
Star Berry 22.10.2023 klo 14.32 
Also, for the sake of balance in fights against hostile NPCs, maybe you should increase the downtime threshold from 3 seconds to 5. that seems to be a sufficient wait for being considered "out of combat."
Star Berry 22.10.2023 klo 14.30 
Can you make this work on NPCs but not monsters? This mod is a lifesaver for players who like to keep settlements, as well as for keeping random merchants & questgivers from gradually dying; however, it makes enemies with invulnerable phases, such as those hidey rock dudes and the ghost cat thingies, really annoying to fight.
glider521al (Aura of Worlds dev) 20.3.2023 klo 2.35 
Another mod probably did remove the stat,

Though it might be a simpler catch all to limit the healing to a second cap (the 3 second heal prevention timer is useful, there are mods out there that will make some enemies temporarily immune).
This would prevent rare high health monster from regenerating faster than a player at that level can damage them.
Starlight Maiden  [tekijä] 20.3.2023 klo 2.25 
Oh. I just checked it in my game. The healing is not normally supposed to be applied, TwinIndifferent. Could it be another mod removing the healing immunity stat?
Starlight Maiden  [tekijä] 20.3.2023 klo 2.11 
It's applying to dreadwing? I'll see what I can do about fixing that.
TwinIndifferent 18.3.2023 klo 8.37 
Healing is being applied to Dreadwing for some reason tho. I have !!FUN!! times trying to fight him with regening health back to full after another gliding attack.
libero2711 2.2.2023 klo 13.01 
awful
glider521al (Aura of Worlds dev) 28.1.2023 klo 22.19 
Excellent! Added a 👍 and linked to your mod through our mod synergies page.

I would however, recommend putting a fixed rate cap on healing
(e.g. maybe 2HP x ([Tier]+1)/per second or some other check on change on hp over time)
as some mods may add minibosses or rare special enemies with a lot of health.
Starlight Maiden  [tekijä] 27.1.2023 klo 21.39 
Healing rate is the same across the board. So a tier 1 gleap would go from 0.1 to max health at the same time it'd take for a tier 6 generated monster to go from 0.1 to max health. The way healing works is that you set a rate, which is a percentage of an entity's health. It's that plus how long the duration of the healing should be.

If I were to make the healing change based on entity, it'd probably be a little more messier in the code, as well as having several different status effects in the file in order to give them a different rate. So as such they all have a singular healing rate.

As an extra bit of info, bosses have the stat "healingStatusImmunity":1.0 this basically means they can't be healed. If a modded boss forgets to include that in the stat, it'll be affected by the healing.
glider521al (Aura of Worlds dev) 27.1.2023 klo 18.49 
Thanks for the answer.

Does it apply healing at a constant rate or a percentage? Does the healing rate change between entities?