Skip to content

Commit

Permalink
確率修正
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaCoat committed Aug 17, 2024
1 parent 4d3019c commit 13f5653
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
data modify storage asset:temp AV.Temp set value [60,62,63]
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=5..25] run data modify storage asset:temp AV.SKill append from storage asset:temp AV.Temp[]

# 上位スキル
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=..25] run data modify storage asset:temp AV.SKill append value 90
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=..25] run data modify storage asset:temp AV.SKill append value 100

# データが入ってない場合 -> 80 warp_slash
execute unless data storage asset:temp AV.SKill[0] run data modify storage asset:temp AV.SKill append value 80

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
data modify storage asset:temp AV.Temp set value [60,62,63]
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=5..25] run data modify storage asset:temp AV.SKill append from storage asset:temp AV.Temp[]

# 上位スキル
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=..25] run data modify storage asset:temp AV.SKill append value 90
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=..25] run data modify storage asset:temp AV.SKill append value 100

# データが入ってない場合 -> 80 warp_slash
execute unless data storage asset:temp AV.SKill[0] run data modify storage asset:temp AV.SKill append value 80

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
data modify storage asset:temp AV.Temp set value [60,62,63]
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=5..25] run data modify storage asset:temp AV.SKill append from storage asset:temp AV.Temp[]

# 上位スキル
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=..25] run data modify storage asset:temp AV.SKill append value 90
execute if entity @p[tag=!PlayerShouldInvulnerable,distance=..25] run data modify storage asset:temp AV.SKill append value 100

# データが入ってない場合 -> 80 warp_slash
execute unless data storage asset:temp AV.SKill[0] run data modify storage asset:temp AV.SKill append value 80

Expand Down

0 comments on commit 13f5653

Please sign in to comment.