Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 [mob284]レクシエルV2の作成 #1306

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Prev Previous commit
一部セレクターを修正
  • Loading branch information
Lapis-LJA committed Jan 12, 2023
commit 62815ef482488cab430c77c9a2a466b0df67c12e
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 11,8 @@
execute as @e[type=armor_stand,tag=7W.ModelBody,tag=7W.ModelChangeTarget,distance=..0.5,sort=nearest,limit=1] run tp @s ~ ~ ~ ~-80 ~

# 前方にいるプレイヤーにタグをつける
execute positioned ^ ^ ^1.5 run tag @a[gamemode=!spectator,gamemode=!creative,distance=..1.5] add 7W.SkillSwordDamageThis
execute positioned ^ ^ ^3 run tag @a[gamemode=!spectator,gamemode=!creative,distance=..1.5] add 7W.SkillSwordDamageThis
execute positioned ^ ^ ^1.5 run tag @a[tag=!PlayerShouldInvulnerable,distance=..1.5] add 7W.SkillSwordDamageThis
execute positioned ^ ^ ^3 run tag @a[tag=!PlayerShouldInvulnerable,distance=..1.5] add 7W.SkillSwordDamageThis

# 演出
execute positioned ~ ~1 ~ run particle sweep_attack ^ ^ ^1 0 0 0 1 2 normal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 10,8 @@
data modify entity @e[type=armor_stand,tag=7W.ModelChangeTarget,tag=7W.ModelBody,distance=..0.5,sort=nearest,limit=1] Pose.RightArm set value [187f,0f,288f]
execute as @e[type=armor_stand,tag=7W.ModelBody,tag=7W.ModelChangeTarget,distance=..0.5,sort=nearest,limit=1] run tp @s ~ ~ ~ ~60 ~
# 前方にいるプレイヤーにタグをつける
execute positioned ^ ^ ^1.5 run tag @a[gamemode=!spectator,gamemode=!creative,distance=..1.5] add 7W.SkillSwordDamageThis
execute positioned ^ ^ ^3 run tag @a[gamemode=!spectator,gamemode=!creative,distance=..1.5] add 7W.SkillSwordDamageThis
execute positioned ^ ^ ^1.5 run tag @a[tag=!PlayerShouldInvulnerable,distance=..1.5] add 7W.SkillSwordDamageThis
execute positioned ^ ^ ^3 run tag @a[tag=!PlayerShouldInvulnerable,distance=..1.5] add 7W.SkillSwordDamageThis

# 演出
execute positioned ~ ~1 ~ run particle sweep_attack ^ ^ ^1 0 0 0 1 2 normal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 21,7 @@
data modify storage lib: Argument.ElementType set value "Thunder"
# ダメージ
function lib:damage/modifier
execute as @a[gamemode=!creative,gamemode=!spectator,distance=..2] at @s run function lib:damage/
execute as @a[tag=!PlayerShouldInvulnerable,distance=..2] at @s run function lib:damage/
# リセット
function lib:damage/reset

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 20,7 @@
data modify storage lib: Argument.ElementType set value "Water"
# ダメージ
function lib:damage/modifier
execute as @a[gamemode=!creative,gamemode=!spectator,distance=..3] run function lib:damage/
execute as @a[tag=!PlayerShouldInvulnerable,distance=..3] run function lib:damage/
# リセット
function lib:damage/reset

Expand Down