Skip to content

🔥 ダメージの最低保証を削除#2282

Open
Lapis-LJA wants to merge 3 commits into
masterfrom
fix/lapis_damage_min
Open

🔥 ダメージの最低保証を削除#2282
Lapis-LJA wants to merge 3 commits into
masterfrom
fix/lapis_damage_min

Conversation

@Lapis-LJA

Copy link
Copy Markdown
Contributor

No description provided.

@Lapis-LJA Lapis-LJA requested a review from haiiro2gou July 2, 2026 12:17

Copilot AI 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.

Pull request overview

このPRは、ダメージ補正計算(api:damage/core/modify_damage.m)に入っていた「難易度に基づく最低保証」ロジックを削除し、補正値が負にならない範囲でのみ下限を適用する形に整理する変更です。

Changes:

  • 難易度(Return.Difficulty)を参照して最低補正値を計算する処理を削除
  • 補正値 $Modifier の下限を 0 にクランプする処理のみに簡略化

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +50 to +51
# 最低保証を0とする
scoreboard players operation $Modifier Temporary > $0 Const

@haiiro2gou haiiro2gou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Lapis-LJA Lapis-LJA requested a review from haiiro2gou July 11, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants