Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/item/function/sign/click/annihilate/success.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

# プレイヤー全滅処理
# レーダー・ヴィジョンを使っている奴も許さない
execute as @a[distance=..12,scores={RaderVision=-2147483648..2147483647}] run tag @s add NowTarget
execute as @a[distance=..12,scores={RaderVision=-2147483648..2147483647}] run function skill:act/hunter/rader_vision/return0
execute as @a[distance=..12,scores={RadarVision=-2147483648..2147483647}] run tag @s add NowTarget
execute as @a[distance=..12,scores={RadarVision=-2147483648..2147483647}] run function skill:act/hunter/radar_vision/return0
data remove storage entity: damage
data modify storage entity: damage set value {unreasonable:9999,deathcause:'{"translate":"君は次の自分に思いを託して、跡形もなく消し飛んだ。","color":"#BD0000","bold":true}'}
execute as @a[distance=..12,predicate=entity:player,tag=!NowTarget] run function entity:damage/apply/
Expand Down
2 changes: 1 addition & 1 deletion data/main/function/load_once.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ scoreboard objectives add TsuremaiLevel dummy {"text":"連舞レベル"}
scoreboard objectives add HyokaRyoranTimer dummy {"text":"氷華繚乱タイマー"}
#狩人
scoreboard objectives add PiercingAim dummy {"text":"ピアッシングエイム継続秒数"}
scoreboard objectives add RaderVision dummy {"text":"レーダーヴィジョン継続tick数"}
scoreboard objectives add RadarVision dummy {"text":"レーダーヴィジョン継続tick数"}
scoreboard objectives add WildCooking dummy {"text":"ワイルドクッキング継続秒数"}
scoreboard objectives add WildHealing dummy {"text":"ワイルドヒーリングレベル"}
scoreboard objectives add EnergySave dummy {"text":"エナジーセーブ消費MP減少効果量"}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#> makeup:skill/act/hunter/radar_vision/act0
#
# レーダーヴィジョン発動
particle minecraft:end_rod ~ ~1 ~ 0.1 0.1 0.1 0.1 25 force
playsound minecraft:entity.zombie_villager.converted player @a[distance=..16] ~ ~ ~ 2 2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#> makeup:skill/act/hunter/radar_vision/return0
#
# レーダーヴィジョン復帰
execute positioned as @s run particle minecraft:end_rod ~ ~1 ~ 0.1 0.1 0.1 0.1 25 force
execute positioned as @s run playsound minecraft:block.beacon.deactivate player @a[distance=..16] ~ ~ ~ 1 2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#> makeup:skill/act/hunter/radar_vision/tick
#
# レーダーヴィジョン毎tick演出
particle minecraft:end_rod ~ ~1 ~ 0.1 0.1 0.1 0 2 force @a[tag=ShowParticles]
playsound minecraft:block.beacon.ambient player @s ~ ~ ~ 0.5 2
24 changes: 24 additions & 0 deletions data/skill/function/act/hunter/radar_vision/act0.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#> skill:act/hunter/radar_vision/act0
#
# レーダーヴィジョン発動

# TP用設定
data modify storage skill: RadarVision set value {}
data modify storage skill: RadarVision.Pos set from entity @s Pos
data modify storage skill: RadarVision.Rotation set from entity @s Rotation
data modify storage skill: RadarVision.Dimension set from entity @s Dimension
execute if entity @s[gamemode=adventure] run data modify storage skill: RadarVision.Adventure set value 1b
function #oh_my_dat:please
data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].RadarVision set from storage skill: RadarVision

# 時間設定
execute if score _ Level matches 1 run scoreboard players set @s RadarVision 60
execute if score _ Level matches 2 run scoreboard players set @s RadarVision 120
execute if score _ Level matches 3 run scoreboard players set @s RadarVision 200
gamemode spectator @s

# 復帰地点をセット(見た目のみ)
summon minecraft:armor_stand ~ ~ ~ {Tags:[Skill,RadarVisionPoint,NativeTask,CooldownRequired],PortalCooldown:240,Marker:1b,Invisible:1b,Small:1b,ArmorItems:[{},{},{},{id:"minecraft:beacon",count:1b}],CustomName:'{"text":"レーダーサイト"}',CustomNameVisible:1b}

# 演出
function makeup:skill/act/hunter/radar_vision/act0
20 changes: 20 additions & 0 deletions data/skill/function/act/hunter/radar_vision/return0.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#> skill:act/hunter/radar_vision/return0
#
# レーダーヴィジョン復帰

# 座標移動
function #oh_my_dat:please
data modify storage skill: RadarVision set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].RadarVision
data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].RadarVision
data modify storage anywhere: at set from storage skill: RadarVision
data modify storage anywhere: function set value "skill:act/hunter/radar_vision/return1"
function #anywhere:run
execute at @s run kill @e[tag=RadarVisionPoint,distance=..0.01]

# リセット
scoreboard players reset @s RadarVision
execute if data storage skill: RadarVision.Adventure run gamemode adventure @s
execute unless data storage skill: RadarVision.Adventure run gamemode survival @s

# 演出
function makeup:skill/act/hunter/radar_vision/return0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#> skill:act/hunter/radar_vision/return1
#
# AnywhereTeleport代替
tp @s ~ ~ ~ ~ ~
8 changes: 8 additions & 0 deletions data/skill/function/act/hunter/radar_vision/tick.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#> skill:act/hunter/radar_vision/tick
#
# レーダーヴィジョンtick
scoreboard players remove @s RadarVision 1
execute if score @s RadarVision matches 0 run function skill:act/hunter/radar_vision/return0

# 演出
function makeup:skill/act/hunter/radar_vision/tick
3 changes: 3 additions & 0 deletions data/skill/function/player_tick.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ execute if score @s HyokaRyoranTimer matches 0.. run function skill:act/ninja/hy
## 狩人
# ブラストスパーク
execute if entity @s[scores={BlastSpark=1..}] anchored eyes positioned ^ ^ ^-0.1 run function skill:act/hunter/blast_spark/tick

# レーダーヴィジョン
execute if entity @s[scores={RadarVision=1..}] run function skill:act/hunter/radar_vision/tick
Loading