Skip to content

Commit 347ca7c

Browse files
committed
Merge branch 'master' into dev/haiiro_artifact1297
2 parents 8b4a0f2 + 6bb127e commit 347ca7c

1,968 files changed

Lines changed: 12667 additions & 6571 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/datapack-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 0
1818

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@
18571857
},
18581858
{
18591859
"name": "id",
1860-
"question": "ObjectのID",
1860+
"question": "MobのID",
18611861
"pattern": "[1-9][0-9]*",
18621862
"patternErrorMessage": "数値のみが許されるよ"
18631863
}

Asset/data/asset/functions/artifact/0001.book_of_all-seeing/trigger/3.main.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
playsound minecraft:entity.ender_eye.death player @a ~ ~ ~ 2 1
1515

1616
# 敵のステータス表示処理
17-
execute unless entity @s[x_rotation=75..90] as @e[type=#lib:living,type=!player,tag=01.Target,distance=..30,limit=1] run function asset:artifact/0001.book_of_all-seeing/trigger/see_enemy/
17+
execute unless entity @s[x_rotation=75..90] as @e[type=#lib:living_without_player,tag=01.Target,distance=..30,limit=1] run function asset:artifact/0001.book_of_all-seeing/trigger/see_enemy/
1818
execute unless entity @s[x_rotation=75..90] as @p[tag=01.Target,distance=..30,limit=1] run function asset:artifact/0001.book_of_all-seeing/trigger/see_player/
1919

2020
# 自身のステータス表示処理

Asset/data/asset/functions/artifact/0001.book_of_all-seeing/trigger/find_target_entity.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
execute positioned ~-0.8 ~-0.8 ~-0.8 as @e[type=#lib:living,tag=!this,dx=0,dy=0,dz=0] unless entity @s[type=!player,tag=!Enemy] positioned ~0.6 ~0.6 ~0.6 if entity @s[dx=0,dy=0,dz=0] run tag @s add 01.Target
1717

18-
execute unless entity @e[type=#lib:living,tag=01.Target,distance=..2] positioned ^ ^ ^0.15 if entity @s[distance=..30] if block ~ ~ ~ #lib:no_collision run function asset:artifact/0001.book_of_all-seeing/trigger/find_target_entity
18+
execute unless entity @e[type=#lib:living,tag=01.Target,distance=..2] positioned ^ ^ ^0.15 if entity @s[distance=..30] if block ~ ~ ~ #lib:no_collision/ run function asset:artifact/0001.book_of_all-seeing/trigger/find_target_entity

Asset/data/asset/functions/artifact/0001.book_of_all-seeing/trigger/see_enemy/get_defense_info.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#> Val
88
# @private
9-
#declare score_holder $Defense
9+
#declare score_holder $Defense
1010

1111
# 取得
1212
execute store result score $Defense Temporary run data get storage asset:temp 01.Def 100

Asset/data/asset/functions/artifact/0001.book_of_all-seeing/trigger/see_player/.mcfunction

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
function api:modifier/heal/get
2323
function api:modifier/receive_heal/get
24-
function api:modifier/mp_regen/get
24+
function api:modifier/mp_heal/get
2525
function api:modifier/fall_resistance/get
2626

2727
# 表示用に諸々データ処理
@@ -45,7 +45,7 @@
4545

4646
function asset:artifact/0001.book_of_all-seeing/trigger/see_player/calc/other_modifier.m {Type:"Heal",IsReverse:false}
4747
function asset:artifact/0001.book_of_all-seeing/trigger/see_player/calc/other_modifier.m {Type:"ReceiveHeal",IsReverse:false}
48-
function asset:artifact/0001.book_of_all-seeing/trigger/see_player/calc/other_modifier.m {Type:"MPRegen",IsReverse:false}
48+
function asset:artifact/0001.book_of_all-seeing/trigger/see_player/calc/other_modifier.m {Type:"MPHeal",IsReverse:false}
4949
function asset:artifact/0001.book_of_all-seeing/trigger/see_player/calc/other_modifier.m {Type:"FallResistance",IsReverse:true}
5050

5151
function asset:artifact/0001.book_of_all-seeing/trigger/common/construct_effect_messages/
@@ -60,6 +60,6 @@
6060
tellraw @p[tag=this] [{"storage":"global","nbt":"Icon.FrameWhite","interpret":true},{"storage":"global","nbt":"Icon.Attack.Magic","interpret":true},{"storage":"global","nbt":"Icon.FrameWhite","interpret":true},{"storage":"global","nbt":"Icon.Attack.None","interpret":true},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.Defense.Magic.None","interpret":true,"font":"default"},{"text":"\u0002","font":"space"},{"text":"|","font":"default"},{"text":"\u0002","font":"space"},{"storage":"global","nbt":"Icon.FrameWhite","interpret":true},{"storage":"global","nbt":"Icon.Attack.Magic","interpret":true},{"storage":"global","nbt":"Icon.FrameWhite","interpret":true},{"storage":"global","nbt":"Icon.Attack.Fire","interpret":true},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.Defense.Magic.Fire","interpret":true,"font":"default"},{"text":"\u0002","font":"space"},{"text":"|","font":"default"},{"text":"\u0002","font":"space"},{"storage":"global","nbt":"Icon.FrameWhite","interpret":true},{"storage":"global","nbt":"Icon.Attack.Magic","interpret":true},{"storage":"global","nbt":"Icon.FrameWhite","interpret":true},{"storage":"global","nbt":"Icon.Attack.Water","interpret":true},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.Defense.Magic.Water","interpret":true,"font":"default"},{"text":"\u0002","font":"space"},{"text":"|","font":"default"},{"text":"\u0002","font":"space"},{"storage":"global","nbt":"Icon.FrameWhite","interpret":true},{"storage":"global","nbt":"Icon.Attack.Magic","interpret":true},{"storage":"global","nbt":"Icon.FrameWhite","interpret":true},{"storage":"global","nbt":"Icon.Attack.Thunder","interpret":true},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.Defense.Magic.Thunder","interpret":true,"font":"default"}]
6161
tellraw @p[tag=this] {"text":"","extra":[{"text":"\u0002","font":"space"},{"text":""},{"text":"\u0002","font":"space"},{"text":"その他補正"}]}
6262
tellraw @p[tag=this] [{"text":"与回復量"},{"text":"\u0005","font":"space"},{"storage":"asset:temp","nbt":"01.Heal","interpret":true,"font":"default"},{"text":"\u0002","font":"space"},{"text":"|","font":"default"},{"text":"\u0002","font":"space"},{"text":"被回復量"},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.ReceiveHeal","interpret":true,"font":"default"}]
63-
tellraw @p[tag=this] [{"text":"MP回復量\uE004"},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.MPRegen","interpret":true,"font":"default"},{"text":"\u0002","font":"space"},{"text":"|","font":"default"},{"text":"\u0002","font":"space"},{"text":"落下耐性"},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.FallResistance","interpret":true,"font":"default"}]
63+
tellraw @p[tag=this] [{"text":"MP回復量\uE004"},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.MPHeal","interpret":true,"font":"default"},{"text":"\u0002","font":"space"},{"text":"|","font":"default"},{"text":"\u0002","font":"space"},{"text":"落下耐性"},{"text":"\u0002","font":"space"},{"storage":"asset:temp","nbt":"01.FallResistance","interpret":true,"font":"default"}]
6464
tellraw @p[tag=this] {"text":"","extra":[{"text":"\u0002","font":"space"},{"text":""},{"text":"\u0002","font":"space"},{"text":"エフェクト"}]}
6565
tellraw @p[tag=this] {"storage":"asset:temp","nbt":"01.EffectMessages[]","interpret":true,"separator":"\n"}

Asset/data/asset/functions/artifact/0001.book_of_all-seeing/trigger/see_player/calc/element_none.m.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@
4141
# リセット
4242
scoreboard players reset $Modifier Temporary
4343
scoreboard players reset $Type1 Temporary
44+
scoreboard players reset $Decimal Temporary

Asset/data/asset/functions/artifact/0001.book_of_all-seeing/trigger/see_player/calc/element_some.m.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@
4747
scoreboard players reset $Modifier Temporary
4848
scoreboard players reset $Type1 Temporary
4949
scoreboard players reset $Type2 Temporary
50+
scoreboard players reset $Decimal Temporary

Asset/data/asset/functions/artifact/0001.book_of_all-seeing/trigger/see_player/calc/other_modifier.m.mcfunction

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727
execute if score $Modifier Temporary matches 1.. run function asset:artifact/0001.book_of_all-seeing/trigger/see_player/value_to_per/plus.m with storage asset:temp 01
2828
execute if score $Modifier Temporary matches 0 run function asset:artifact/0001.book_of_all-seeing/trigger/see_player/value_to_per/neutral.m with storage asset:temp 01
2929
execute if score $Modifier Temporary matches ..-1 run function asset:artifact/0001.book_of_all-seeing/trigger/see_player/value_to_per/minus.m with storage asset:temp 01
30+
31+
# リセット
32+
scoreboard players reset $Modifier Temporary
33+
scoreboard players reset $Decimal Temporary

Asset/data/asset/functions/artifact/0003.humanity/trigger/3.main.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
execute if predicate lib:random_pass_per/10 run scoreboard players set @s Temporary 1
1515

1616
# 演出 共通
17-
title @a times 20 20 20
18-
particle portal ~ ~ ~ 0 0 0 2 250 force @a
17+
title @s times 20 20 20
18+
particle portal ~ ~ ~ 0 0 0 2 250 force @s
1919

2020
# 処理
2121
execute if score @s Temporary matches 0 run function asset:artifact/0003.humanity/trigger/heal

0 commit comments

Comments
 (0)