Skip to content

Commit

Permalink
鬼退治の仕様変更
Browse files Browse the repository at this point in the history
「スポーン地点に戻す」から「180度回転させて盲目+移動速度低下」に変更しました。
  • Loading branch information
KabanFriends committed Mar 28, 2022
1 parent a156f87 commit 7da6b2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/fueoni/functions/main.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,10 @@ execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,scores={f
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,scores={foUseEnderPearl=1..}] run scoreboard players reset @s foUseEnderPearl
#item: kill oni
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,team=foOni,nbt={ActiveEffects:[{Id:27b,Amplifier:0b}]}] run clear @s
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,team=foOni,nbt={ActiveEffects:[{Id:27b,Amplifier:0b}]}] run tellraw @s [{"text":""},{"text":"増え鬼","color":"yellow","bold":true},{"text":" » ","color":"gray"},{"text":"あなたは","color":"gold"},{"text":"鬼退治","color":"red","bold":true},{"text":"されました!","color":"gold"},{"text":" 退治されて、スポーン地点に戻されました。"}]
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,team=foOni,nbt={ActiveEffects:[{Id:27b,Amplifier:0b}]}] run tellraw @s [{"text":""},{"text":"増え鬼","color":"yellow","bold":true},{"text":" » ","color":"gray"},{"text":"鬼退治","color":"red","bold":true},{"text":"されてしまった!","color":"gold"}]
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,team=foOni,nbt={ActiveEffects:[{Id:27b,Amplifier:0b}]}] run effect give @s slowness 5 2 true
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,team=foOni,nbt={ActiveEffects:[{Id:27b,Amplifier:0b}]}] run effect give @s blindness 5 0 true
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,team=foOni,nbt={ActiveEffects:[{Id:27b,Amplifier:0b}]}] run tp @s @e[tag=foStartLocation,limit=1]
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,team=foOni,nbt={ActiveEffects:[{Id:27b,Amplifier:0b}]}] run teleport @s ~ ~ ~ ~180 ~
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer,nbt={ActiveEffects:[{Id:27b,Amplifier:0b}]}] run effect clear @s unluck
#kill arrows in ground
execute if score game_mode foGameData matches 4 as @a[tag=foGamePlayer] at @s run kill @e[type=arrow,nbt={inGround:true},distance=..30]
Expand Down

0 comments on commit 7da6b2e

Please sign in to comment.