резисты дракону#632
Conversation
|
Warning Review limit reached
More reviews will be available in 28 minutes and 35 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the 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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds defensive combat configuration to the dragon mob entity by introducing Armor and ExplosionResistance components that define damage resistance against heat, piercing, slash, and explosive attacks. A minor whitespace formatting adjustment is also applied to the ActionGun component declaration. ChangesDragon defensive combat
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
ибо легко беднягу застрелять тупо
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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.
Inline comments:
In `@Resources/Prototypes/Entities/Mobs/Player/dragon.yml`:
- Line 201: Remove the trailing whitespace after the "ActionGun" token in the
dragon.yml file (the line currently reads "type: ActionGun "); update the "type:
ActionGun" line to have no trailing spaces to restore consistent formatting in
the Player mob definition.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 9c39b945-41fa-45e0-bc75-be3c5f8db4d9
📒 Files selected for processing (1)
Resources/Prototypes/Entities/Mobs/Player/dragon.yml
| mindRoles: | ||
| - MindRoleDragon | ||
| - type: ActionGun | ||
| - type: ActionGun |
There was a problem hiding this comment.
Remove trailing whitespace.
Line 201 has trailing whitespace after ActionGun that should be removed to maintain formatting consistency.
✨ Proposed fix
- - type: ActionGun
+ - type: ActionGun📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - type: ActionGun | |
| - type: ActionGun |
🤖 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/Entities/Mobs/Player/dragon.yml` at line 201, Remove the
trailing whitespace after the "ActionGun" token in the dragon.yml file (the line
currently reads "type: ActionGun "); update the "type: ActionGun" line to have
no trailing spaces to restore consistent formatting in the Player mob
definition.
| mindRoles: | ||
| - MindRoleDragon | ||
| - type: ActionGun | ||
| - type: ActionGun |
Co-authored-by: nukkuminen <90336027+oldschoolotaku@users.noreply.github.com>
Co-authored-by: nukkuminen <90336027+oldschoolotaku@users.noreply.github.com>

Описание PR
дракон получил резисты 75% от взрывов и 60% от огня
Почему / Баланс
таск + дракон нередко умирает от своих же фаерболов + не логично же, что он полностью восприимчив к взрывам и огню. он дышит взрывами и огнем же йоу
Технические детали
добавлен компонент Armor
Медиа
Требования
Согласие с условиями
Критические изменения
Список изменений
🆑 benjamin
Summary by CodeRabbit