File tree Expand file tree Collapse file tree 40 files changed +120
-0
lines changed
TheSkyBlessing/data/asset_manager/functions/artifact/triggers Expand file tree Collapse file tree 40 files changed +120
-0
lines changed Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/attack/attack.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/attack_explosion/attack_explosion.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/attack_melee/attack_melee.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/attack_projectile/attack_projectile.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/click/click.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage/damage.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_drowning/damage_drowning.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_entity/damage_entity.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_entity_explosion/damage_entity_explosion.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_entity_melee/damage_entity_melee.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_entity_projectile/damage_entity_projectile.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_explosion/damage_explosion.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_fire/damage_fire.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_freezing/damage_freezing.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_lightning/damage_lightning.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_melee/damage_melee.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/damage_projectile/damage_projectile.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/heal/heal.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/keep_sneak/keep_sneak.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/keep_sneak_10s/keep_sneak_10s.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/keep_sneak_1s/keep_sneak_1s.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/keep_sneak_2s/keep_sneak_2s.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/keep_sneak_3s/keep_sneak_3s.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/keep_sneak_4s/keep_sneak_4s.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/keep_sneak_5s/keep_sneak_5s.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/kill/kill.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/kill_explosion/kill_explosion.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/kill_melee/kill_melee.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/kill_projectile/kill_projectile.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/receive_heal/receive_heal.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/sneak/sneak.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/sneak_10s/sneak_10s.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/sneak_1s/sneak_1s.m with storage asset:context
Original file line number Diff line number Diff line change 10
10
11
11
# 処理対象の神器の重複数を取得する
12
12
execute store result storage asset:context Count int 1 if data storage asset:artifact TargetItemList []
13
+ # 処理対象の神器の残り使用回数を取得する
14
+ # ただしhotbarでない場合に限る
15
+ execute unless data storage asset:artifact TargetItem {Slot : " hotbar " } run data modify storage asset:context RemainingCount set from storage asset:artifact TargetItem . RemainingCount
13
16
14
17
# 神器を呼び出し
15
18
function asset_manager:artifact/triggers/sneak_2s/sneak_2s.m with storage asset:context
You can’t perform that action at this time.
0 commit comments