Skip to content

Update medicine.yml - #1474

Open
drenk28 wants to merge 8 commits into
Rxup:masterfrom
drenk28:Med
Open

Update medicine.yml#1474
drenk28 wants to merge 8 commits into
Rxup:masterfrom
drenk28:Med

Conversation

@drenk28

@drenk28 drenk28 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Bug Fixes / Баланс
    • Пересбалансированы эффекты множества медицинских реагентов: обновлены пороги срабатывания, логика лечебного/вредного действия и варианты применения при разных типах повреждений.
    • Для ряда препаратов изменены ветки эффектов и условия нанесения урона/излечения, включая корректировки при сочетаниях повреждений (ожог/холод/шок/токсичность/тупой урон).
    • Уточнены сценарии лечения зомби-инфекции и расширены условия усиленного воздействия для отдельных средств.

@drenk28
drenk28 requested a review from Rxup as a code owner July 2, 2026 20:39
@github-actions github-actions Bot added No C# Нету кода. S: Untriaged size/M labels Jul 2, 2026
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@drenk28, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 20 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c2679621-991e-4975-b799-733921788b5b

📥 Commits

Reviewing files that changed from the base of the PR and between 45e0fa6 and ad6fe76.

📒 Files selected for processing (1)
  • Resources/Prototypes/Reagents/medicine.yml

Walkthrough

Обновлены балансы и условия срабатывания в medicine.yml: изменены пороги ReagentCondition, значения и типы урона в HealthChange/EvenHealthChange, а также структура нескольких эффектов, включая CureZombieInfection, Tricordrazine, Omnizine, Ultravasculine и Arcryox.

Changes

Балансировка реагентов medicine.yml

Layer / File(s) Summary
Реагенты кислородного/кровяного действия
Resources/Prototypes/Reagents/medicine.yml
Для Dylovene, Diphenhydramine, Ethylredoxrazine, Arithrazine, Bicaridine, Cryoxadone, Doxarubixadone, Dermaline, Dexalin, DexalinPlus, Epinephrine, Hyronalin, Inaprovaline и TranexamicAcid изменены пороги условий и наборы damage/types или damage/groups.
Реагенты общего лечения
Resources/Prototypes/Reagents/medicine.yml
Для Kelotane, Leporazine, Barozine, Phalanximine, PolypyryliumOligomers, Saline, Siderlac, Stellibinin, Synaptizine, Lacerinol, Puncturase, Bruizine, Insuzine, Sigynate и Mannitol изменены типы урона, пороги ReagentCondition и отдельные вспомогательные эффекты.
Перестройка специальных эффектов
Resources/Prototypes/Reagents/medicine.yml
Для Ambuzol, AmbuzolPlus, Tricordrazine, Omnizine и Opporozidone изменена структура размещения эффектов и набор выполняемых действий.
Ultravasculine и Arcryox
Resources/Prototypes/Reagents/medicine.yml
Для Ultravasculine заменён формат урона с types на groups, а для Arcryox пересобраны условия TotalDamageCondition и величины лечения.

Estimated code review effort: 4 (Complex) | ~60 минут

Poem

Я кролик, я чую YAML-ароматы,
Где цифры и ветки сменились когда-то.
Тут лечат, там жгут, тут порог подрос,
А в medicine.yml — весёлый мороз.
Пружиню по строкам: хоп-хоп, и готово! 🐇

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive Заголовок связан с изменениями, но слишком общий и не отражает суть переработки рецептов и эффектов реагентов. Уточните заголовок, например: "Переработка рецептов и эффектов медицинских реагентов".
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
Resources/Prototypes/Reagents/medicine.yml (1)

946-969: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Не переводить этот урон на groups: Brute — эта форма размажет значение по Blunt, Slash, Piercing и ArmorPiercing, и передозировка начнёт проходить через броню иначе, чем чистый Blunt. Если прежнее поведение важно, оставьте types: Blunt.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Resources/Prototypes/Reagents/medicine.yml` around lines 946 - 969, The
Ultravasculine overdose damage is using groups: Brute, which redistributes the
damage across multiple damage types and changes armor interaction. In the
Ultravasculine entries in medicine.yml, update the overdose health change
definition to use the original blunt damage type instead of the Brute group, and
keep the existing HealthChange/EvenHealthChange conditions intact so the
behavior matches the intended pre-change handling.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@Resources/Prototypes/Reagents/medicine.yml`:
- Around line 946-969: The Ultravasculine overdose damage is using groups:
Brute, which redistributes the damage across multiple damage types and changes
armor interaction. In the Ultravasculine entries in medicine.yml, update the
overdose health change definition to use the original blunt damage type instead
of the Brute group, and keep the existing HealthChange/EvenHealthChange
conditions intact so the behavior matches the intended pre-change handling.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 5431de5d-cc95-4319-9cf1-467085da8a36

📥 Commits

Reviewing files that changed from the base of the PR and between ed64e4b and 6eb5548.

📒 Files selected for processing (1)
  • Resources/Prototypes/Reagents/medicine.yml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
Resources/Prototypes/Reagents/medicine.yml (2)

1346-1363: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Разведите пороги TotalDamageCondition

В Resources/Prototypes/Reagents/medicine.yml первая ветка (min: 199.9) остаётся истинной и при >= 500, поэтому оба EvenHealthChange срабатывают вместе и дают суммарно Brute/Burn: -6/-6. Если нужен именно переход на -4/-4, добавьте max в первую ветку.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Resources/Prototypes/Reagents/medicine.yml` around lines 1346 - 1363, The two
EvenHealthChange branches in the medicine reagent prototype overlap because the
first TotalDamageCondition with min 199.9 also matches values at and above 500,
so both effects apply together. Update the conditions in the medicine.yml
prototype so the lower-damage branch is bounded with a max value and only the
higher-damage branch (the one paired with the 500 threshold) remains active
above that range, using the existing EvenHealthChange and TotalDamageCondition
symbols to locate the section.

204-217: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Разделите AdjustTraumas на два пункта списка

В одном !type:AdjustTraumas повторяются traumaType, amount, identifier и targetBodyParts, поэтому BoneDamage будет потерян. Нужны два отдельных элемента списка.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Resources/Prototypes/Reagents/medicine.yml` around lines 204 - 217, The
Cryoxadone reagent entry is combining two trauma adjustments into one
!type:AdjustTraumas block, which causes the first trauma settings to be
overwritten. Split this into two separate list items under the medicine
prototype so each AdjustTraumas instance has its own traumaType, amount,
identifier, and targetBodyParts values; use the existing Cryoxadone and
AdjustTraumas symbols to locate and separate the BoneDamage and OrganDamage
effects.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@Resources/Prototypes/Reagents/medicine.yml`:
- Around line 1346-1363: The two EvenHealthChange branches in the medicine
reagent prototype overlap because the first TotalDamageCondition with min 199.9
also matches values at and above 500, so both effects apply together. Update the
conditions in the medicine.yml prototype so the lower-damage branch is bounded
with a max value and only the higher-damage branch (the one paired with the 500
threshold) remains active above that range, using the existing EvenHealthChange
and TotalDamageCondition symbols to locate the section.
- Around line 204-217: The Cryoxadone reagent entry is combining two trauma
adjustments into one !type:AdjustTraumas block, which causes the first trauma
settings to be overwritten. Split this into two separate list items under the
medicine prototype so each AdjustTraumas instance has its own traumaType,
amount, identifier, and targetBodyParts values; use the existing Cryoxadone and
AdjustTraumas symbols to locate and separate the BoneDamage and OrganDamage
effects.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 80aecb6c-30c5-473c-92b2-c3d4c41b25da

📥 Commits

Reviewing files that changed from the base of the PR and between 6eb5548 and 2ea86a9.

📒 Files selected for processing (1)
  • Resources/Prototypes/Reagents/medicine.yml

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant