Skip to content

Commit

Permalink
🩹 意味のないリセット処理を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiro2gou committed Nov 17, 2024
1 parent eb239f8 commit 9f5167d
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_drowning/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_entity/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_entity_explosion/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_entity_melee/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_entity_projectile/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_explosion/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_fire/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_freezing/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_lightning/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_melee/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Attacker] remove Attacker
tag @s remove CanUsed
data remove storage asset:context Damage
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/damage_projectile/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Victim] remove Victim
tag @s remove CanUsed
data remove storage asset:context Kill
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/kill/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Victim] remove Victim
tag @s remove CanUsed
data remove storage asset:context Kill
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/kill_explosion/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Victim] remove Victim
tag @s remove CanUsed
data remove storage asset:context Kill
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/kill_melee/foreach
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
tag @e[type=#lib:living,type=!player,tag=Victim] remove Victim
tag @s remove CanUsed
data remove storage asset:context Kill
data remove storage asset:artifact AttackTargets
data remove storage asset:artifact Events[-1]
# 要素が残っているなら再帰
execute if data storage asset:artifact Events[0] run function asset_manager:artifact/triggers/kill_projectile/foreach

0 comments on commit 9f5167d

Please sign in to comment.