-
Notifications
You must be signed in to change notification settings - Fork 6
💥 ScoreToMaxHealthを破壊 & ModifierAPIの最大体力のupdate_bonus以外を削除 #2248
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
Open
Lapis-LJA
wants to merge
8
commits into
master
Choose a base branch
from
fix/lapis_max_health
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b1690aa
update_bonus以外の全てのapi:modifier/max_healthを削除し、ScoreToMaxHealthを用いないように
Lapis-LJA 26ca41a
ScoreToMaxHealthの処理を無効化
Lapis-LJA 19fe581
全ての最大体力取得処理をattributeから直接取得するように
Lapis-LJA b6abaa3
first_join時にstorageに初期値を定義せず、直接attribtueのbaseに設定するように
Lapis-LJA 1c5b72f
初期化時にattributeを設定しないように
Lapis-LJA 6e09a86
difffを除く、ScoreToMaxHealth関連を全て削除
Lapis-LJA 3355320
Revert "difffを除く、ScoreToMaxHealth関連を全て削除"
Lapis-LJA 0f136c8
今度こそ全部削除
Lapis-LJA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
189 changes: 0 additions & 189 deletions
189
ScoreToHealth/data/score_to_health/functions/modify_max_health.mcfunction
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
TheSkyBlessing/data/api/functions/modifier/core/max_health/add.m.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #> api:modifier/core/max_health/add.m | ||
| # | ||
| # | ||
| # | ||
| # @within function api:modifier/max_health/update_bonus | ||
|
|
||
| # 付与 | ||
| $attribute @s generic.max_health modifier add 00000001-0000-0001-0000-000200000000 "BonusHealth" $(Amount) add |
31 changes: 0 additions & 31 deletions
31
TheSkyBlessing/data/api/functions/modifier/core/max_health/add.mcfunction
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
TheSkyBlessing/data/api/functions/modifier/core/max_health/remove.mcfunction
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
TheSkyBlessing/data/api/functions/modifier/max_health/add.mcfunction
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
TheSkyBlessing/data/api/functions/modifier/max_health/get.mcfunction
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
TheSkyBlessing/data/api/functions/modifier/max_health/remove.mcfunction
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 2 additions & 6 deletions
8
TheSkyBlessing/data/debug/functions/modify_health/add.m.mcfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,9 @@ | ||
| #> debug:modify_health/add.m | ||
| # @input args | ||
| # Amount: int | ||
| # Amount: float | ||
| # @private | ||
| # @user | ||
|
|
||
| function debug:modify_health/remove | ||
|
|
||
| data modify storage api: Argument.UUID set value [I; -1,0,0,0] | ||
| $data modify storage api: Argument.Amount set value $(Amount) | ||
| data modify storage api: Argument.Operation set value "add" | ||
|
|
||
| function api:modifier/max_health/add | ||
| $attribute @s generic.max_health modifier add ffffffff-0000-0000-0000-000000000000 "DebugModifyHealth" $(Amount) add |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.