Rxup / space-station-14

🚀 Билд русскоязычного сервера Space Station 14
GNU Affero General Public License v3.0
47 stars 143 forks source link

[Fix] Healing Fixes #874

Closed Roudenn closed 1 week ago

Roudenn commented 1 week ago

PR Description

[EN]

Hotfix for HealingSystem, now healing will be applied for the most damaged limb, not the body targeted one. Not the final version, but a kool hotfix to make medics playable. Also VitalDamage field was added to the BodyPartComponent, wich controls amount of damage dealt to the body when Vital body part gets detached.

[RU]

Хотфикс для системы лечения, теперь лечение будет произведено для самой повреждённой части тела, а не только выбранной на панели куклы. Не финальная версия, но важный хотфикс чтобы сделать медицину играбельной. Также было добавлено поле VitalDamage к BodyPartComponent, которое контролирует количество урона наносимого телу после открепления Жизненно важной части тела.

Use

fixes Partially https://github.com/Rxup/space-station-14/issues/873 Maybe useful for https://github.com/Simple-Station/Einstein-Engines/pull/1159

Roudenn commented 1 week ago

@gluesniffler Please consider porting this into the main PR, at least as temporary solution

TokenStyle commented 1 week ago

looks good to me

TokenStyle commented 1 week ago

Fixes for https://github.com/Rxup/space-station-14/pull/868 shitmed port PR