Skip to content

[ADD] MagicImmunity#2644

Open
Darkiich wants to merge 1 commit intomasterfrom
revert-2643-revert-2611-chaplaintweak
Open

[ADD] MagicImmunity#2644
Darkiich wants to merge 1 commit intomasterfrom
revert-2643-revert-2611-chaplaintweak

Conversation

@Darkiich
Copy link
Collaborator

Описание PR

Добавлен полный иммунитет к магии для священника и святого арбуза. Священник теперь неуязвим для всех магических способностей еретика и ревенанта, а магические снаряды (огненный шар, полиморф и др.) поглощаются без эффекта при попадании в цель с иммунитетом.

Почему / Баланс

Священник задуман как духовный защитник станции, способный противостоять тёмным силам. До этого изменения у него не было механической защиты от магии, что делало его уязвимым для еретиков и ревенантов, несмотря на лорную роль "борца с тёмными силами".

Техническая информация

  • Компоненты перемещены в Content.Shared.ADT.Chaplain.Components для консистентности
  • Изменения были протестированы на локальном сервере, и всё работает отлично.
  • PR закончен и требует просмотра изменений.

Чейнджлог

🆑 CrimeMoot

  • add: Иммунитет к полной магии для священника, но на его учеников не переносится.
  • add: Святой арбуз - даёт полный иммунитет к магии (как у священника) при держании в руке. В сумке и в карманах, не работает.
  • add: Иммунитет к магии, так же блокирует магические снаряды - огненный шар и другие, поглощаются при попадании в цель с иммунитетом
  • add: Иммунитет к магии блокирует цепные способности - прерывает цепь при попадании.
  • add: Магия не может выбрать в качестве цели обладателя иммунитета к магии - при условии, что способность действует на тех, кто рядом или по области.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 19, 2026

Warning

Rate limit exceeded

@Darkiich has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 27 minutes and 31 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 05ca6810-1481-4fc7-9e09-143c59577433

📥 Commits

Reviewing files that changed from the base of the PR and between 55e3e56 and 9226f08.

📒 Files selected for processing (31)
  • Content.Client/ADT/Chaplain/EUI/AcceptReligionEui.cs
  • Content.Client/ADT/Chaplain/Systems/ChaplainSystem.cs
  • Content.Client/ADT/Phantom/Systems/PhantomHudSystem.cs
  • Content.Server/ADT/Chaplain/EUI/AcceptReligionEui.cs
  • Content.Server/ADT/Chaplain/Systems/ChaplainSystem.cs
  • Content.Server/ADT/Chaplain/Systems/HolyMelonImmunitySystem.cs
  • Content.Server/ADT/Chaplain/Systems/MagicProjectileSystem.cs
  • Content.Server/ADT/HWAnomCoreLootbox/HWAnomCoreLootboxSystem.cs
  • Content.Server/ADT/Heretic/Abilities/HereticAbilitySystem.Ash.cs
  • Content.Server/ADT/Heretic/Abilities/HereticAbilitySystem.Void.cs
  • Content.Server/ADT/Heretic/Abilities/HereticAbilitySystem.cs
  • Content.Server/ADT/Heretic/EntitySystems/MansusGraspSystem.cs
  • Content.Server/ADT/Magic/ChainFireballSystem.cs
  • Content.Server/ADT/Magic/ImmovableVoidRodSystem.cs
  • Content.Server/ADT/Phantom/EntitySystems/PhantomSystem.cs
  • Content.Server/ADT/Poltergeist/Systems/PoltergeistSystem.cs
  • Content.Server/ADT/Revolitionary/EUI/AcceptRevolutionEui.cs
  • Content.Server/Bible/BibleSystem.cs
  • Content.Server/Revenant/EntitySystems/RevenantSystem.Abilities.cs
  • Content.Shared/ADT/Chaplain/Altar/Systems/SacrificeSystem.cs
  • Content.Shared/ADT/Chaplain/Components/ChaplainComponent.cs
  • Content.Shared/ADT/Chaplain/Components/HolyMelonImmunityComponent.cs
  • Content.Shared/ADT/Chaplain/Components/HolyMelonMagicImmunityComponent.cs
  • Content.Shared/ADT/Chaplain/Components/MagicImmunityComponent.cs
  • Content.Shared/ADT/Chaplain/Components/MagicProjectileComponent.cs
  • Content.Shared/ADT/Chaplain/SharedChaplain.cs
  • Content.Shared/Magic/SharedMagicSystem.cs
  • Resources/Prototypes/ADT/Heretic/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml
  • Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml
  • Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/magic.yml
  • Resources/Prototypes/Roles/Jobs/Civilian/chaplain.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch revert-2643-revert-2611-chaplaintweak
📝 Coding Plan
  • Generate coding plan for human review comments

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 and usage tips.

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