2
0
龙腾猫跃 3 жил өмнө
parent
commit
4cd9f271ae

+ 1 - 1
data/item/functions/special/totem.mcfunction

@@ -11,4 +11,4 @@ execute unless score @s mini_heart matches 1.. run tellraw @a ["",{"text": ">> "
 # $remove_resistance 信息在小游戏初始化时提供
 # 去除buff
 execute unless score @s mini_heart matches 1.. run tag @s add have_totem
-schedule function mini:main/clear_totem_effect 2t replace
+schedule function mini:special/clear_totem_effect 2t replace

+ 1 - 1
data/item/loot_tables/item/blue.json

@@ -55,7 +55,7 @@
     {
         "type": "minecraft:item",
         "weight": 10,
-        "name": "minecraft:netherite_axe",
+        "name": "minecraft:netherite_pickaxe",
         "functions": [
             {
                 "function": "minecraft:set_nbt",

+ 1 - 1
data/ltw/functions/state/0/roll_dice/win1.mcfunction

@@ -1,3 +1,3 @@
 scoreboard players add @s gold 9
-tellraw @a ["",{"text":">> ","color":"aqua","bold":true},{"selector": "@s","color":"green"}," 买了一颗二十面骰, 掷出了 ",{"score": {"name": "$random","objective": "mem"},"color":"aqua"}, ", 拿回了自己的 1 金锭!"]
+tellraw @a ["",{"text":">> ","color":"aqua","bold":true},{"selector": "@s","color":"aqua"}," 买了一颗二十面骰, 掷出了 ",{"score": {"name": "$random","objective": "mem"},"color":"aqua"}, ", 拿回了自己的 1 金锭!"]
 execute at @s run function lib:sounds/hit2

+ 1 - 0
data/mini/functions/hotpm/game_end.mcfunction

@@ -1,4 +1,5 @@
 scoreboard players add @a[tag=mini_running] surviveRound 1
+scoreboard players set @a[team=playing] mini_score 0
 execute as @a[team=playing] run scoreboard players operation @s mini_score = @s surviveRound
 # 结束热土豆
 forceload remove 1000 3000 1100 3100

+ 2 - 1
data/mini/functions/iron/game_end.mcfunction

@@ -13,7 +13,8 @@ gamerule fireDamage false
 gamerule drowningDamage false
 
 # 计算积分
-execute as @a[team=playing] run scoreboard players operation @s mini_score += @s iron_count
+scoreboard players set @a[team=playing] mini_score 0
+execute as @a[team=playing] run scoreboard players operation @s mini_score = @s iron_count
 
 # 清理物品栏
 clear @a[team=playing]

+ 2 - 2
data/mini/functions/iron/tick5.mcfunction

@@ -2,8 +2,8 @@
 # 更新铁锭数量
 execute as @a[team=playing] store result score @s iron_count run clear @s iron_ingot 0
 execute as @a[team=playing] run scoreboard players operation @s iron_disp = @s iron_count
-execute if score $countdown mem matches ..60 run effect give @a[team=playing,tag=!invisible] glowing 1000000 0 true
-execute if score $countdown mem matches ..60 run effect clear @a[team=playing,tag=invisible] glowing
+execute if score $countdown mem matches ..90 run effect give @a[team=playing,tag=!invisible] glowing 1000000 0 true
+execute if score $countdown mem matches ..90 run effect clear @a[team=playing,tag=invisible] glowing
 
 # 铁锭发光
 execute as @e[type=item,nbt={Item:{id:"minecraft:iron_ingot"}}] run data modify entity @s Glowing set value 1b

+ 1 - 0
data/mini/functions/phantom/game_end.mcfunction

@@ -4,4 +4,5 @@ gamerule doDaylightCycle false
 gamerule doMobLoot false
 
 # 计算积分
+scoreboard players set @a[team=playing] mini_score 0
 execute as @a[team=playing] run scoreboard players operation @s mini_score = @s kill_phantom