File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed
TheSkyBlessing/data/asset_manager/functions/artifact Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 25
25
# SpecialCooldown? : int
26
26
# DisableCooldownMessage? : boolean
27
27
# DisableMPMessage? : boolean
28
+ # IgnoreItemUpdate? : boolean
28
29
# DisableBreakSound? : boolean
29
30
# EquipID? : int
30
31
# Modifiers : Component[]
75
76
data modify storage asset:artifact Item . tag . TSB . SpecialCooldown set from storage asset:artifact SpecialCooldown
76
77
data modify storage asset:artifact Item . tag . TSB . DisableCooldownMessage set from storage asset:artifact DisableCooldownMessage
77
78
data modify storage asset:artifact Item . tag . TSB . DisableMPMessage set from storage asset:artifact DisableMPMessage
79
+ data modify storage asset:artifact Item . tag . TSB . IgnoreItemUpdate set from storage asset:artifact IgnoreItemUpdate
78
80
data modify storage asset:artifact Item . tag . TSB . DisableBreakSound set from storage asset:artifact DisableBreakSound
79
81
data modify storage asset:artifact Item . tag . TSB . EquipID set from storage asset:artifact EquipID
80
82
data modify storage asset:artifact Item . tag . TSB . Modifiers set from storage asset:artifact Modifiers
Original file line number Diff line number Diff line change 22
22
# SpecialCooldown? : int
23
23
# DisableCooldownMessage? : boolean
24
24
# DisableMPMessage? : boolean
25
+ # IgnoreItemUpdate? : boolean
25
26
# DisableBreakSound? : boolean
26
27
# EquipID? : int
27
28
# Modifiers : Component[]
92
93
data remove storage asset:artifact SpecialCooldown
93
94
data remove storage asset:artifact DisableCooldownMessage
94
95
data remove storage asset:artifact DisableMPMessage
96
+ data remove storage asset:artifact IgnoreItemUpdate
95
97
data remove storage asset:artifact DisableBreakSound
96
98
data remove storage asset:artifact EquipID
97
99
data remove storage asset:artifact Modifiers
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ execute unless data storage asset:artifact MPCost unless data storage asset:arti
15
15
# execute unless data storage asset:artifact SpecialCooldown run
16
16
# execute unless data storage asset:artifact DisableCooldownMessage run
17
17
# execute unless data storage asset:artifact DisableMPMessage run
18
+ # execute unless data storage asset:artifact IgnoreItemUpdate run
Original file line number Diff line number Diff line change 20
20
# 対象アイテムの要素数を拾う
21
21
execute store result score $OldItems Temporary if data storage asset:artifact TargetItemList []
22
22
# すべてのアイテムについて更新処理を行う
23
- function asset_manager:artifact/use/item/
23
+ execute unless data storage asset:artifact TargetItem { IgnoreItemUpdate : true } run function asset_manager:artifact/use/item/
24
24
# データを更新する
25
25
# 要素数が変わっていれば一つ以上破壊されている
26
26
execute store result score $NewItems Temporary if data storage asset:artifact RenewedItemList []
You can’t perform that action at this time.
0 commit comments