-
-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no pain on switching species to NO_PAIN one #12507
Conversation
Changelog status: ✔️ |
Co-authored-by: NinjaPikachuska <[email protected]>
@@ -1398,6 +1398,10 @@ | |||
|
|||
maxHealth = species.total_health | |||
|
|||
if(species.flags[NO_PAIN]) | |||
shock_stage = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я бы предпочёл заменить это на геттеры-сеттеры и тогда проблема была бы на 100% решена потому-что при получении флага геттер бы возвращал 0
подсказал в личке что делать с геттером и сеттером, ждем пока их
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
тут вроде реквест, я просто статус изменяю
в целом и так ок, гетеры/сетеры было бы хорошим бонусом но можно потом получить |
Описание изменений
Прок set_species ставит болевой шок на 0 если у целевого гуманоида флаг игнорирования боли, сейчас если раса гуманоида сменяется в течение раунда шок остается навсегда без возможности снять кроме как педально
resolves #9654
Почему и что этот ПР улучшит
Авторство
Чеинжлог
🆑