Browse Source

age玄学问题

HerobrineXia 5 years ago
parent
commit
e7905ba537

+ 0 - 1
data/ltw/functions/main/player_death.mcfunction

@@ -1,5 +1,4 @@
 # 当玩家死亡后触发
 scoreboard players reset @s death
 tag @s remove temp_death
-say DEBUG: 触发ltw:main/player_death
 execute if score $state mem matches 5 run function ltw:state/5/player_death

+ 0 - 1
data/ltw/functions/state/5/player_death.mcfunction

@@ -1,2 +1 @@
-say DEBUG: ltw:state/5/player_death
 function mini:main/player_death

+ 1 - 2
data/mini/functions/diamond/player_death.mcfunction

@@ -1,4 +1,3 @@
-say DEBUG: 触发mini:diamond/player_death
 # 执行重生方法
 function mini:diamond/game/respawn1
 
@@ -9,7 +8,7 @@ effect give @s weakness 30 1
 
 # 处理玩家掉落物品
 execute at @s as @e[type=item,distance=..100] store result score @s temp run data get entity @s Age
-execute at @s store result score #total_drop temp run tag @e[type=item,scores={temp=..3}] add death_drop
+execute at @s store result score #total_drop temp run tag @e[type=item,scores={temp=..4}] add death_drop
 scoreboard players reset @e[type=item] temp
 # 单独处理钻石还没写
 # 掉落数量向上取整

+ 0 - 1
data/mini/functions/main/player_death.mcfunction

@@ -1,4 +1,3 @@
 # 玩家死亡后触发
-say DEBUG: 触发mini:main/player_death
 execute if score $mini_type mem matches 5 run function mini:phantom/player_failed
 execute if score $mini_type mem matches 6 run function mini:diamond/player_death